// 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 class 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.TryMarshalSet(ref m_TargetUserId, value);
}
}
public void Set(SessionSearchSetTargetUserIdOptions other)
{
if (other != null)
{
m_ApiVersion = SessionSearch.SessionsearchSettargetuseridApiLatest;
TargetUserId = other.TargetUserId;
}
}
public void Set(object other)
{
Set(other as SessionSearchSetTargetUserIdOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_TargetUserId);
}
}
}