// 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 SessionDetailsCopySessionAttributeByKeyOptions { /// /// The name of the key to get the session attribution for /// /// public Utf8String AttrKey { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct SessionDetailsCopySessionAttributeByKeyOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_AttrKey; public Utf8String AttrKey { set { Helper.Set(value, ref m_AttrKey); } } public void Set(ref SessionDetailsCopySessionAttributeByKeyOptions other) { m_ApiVersion = SessionDetails.SessiondetailsCopysessionattributebykeyApiLatest; AttrKey = other.AttrKey; } public void Set(ref SessionDetailsCopySessionAttributeByKeyOptions? other) { if (other.HasValue) { m_ApiVersion = SessionDetails.SessiondetailsCopysessionattributebykeyApiLatest; AttrKey = other.Value.AttrKey; } } public void Dispose() { Helper.Dispose(ref m_AttrKey); } } }