Skip to main content
Class: SummerClientRankings · Inherits: RefCounted · Access: Summer.client.rankings This player’s Game-scoped ranking scores. Reads a ranking declared by the active Game through the authenticated Player Host. It works in standalone games before any matchmaking Session exists. The caller can read only their own score and standing; leaderboard rows contain display names, not account IDs. Each method returns a typed operation whose result may be awaited.

Methods

get_score

Reads this player’s current score, games and version on ranking. The ranking ID uses lower-case ASCII letters, digits and single separators (period, underscore or hyphen), up to 64 characters. Returns: SummerRankingOperation Returns at once. Wait for the result with var result: SummerResult = await op.get_result_or_completed_signal(); see SummerOperation.

leaderboard

Reads the top 50 rows, including players with zero games. The caller’s row has SummerLeaderboardEntry.you set when present. Returns: SummerRankingLeaderboardOperation Returns at once. Wait for the result with var result: SummerResult = await op.get_result_or_completed_signal(); see SummerOperation.

standing

Reads this player’s full rank and total player count. Rank is zero until the player’s first score is committed. Returns: SummerRankingStandingOperation Returns at once. Wait for the result with var result: SummerResult = await op.get_result_or_completed_signal(); see SummerOperation.
What is live on the platform today: platform capability status. Check availability at runtime before you offer a feature.