//-------------------------------------- // PUBLIC METHODS //-------------------------------------- public void LoadEvents() { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSQuestsEventsProxy.loadEvents(); }
public void ResetAllAchievements() { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.ResetAllAchievements(); }
public void AcceptQuest(string id) { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSQuestsEventsProxy.acceptQuest(id); }
public void UnlockAchievementById(string achievementId) { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.reportAchievementById(achievementId); }
public void SetStepsImmediate(string achievementId, int numsteps) { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.setStepsImmediate(achievementId, numsteps.ToString()); }
public void ShowLeaderBoardById(string leaderboardId) { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.showLeaderBoardById(leaderboardId); }
public void LoadLeaderBoards() { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.loadLeaderBoards(); }
public void incrementAchievementById(string achievementId, int numsteps) { if (!GooglePlayConnection.CheckState()) { return; } AndroidNative.incrementAchievementById(achievementId, numsteps.ToString()); }
//-------------------------------------- // PUBLIC API CALL METHODS //-------------------------------------- public void showAchivmentsUI() { if (!GooglePlayConnection.CheckState()) { return; } AndroidNative.showAchivmentsUI(); }
public void reportAchievement(string achievementName) { if (!GooglePlayConnection.CheckState()) { return; } AndroidNative.reportAchievement(achievementName); }
public void revealAchievementById(string achievementId) { if (!GooglePlayConnection.CheckState()) { return; } AndroidNative.revealAchievementById(achievementId); }
public void loadLeaderBoards() { if (!GooglePlayConnection.CheckState()) { return; } AndroidNative.loadLeaderBoards(); }
public void UpdatePlayerScore(string leaderboardId, GPBoardTimeSpan span, GPCollectionType collection) { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.UpdatePlayerScore(leaderboardId, (int)span, (int)collection); }
public void SumbitEvent(string eventId, int count) { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSQuestsEventsProxy.sumbitEvent(eventId, count); }
public void ShowAchievementsUI() { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.showAchievementsUI(); }
public void showLeaderBoardsUI() { if (!GooglePlayConnection.CheckState()) { return; } AndroidNative.showLeaderBoardsUI(); }
public void ShowLeaderBoardsUI() { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.showLeaderBoardsUI(); }
public void showLeaderBoardsUI(string leaderboardId) { if (!GooglePlayConnection.CheckState()) { return; } AndroidNative.showLeaderBoardById(leaderboardId); }
public void SubmitScoreById(string leaderboardId, long score) { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.submitScoreById(leaderboardId, score); }
public void loadPlayer() { if (!GooglePlayConnection.CheckState()) { return; } AndroidNative.loadPlayer(); }
public void LoadTopScores(string leaderboardId, GPBoardTimeSpan span, GPCollectionType collection, int maxResults) { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.loadTopScores(leaderboardId, (int)span, (int)collection, maxResults); }
public void submitScore(string leaderboardName, int score) { if (!GooglePlayConnection.CheckState()) { return; } AndroidNative.submitScore(leaderboardName, score); }
public void IncrementAchievementById(string achievementId, int numsteps) { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.incrementAchievementById(achievementId, numsteps.ToString()); }
public void LoadFriends() { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.loadConnectedPlayers(); }
public void ResetAchievement(string achievementId) { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.resetAchievement(achievementId); }
public void revealAchievement(string achievementName) { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.revealAchievement(achievementName); }
//-------------------------------------- // PUBLIC API CALL METHODS //-------------------------------------- public void ShowSavedGamesUI(string title, int maxNumberOfSavedGamesToShow) { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.ShowSavedGamesUI_Bridge(title, maxNumberOfSavedGamesToShow); }
public void ShowRequestsAccepDialog() { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGiftsProxy.showRequestAccepDialog(); }
//-------------------------------------- // PUBLIC API CALL METHODS //-------------------------------------- public void ShowSavedGamesUI(string title, int maxNumberOfSavedGamesToShow, bool allowAddButton = true, bool allowDelete = true) { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.ShowSavedGamesUI_Bridge(title, maxNumberOfSavedGamesToShow, allowAddButton, allowDelete); }
public void clearDefaultAccount() { if (!GooglePlayConnection.CheckState()) { return; } AN_GMSGeneralProxy.clearDefaultAccount(); GooglePlayConnection.instance.disconnect(); }