Skip to main content
Class: SummerAuthorityRankings · Inherits: RefCounted · Access: Summer.authority.rankings Trusted reads and versioned writes for Game-scoped rankings. The current World authority can read and compare-and-set a score by stable player ID without a matchmaking Session. A write uses the version returned by get_score(). On a version conflict, read and recompute. After a transport failure, read to determine whether the write committed before making another decision. Game code never handles the Supervisor credential.

Methods

get_score

Reads one player’s score. The operation carries SummerRankingOperation.rating with value, games and version. 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 ranking’s public top 50 rows. No row is marked as the authority’s player. Returns: SummerRankingLeaderboardOperation Returns at once. Wait for the result with var result: SummerResult = await op.get_result_or_completed_signal(); see SummerOperation.

set_score

Compares expected_version and sets the absolute value and games atomically. A missing score has version zero. Values are bounded to ±1000000000000, games to 2147483647, and versions to safe integers. The expected version must be below 9007199254740991 so the next version remains representable. The Engine does not automatically retry a write. Returns: SummerRankingOperation 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.