// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Connect { /// /// Input parameters for the function. /// public struct GetProductUserIdMappingOptions { /// /// The Product User ID of the existing, logged-in user that is querying account mappings. /// public ProductUserId LocalUserId { get; set; } /// /// External auth service mapping to retrieve. /// public ExternalAccountType AccountIdType { get; set; } /// /// The Product User ID of the user whose information is being requested. /// public ProductUserId TargetProductUserId { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct GetProductUserIdMappingOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_LocalUserId; private ExternalAccountType m_AccountIdType; private System.IntPtr m_TargetProductUserId; public ProductUserId LocalUserId { set { Helper.Set(value, ref m_LocalUserId); } } public ExternalAccountType AccountIdType { set { m_AccountIdType = value; } } public ProductUserId TargetProductUserId { set { Helper.Set(value, ref m_TargetProductUserId); } } public void Set(ref GetProductUserIdMappingOptions other) { m_ApiVersion = ConnectInterface.GetproductuseridmappingApiLatest; LocalUserId = other.LocalUserId; AccountIdType = other.AccountIdType; TargetProductUserId = other.TargetProductUserId; } public void Set(ref GetProductUserIdMappingOptions? other) { if (other.HasValue) { m_ApiVersion = ConnectInterface.GetproductuseridmappingApiLatest; LocalUserId = other.Value.LocalUserId; AccountIdType = other.Value.AccountIdType; TargetProductUserId = other.Value.TargetProductUserId; } } public void Dispose() { Helper.Dispose(ref m_LocalUserId); Helper.Dispose(ref m_TargetProductUserId); } } }