// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Lobby
{
///
/// Input parameters for the function.
///
public struct LobbySearchSetTargetUserIdOptions
{
///
/// Search lobbies for given user by Product User ID, returning any lobbies where this user is currently registered
///
public ProductUserId TargetUserId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct LobbySearchSetTargetUserIdOptionsInternal : 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 LobbySearchSetTargetUserIdOptions other)
{
m_ApiVersion = LobbySearch.LobbysearchSettargetuseridApiLatest;
TargetUserId = other.TargetUserId;
}
public void Set(ref LobbySearchSetTargetUserIdOptions? other)
{
if (other.HasValue)
{
m_ApiVersion = LobbySearch.LobbysearchSettargetuseridApiLatest;
TargetUserId = other.Value.TargetUserId;
}
}
public void Dispose()
{
Helper.Dispose(ref m_TargetUserId);
}
}
}