quantum-space-buddies/EpicOnlineTransport/EOSSDK/Generated/Leaderboards/CopyLeaderboardDefinitionByLeaderboardIdOptions.cs
2022-02-05 18:06:25 -08:00

50 lines
1.4 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Leaderboards
{
/// <summary>
/// Input parameters for the <see cref="LeaderboardsInterface.CopyLeaderboardDefinitionByLeaderboardId" /> function.
/// </summary>
public class CopyLeaderboardDefinitionByLeaderboardIdOptions
{
/// <summary>
/// The ID of the leaderboard whose definition you want to copy from the cache
/// </summary>
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);
}
}
}