// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Ecom
{
///
/// Input parameters for the function.
///
public struct CopyTransactionByIndexOptions
{
///
/// The Epic Account ID of the local user who is associated with the transaction
///
public EpicAccountId LocalUserId { get; set; }
///
/// The index of the transaction to get
///
public uint TransactionIndex { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyTransactionByIndexOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_LocalUserId;
private uint m_TransactionIndex;
public EpicAccountId LocalUserId
{
set
{
Helper.Set(value, ref m_LocalUserId);
}
}
public uint TransactionIndex
{
set
{
m_TransactionIndex = value;
}
}
public void Set(ref CopyTransactionByIndexOptions other)
{
m_ApiVersion = EcomInterface.CopytransactionbyindexApiLatest;
LocalUserId = other.LocalUserId;
TransactionIndex = other.TransactionIndex;
}
public void Set(ref CopyTransactionByIndexOptions? other)
{
if (other.HasValue)
{
m_ApiVersion = EcomInterface.CopytransactionbyindexApiLatest;
LocalUserId = other.Value.LocalUserId;
TransactionIndex = other.Value.TransactionIndex;
}
}
public void Dispose()
{
Helper.Dispose(ref m_LocalUserId);
}
}
}