SC_RankingController

Instances of SC_RankingController are used to retrieve the rank for a given user or score.

The rank represents the position of a user or score on a particular leaderboard.

Basic Usage:

  1. Get an instance of SC_Client .

  2. Use the client instance to get an instance of SC_RankingController by calling SC_Client_CreateRankingController() .

  3. Set the searchlist for the SC_RankingController using the SC_RankingController_SetSearchList() method.

  4. Request the ranking from the server using one of:

  5. Await a successful server response via delegate callbacks.

  6. After a successful server response, access the requested rank by calling SC_RankingController_GetRanking() .

  7. If you wish to display the highest score associated with a user, you could call SC_RankingController_GetScore() , which would return the score object associated with the user.