You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.9 KiB
67 lines
1.9 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.Connect
|
|
{
|
|
/// <summary>
|
|
/// Input parameters for the <see cref="ConnectInterface.CopyProductUserExternalAccountByIndex" /> function.
|
|
/// </summary>
|
|
public struct CopyProductUserExternalAccountByIndexOptions
|
|
{
|
|
/// <summary>
|
|
/// The Product User ID to look for when copying external account info from the cache.
|
|
/// </summary>
|
|
public ProductUserId TargetUserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Index of the external account info to retrieve from the cache.
|
|
/// </summary>
|
|
public uint ExternalAccountInfoIndex { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct CopyProductUserExternalAccountByIndexOptionsInternal : ISettable<CopyProductUserExternalAccountByIndexOptions>, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private System.IntPtr m_TargetUserId;
|
|
private uint m_ExternalAccountInfoIndex;
|
|
|
|
public ProductUserId TargetUserId
|
|
{
|
|
set
|
|
{
|
|
Helper.Set(value, ref m_TargetUserId);
|
|
}
|
|
}
|
|
|
|
public uint ExternalAccountInfoIndex
|
|
{
|
|
set
|
|
{
|
|
m_ExternalAccountInfoIndex = value;
|
|
}
|
|
}
|
|
|
|
public void Set(ref CopyProductUserExternalAccountByIndexOptions other)
|
|
{
|
|
m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyindexApiLatest;
|
|
TargetUserId = other.TargetUserId;
|
|
ExternalAccountInfoIndex = other.ExternalAccountInfoIndex;
|
|
}
|
|
|
|
public void Set(ref CopyProductUserExternalAccountByIndexOptions? other)
|
|
{
|
|
if (other.HasValue)
|
|
{
|
|
m_ApiVersion = ConnectInterface.CopyproductuserexternalaccountbyindexApiLatest;
|
|
TargetUserId = other.Value.TargetUserId;
|
|
ExternalAccountInfoIndex = other.Value.ExternalAccountInfoIndex;
|
|
}
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.Dispose(ref m_TargetUserId);
|
|
}
|
|
}
|
|
}
|