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
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
Returns:
SummerRankingLeaderboardOperation
Returns at once. Wait for the result with var result: SummerResult = await op.get_result_or_completed_signal(); see SummerOperation.
set_score
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.

