// 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 class CopyEntitlementByIndexOptions { /// /// The Epic Online Services Account ID of the local user whose entitlement is being copied /// public EpicAccountId LocalUserId { get; set; } /// /// Index of the entitlement to retrieve from the cache /// public uint EntitlementIndex { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct CopyEntitlementByIndexOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_LocalUserId; private uint m_EntitlementIndex; public EpicAccountId LocalUserId { set { Helper.TryMarshalSet(ref m_LocalUserId, value); } } public uint EntitlementIndex { set { m_EntitlementIndex = value; } } public void Set(CopyEntitlementByIndexOptions other) { if (other != null) { m_ApiVersion = EcomInterface.CopyentitlementbyindexApiLatest; LocalUserId = other.LocalUserId; EntitlementIndex = other.EntitlementIndex; } } public void Set(object other) { Set(other as CopyEntitlementByIndexOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_LocalUserId); } } }