// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Sessions { /// /// Input parameters for the function. /// public struct SessionSearchSetTargetUserIdOptions { /// /// The Product User ID to find; return any sessions where the user matching this ID is currently registered /// public ProductUserId TargetUserId { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct SessionSearchSetTargetUserIdOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_TargetUserId; public ProductUserId TargetUserId { set { Helper.Set(value, ref m_TargetUserId); } } public void Set(ref SessionSearchSetTargetUserIdOptions other) { m_ApiVersion = SessionSearch.SessionsearchSettargetuseridApiLatest; TargetUserId = other.TargetUserId; } public void Set(ref SessionSearchSetTargetUserIdOptions? other) { if (other.HasValue) { m_ApiVersion = SessionSearch.SessionsearchSettargetuseridApiLatest; TargetUserId = other.Value.TargetUserId; } } public void Dispose() { Helper.Dispose(ref m_TargetUserId); } } }