// 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 UpdateLobbyOptions
{
///
/// Builder handle
///
public LobbyModification LobbyModificationHandle { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct UpdateLobbyOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_LobbyModificationHandle;
public LobbyModification LobbyModificationHandle
{
set
{
Helper.Set(value, ref m_LobbyModificationHandle);
}
}
public void Set(ref UpdateLobbyOptions other)
{
m_ApiVersion = LobbyInterface.UpdatelobbyApiLatest;
LobbyModificationHandle = other.LobbyModificationHandle;
}
public void Set(ref UpdateLobbyOptions? other)
{
if (other.HasValue)
{
m_ApiVersion = LobbyInterface.UpdatelobbyApiLatest;
LobbyModificationHandle = other.Value.LobbyModificationHandle;
}
}
public void Dispose()
{
Helper.Dispose(ref m_LobbyModificationHandle);
}
}
}