// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.UserInfo { /// /// Input parameters for the function. /// public struct CopyExternalUserInfoByIndexOptions { /// /// The Epic Account ID of the local player requesting the information /// public EpicAccountId LocalUserId { get; set; } /// /// The Epic Account ID of the player whose information is being retrieved /// public EpicAccountId TargetUserId { get; set; } /// /// Index of the external user info to retrieve from the cache /// public uint Index { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct CopyExternalUserInfoByIndexOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_LocalUserId; private System.IntPtr m_TargetUserId; private uint m_Index; public EpicAccountId LocalUserId { set { Helper.Set(value, ref m_LocalUserId); } } public EpicAccountId TargetUserId { set { Helper.Set(value, ref m_TargetUserId); } } public uint Index { set { m_Index = value; } } public void Set(ref CopyExternalUserInfoByIndexOptions other) { m_ApiVersion = UserInfoInterface.CopyexternaluserinfobyindexApiLatest; LocalUserId = other.LocalUserId; TargetUserId = other.TargetUserId; Index = other.Index; } public void Set(ref CopyExternalUserInfoByIndexOptions? other) { if (other.HasValue) { m_ApiVersion = UserInfoInterface.CopyexternaluserinfobyindexApiLatest; LocalUserId = other.Value.LocalUserId; TargetUserId = other.Value.TargetUserId; Index = other.Value.Index; } } public void Dispose() { Helper.Dispose(ref m_LocalUserId); Helper.Dispose(ref m_TargetUserId); } } }