// 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 SessionModificationSetMaxPlayersOptions { /// /// Max number of players to allow in the session /// public uint MaxPlayers { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct SessionModificationSetMaxPlayersOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private uint m_MaxPlayers; public uint MaxPlayers { set { m_MaxPlayers = value; } } public void Set(ref SessionModificationSetMaxPlayersOptions other) { m_ApiVersion = SessionModification.SessionmodificationSetmaxplayersApiLatest; MaxPlayers = other.MaxPlayers; } public void Set(ref SessionModificationSetMaxPlayersOptions? other) { if (other.HasValue) { m_ApiVersion = SessionModification.SessionmodificationSetmaxplayersApiLatest; MaxPlayers = other.Value.MaxPlayers; } } public void Dispose() { } } }