Leaderboard Data
Introduction
using HeathenEngineering.SteamworksIntegration;public struct LeaderboardData : IEquatable<SteamLeaderboard_t>,
IEquatable<ulong>,
IEquatable<string>LeaderboardData fromNative = new SteamLeaderboard_t(123456789);
LeaderboardData fromPrimative = 123456789;LeaderboardData fromNative = LeaderboardData.Get(new SteamLeaderboard_t(123456789));
LeaderboardData fromPrimative = LeaderboardData.Get(123456789);LeaderboardData.Get("boardName", (result, ioError) => {
if(ioError)
Debug.Log($"IO Error encountered when searching for boardName");
else if (result.Valid)
Debug.Log($"We found the board and its ready to use");
else
Debug.Log("No error, but no such board found");
});Fields and Attributes
API Name
Id
Display Name
Valid
Entry Count
Methods
Get User Entry
Get Top Entries
Get All Entries
Get Entries
Get
Get or Create
Upload Score
Attach UGC
Last updated
