// 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 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(SessionModificationSetMaxPlayersOptions other) { if (other != null) { m_ApiVersion = SessionModification.SessionmodificationSetmaxplayersApiLatest; MaxPlayers = other.MaxPlayers; } } public void Set(object other) { Set(other as SessionModificationSetMaxPlayersOptions); } public void Dispose() { } } }