You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.2 KiB
49 lines
1.2 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.Sessions
|
|
{
|
|
/// <summary>
|
|
/// Input parameters for the <see cref="SessionModification.SetMaxPlayers" /> function.
|
|
/// </summary>
|
|
public class SessionModificationSetMaxPlayersOptions
|
|
{
|
|
/// <summary>
|
|
/// Max number of players to allow in the session
|
|
/// </summary>
|
|
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()
|
|
{
|
|
}
|
|
}
|
|
}
|