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.

50 lines
1.4 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.SetPermissionLevel" /> function.
/// </summary>
public struct SessionModificationSetPermissionLevelOptions
{
/// <summary>
/// Permission level to set on the session
/// </summary>
public OnlineSessionPermissionLevel PermissionLevel { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct SessionModificationSetPermissionLevelOptionsInternal : ISettable<SessionModificationSetPermissionLevelOptions>, System.IDisposable
{
private int m_ApiVersion;
private OnlineSessionPermissionLevel m_PermissionLevel;
public OnlineSessionPermissionLevel PermissionLevel
{
set
{
m_PermissionLevel = value;
}
}
public void Set(ref SessionModificationSetPermissionLevelOptions other)
{
m_ApiVersion = SessionModification.SessionmodificationSetpermissionlevelApiLatest;
PermissionLevel = other.PermissionLevel;
}
public void Set(ref SessionModificationSetPermissionLevelOptions? other)
{
if (other.HasValue)
{
m_ApiVersion = SessionModification.SessionmodificationSetpermissionlevelApiLatest;
PermissionLevel = other.Value.PermissionLevel;
}
}
public void Dispose()
{
}
}
}