// 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 struct CopyLeaderboardDefinitionByLeaderboardIdOptions { /// /// The ID of the leaderboard whose definition you want to copy from the cache /// public Utf8String 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 Utf8String LeaderboardId { set { Helper.Set(value, ref m_LeaderboardId); } } public void Set(ref CopyLeaderboardDefinitionByLeaderboardIdOptions other) { m_ApiVersion = LeaderboardsInterface.CopyleaderboarddefinitionbyleaderboardidApiLatest; LeaderboardId = other.LeaderboardId; } public void Set(ref CopyLeaderboardDefinitionByLeaderboardIdOptions? other) { if (other.HasValue) { m_ApiVersion = LeaderboardsInterface.CopyleaderboarddefinitionbyleaderboardidApiLatest; LeaderboardId = other.Value.LeaderboardId; } } public void Dispose() { Helper.Dispose(ref m_LeaderboardId); } } }