Skip to main content

LeaderboardManagerData.PlayerBestTimes

A class in Root.Township, the global namespace.

Saved best times for one player across leaderboards.

Constructors​

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

Fields​

MemberWhat it is
LeaderboardDefinitionData[] definitionsLeaderboards the player has a time on.
int identifierThe player's ID.
int[] timesBest time for each leaderboard, same order as definitions.

Methods​

MemberWhat it is
void Setup(KeyValuePair<int, LeaderboardManager.PlayerTracker> tracker)Fills the record from a player's tracker.

Used in​

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