// 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 class GetPermissionByKeyOptions { /// /// The Product User ID of the local user getting permissions /// public ProductUserId LocalUserId { get; set; } /// /// Permission name to query /// public string Key { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct GetPermissionByKeyOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_LocalUserId; private System.IntPtr m_Key; public ProductUserId LocalUserId { set { Helper.TryMarshalSet(ref m_LocalUserId, value); } } public string Key { set { Helper.TryMarshalSet(ref m_Key, value); } } public void Set(GetPermissionByKeyOptions other) { if (other != null) { m_ApiVersion = KWSInterface.GetpermissionbykeyApiLatest; LocalUserId = other.LocalUserId; Key = other.Key; } } public void Set(object other) { Set(other as GetPermissionByKeyOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_LocalUserId); Helper.TryMarshalDispose(ref m_Key); } } }