Event Leaderboards #
Read more about the Event Leaderboards system in Hiro here.
Initializing the event leaderboards system #
The event leaderboards system relies on the Nakama System which must be passed in as dependency via the constructor.
|
|
Subscribing to changes in the event leaderboards system #
You can listen for changes in the event leaderboards system so that you can respond appropriately, such as updating the UI, by implementing the appropriate interface.
|
|
Getting an individual event leaderboard #
You can get an individual event leaderboard, including it’s records and information on it’s rewards.
|
|
Submitting an event leaderboard score #
You can submit an event leaderboard score for the user.
|
|
Claiming rewards #
You can claim event leaderboard rewards for the user.
|
|
Re-rolling an event leaderboard #
You can re-roll the cohort the user is in for a specific event leaderboard. A re-roll would occur when a user has previously joined an event leaderboard and claimed their reward but would now like to re-join again for another chance at claiming a reward, or to play against a different set of opponents.
|
|