Compartir a través de


Event-based Stats & Leaderboards example code

This section provides example code for event-based Stats and Leaderboards.

In this section

Writing an event to power an event-based stat
Provides example code for writing an event to power an event-based stat.

Getting event-based stats
Provides example code for getting event-based stats.

Handling an event-based stat change
Provides example code for handling an event-based stat change.

Example code for event-based Leaderboards
Provides example code for basic leaderboard display, getting a specified page of results, skipping to a specified player in the leaderboard, and getting the next page of leaderboards.