You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.5 KiB

// 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 struct CopyLeaderboardDefinitionByLeaderboardIdOptions
{
/// <summary>
/// The ID of the leaderboard whose definition you want to copy from the cache
/// </summary>
public Utf8String LeaderboardId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyLeaderboardDefinitionByLeaderboardIdOptionsInternal : ISettable<CopyLeaderboardDefinitionByLeaderboardIdOptions>, 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);
}
}
}