// 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 DestroySessionOptions { /// /// Name of the session to destroy /// public string SessionName { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct DestroySessionOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_SessionName; public string SessionName { set { Helper.TryMarshalSet(ref m_SessionName, value); } } public void Set(DestroySessionOptions other) { if (other != null) { m_ApiVersion = SessionsInterface.DestroysessionApiLatest; SessionName = other.SessionName; } } public void Set(object other) { Set(other as DestroySessionOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_SessionName); } } }