// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Sessions { public struct UpdateSessionOptions { /// /// Builder handle /// public SessionModification SessionModificationHandle { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct UpdateSessionOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_SessionModificationHandle; public SessionModification SessionModificationHandle { set { Helper.Set(value, ref m_SessionModificationHandle); } } public void Set(ref UpdateSessionOptions other) { m_ApiVersion = SessionsInterface.UpdatesessionApiLatest; SessionModificationHandle = other.SessionModificationHandle; } public void Set(ref UpdateSessionOptions? other) { if (other.HasValue) { m_ApiVersion = SessionsInterface.UpdatesessionApiLatest; SessionModificationHandle = other.Value.SessionModificationHandle; } } public void Dispose() { Helper.Dispose(ref m_SessionModificationHandle); } } }