Table of Contents

Method GetRankAtScore

Namespace
Titipi.MocaLib

GetRankAtScore(string, string, int, Action<int>, Action<Exception>)

Returns the 1-based rank that a hypothetical score would achieve, computed by counting all players with a strictly higher score.

public static void GetRankAtScore(string leaderboardName, string scoreName, int score, Action<int> onSuccess, Action<Exception> onError = null)

Parameters

leaderboardName string
scoreName string
score int
onSuccess Action<int>
onError Action<Exception>