Class: Viveport.Leaderboard
public class Leaderboard { public int Rank { get; set; } public int Score { get; set; } public string UserName { get; set; } }
Parameter | Type | Description |
Rank | int | Rank on the leaderboard |
Score | int | Score as an int |
UserName | string | End user’s first name as appears in their profile |
This class is the return type of
GetLeaderboardScore()
, and multiple leaderboards are usually retrieved by index.