// 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 class CopyProductUserExternalAccountByIndexOptions
{
///
/// The Product User ID to look for when copying external account info from the cache.
///
public ProductUserId TargetUserId { get; set; }
///
/// Index of the external account info to retrieve from the cache.
///
public uint ExternalAccountInfoIndex { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyProductUserExternalAccountByIndexOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_TargetUserId;
private uint m_ExternalAccountInfoIndex;
public ProductUserId TargetUserId
{
set
{
Helper.TryMarshalSet(ref m_TargetUserId, value);
}
}
public uint ExternalAccountInfoIndex
{
set
{
m_ExternalAccountInfoIndex = value;
}
}
public void Set(CopyProductUserExternalAccountByIndexOptions other)
{
if (other != null)
{
m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyindexApiLatest;
TargetUserId = other.TargetUserId;
ExternalAccountInfoIndex = other.ExternalAccountInfoIndex;
}
}
public void Set(object other)
{
Set(other as CopyProductUserExternalAccountByIndexOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_TargetUserId);
}
}
}