Skip to main content

LeaderboardManagerData.LeaderboardEntry

A class in Root.Township, the global namespace.

Saved ranking for one leaderboard: player IDs and times in rank order.

Constructors​

MemberWhat it is
LeaderboardEntry()Creates a LeaderboardManagerData.LeaderboardEntry with default values.

Fields​

MemberWhat it is
LeaderboardDefinitionData definitionWhich leaderboard this is.
int[] playersPlayer IDs in rank order.
int[] timesEach player's time, same order as players.

Methods​

MemberWhat it is
void Setup(KeyValuePair<LeaderboardDefinitionData, List<LeaderboardManager.RankedPlayer>> pair)Fills the entry from a leaderboard and its ranked players.

Used in​

Members of other types that take, return or hold a LeaderboardEntry: