// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.KWS { /// /// Input parameters for the function. /// public struct CopyPermissionByIndexOptions { /// /// The Product User ID of the local user whose permissions are being accessed /// public ProductUserId LocalUserId { get; set; } /// /// The index of the permission to get. /// public uint Index { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct CopyPermissionByIndexOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_LocalUserId; private uint m_Index; public ProductUserId LocalUserId { set { Helper.Set(value, ref m_LocalUserId); } } public uint Index { set { m_Index = value; } } public void Set(ref CopyPermissionByIndexOptions other) { m_ApiVersion = KWSInterface.CopypermissionbyindexApiLatest; LocalUserId = other.LocalUserId; Index = other.Index; } public void Set(ref CopyPermissionByIndexOptions? other) { if (other.HasValue) { m_ApiVersion = KWSInterface.CopypermissionbyindexApiLatest; LocalUserId = other.Value.LocalUserId; Index = other.Value.Index; } } public void Dispose() { Helper.Dispose(ref m_LocalUserId); } } }