public static string GetUserScore(string gameAbbreviation, ulong soughtID, string name = "ITER", string humanName = "", short fortnight = -1, bool local = false) { string key = name + "-" + gameAbbreviation; //ITER-UNO example SavedLeaderboard lb = SaveFiles_Mapped.CreateLeaderboardObject(key, fortnight); string result = lb.GetHumanReadableScore(soughtID, humanName, local); return(result); }
public static string GetLeaderboard(string gameAbbreviation, string name = "ITER", string humanName = "", short fortnight = -1, short startIndex = 0, byte noOfEntries = 10, ulong teamspecific = 0) { string key = name + "-" + gameAbbreviation; //ITER-UNO example SavedLeaderboard lb = SaveFiles_Mapped.CreateLeaderboardObject(key, fortnight, teamspecific); string result = lb.MakeHumanReadable(humanName, startIndex, noOfEntries); return(result); }