// 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 CopyEntitlementByIndexOptions { /// /// The Epic 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.Set(value, ref m_LocalUserId); } } public uint EntitlementIndex { set { m_EntitlementIndex = value; } } public void Set(ref CopyEntitlementByIndexOptions other) { m_ApiVersion = EcomInterface.CopyentitlementbyindexApiLatest; LocalUserId = other.LocalUserId; EntitlementIndex = other.EntitlementIndex; } public void Set(ref CopyEntitlementByIndexOptions? other) { if (other.HasValue) { m_ApiVersion = EcomInterface.CopyentitlementbyindexApiLatest; LocalUserId = other.Value.LocalUserId; EntitlementIndex = other.Value.EntitlementIndex; } } public void Dispose() { Helper.Dispose(ref m_LocalUserId); } } }