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.

65 lines
1.4 KiB

// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Ecom
{
/// <summary>
/// Input parameters for the <see cref="EcomInterface.CopyOfferByIndex" /> function.
/// </summary>
public class CopyOfferByIndexOptions
{
/// <summary>
/// The Epic Online Services Account ID of the local user whose offer is being copied
/// </summary>
public EpicAccountId LocalUserId { get; set; }
/// <summary>
/// The index of the offer to get.
/// </summary>
public uint OfferIndex { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyOfferByIndexOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_LocalUserId;
private uint m_OfferIndex;
public EpicAccountId LocalUserId
{
set
{
Helper.TryMarshalSet(ref m_LocalUserId, value);
}
}
public uint OfferIndex
{
set
{
m_OfferIndex = value;
}
}
public void Set(CopyOfferByIndexOptions other)
{
if (other != null)
{
m_ApiVersion = EcomInterface.CopyofferbyindexApiLatest;
LocalUserId = other.LocalUserId;
OfferIndex = other.OfferIndex;
}
}
public void Set(object other)
{
Set(other as CopyOfferByIndexOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_LocalUserId);
}
}
}