// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Leaderboards { /// /// Input parameters for the function. /// public class CopyLeaderboardDefinitionByLeaderboardIdOptions { /// /// The ID of the leaderboard whose definition you want to copy from the cache /// public string LeaderboardId { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct CopyLeaderboardDefinitionByLeaderboardIdOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_LeaderboardId; public string LeaderboardId { set { Helper.TryMarshalSet(ref m_LeaderboardId, value); } } public void Set(CopyLeaderboardDefinitionByLeaderboardIdOptions other) { if (other != null) { m_ApiVersion = LeaderboardsInterface.CopyleaderboarddefinitionbyleaderboardidApiLatest; LeaderboardId = other.LeaderboardId; } } public void Set(object other) { Set(other as CopyLeaderboardDefinitionByLeaderboardIdOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_LeaderboardId); } } }