void scoresForPlayerIdLoaded(GameCenterRetrieveScoresResult retrieveScoresResult) { Debug.Log("scoresForPlayerIdLoadedEvent"); Prime31.Utils.logObject(retrieveScoresResult); }
private static void OnPlayerScoreLoaded(GameCenterRetrieveScoresResult result) { playerScore = result.scores[0].value; isSearchingPlayerScore = false; }
private static void OnPlayerFriendsScoresLoaded(GameCenterRetrieveScoresResult result) { Debug.Log(string.Format("Did recieved OnPlayerFriendsScoresLoaded. Total results: {0}: \n" + "alias: {1}; \n" + "id: {2}; \n" + "rank: {3} \n" + "maxRange: {4}", result.scores.Count, result.scores[0].alias, result.scores[0].playerId, result.scores[0].rank, result.scores[0].maxRange)); playerFriendsPosition = result.scores[0].rank; playerFriendsMaxRange = result.scores[0].maxRange; isSearchingPlayerFriendsPosition = false; }
void scoresForPlayerIdsLoaded( GameCenterRetrieveScoresResult retrieveScoresResult ) { Debug.Log( "scoresForPlayerIdsLoadedEvent" ); Prime31.Utils.logObject( retrieveScoresResult ); }