public void RequestScore(string leaderboardID, ScoreController.TimeScope timeScope, bool friendsOnly, int start, int end) { #if UNITY_IPHONE && API_SCORE_GAMECENTER if (Enabled) { GameCenterLeaderboardTimeScope convertedScope = GameCenterLeaderboardTimeScope.AllTime; switch (timeScope) { case ScoreController.TimeScope.Today: convertedScope = GameCenterLeaderboardTimeScope.Today; break; case ScoreController.TimeScope.Week: convertedScope = GameCenterLeaderboardTimeScope.Week; break; case ScoreController.TimeScope.AllTime: default: convertedScope = GameCenterLeaderboardTimeScope.AllTime; break; } GameCenterBinding.retrieveScores(friendsOnly, convertedScope, start, end, leaderboardID); } else { Login(); } #endif }
public void RequestScore(string leaderboardID, ScoreController.TimeScope timeScope, bool friendsOnly, int start, int end) { if (Wrapper != null) { Wrapper.RequestScore(leaderboardID, timeScope, friendsOnly, start, end); } }
public void RequestScore(string leaderboardID, ScoreController.TimeScope timeScope, bool friendsOnly, int start, int end) { }