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