Leaderboard

Overview

The Leaderboard abstraction unifies the functionality of leaderboard statistics across different platforms to provide a more consistent experience. This allow retrieving and updating leaderboards, as well as sorting the results.

Some platforms will vary in terms of how to track data on a leaderboard, and will therefore have different options for setting it up. As always, it is recommended to read the documentation associated with each of the platforms you intend to publish your game on.

Leaderboard Service Functions

GetLeaderboardData

Retrieves leaderboard information as requested.

Listen for the OnLeaderboardEntryDownloaded event after the request.
Platform(s)Steam
APICry::GamePlatform::ILeaderboards::GetLeaderboardData
Flow Graph NodesGamePlatform:Leaderboard:GetData
Schematyc NodesFunction::GamePlatform::Leaderboards::Accounts::GetLeaderboardData

UpdateLeaderboardScore

Updates leaderboard data for the local user.

Platform(s)Steam
APICry::GamePlatform::ILeaderboards::UpdateLeaderboardScore
Flow Graph NodesGamePlatform:Leaderboard:UpdateScore
Schematyc NodesFunction::GamePlatform::Leaderboards::Accounts::UpdateLeaderboardScore

Leaderboard Service Events

OnLeaderboardEntryDownloaded

Fired when a leaderboard entry has been received via a GetLeaderboardData request.

Platform(s)Steam
APICry::GamePlatform::ILeaderboards::IListener::OnLeaderboardEntryDownloaded
Flow Graph NodesGamePlatform:Listener:Leaderboard:OnLeaderboardEntryDownloaded
Schematyc NodesSignal::Receive::[EntityName]::Accounts::PlatformSignalReceiver::Leaderboard::OnLeaderboardEntryDownloaded