// 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 SessionModificationSetPermissionLevelOptions { /// /// Permission level to set on the session /// public OnlineSessionPermissionLevel PermissionLevel { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct SessionModificationSetPermissionLevelOptionsInternal : ISettable, 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() { } } }