// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Lobby { /// /// Input parameters for the function. /// public class LobbyDetailsCopyMemberAttributeByIndexOptions { /// /// The Product User ID of the lobby member /// public ProductUserId TargetUserId { get; set; } /// /// The index of the attribute to copy /// public uint AttrIndex { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct LobbyDetailsCopyMemberAttributeByIndexOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_TargetUserId; private uint m_AttrIndex; public ProductUserId TargetUserId { set { Helper.TryMarshalSet(ref m_TargetUserId, value); } } public uint AttrIndex { set { m_AttrIndex = value; } } public void Set(LobbyDetailsCopyMemberAttributeByIndexOptions other) { if (other != null) { m_ApiVersion = LobbyDetails.LobbydetailsCopymemberattributebyindexApiLatest; TargetUserId = other.TargetUserId; AttrIndex = other.AttrIndex; } } public void Set(object other) { Set(other as LobbyDetailsCopyMemberAttributeByIndexOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_TargetUserId); } } }