public void updateAchievementFailed(string json) { AGSClient.Log("AGSAchievementsClient - UpdateAchievementFailed"); AGSAchievementsClient.UpdateAchievementFailed(json); }
public void requestLocalPlayerScoreSucceeded(string json) { AGSClient.Log("AGSLeaderboardsClient - RequestLocalPlayerScoreSucceeded"); AGSLeaderboardsClient.RequestLocalPlayerScoreSucceeded(json); }
public void requestScoresFailed(string json) { AGSClient.Log("AGSLeaderboardsClient - RequestScoresFailed"); AGSLeaderboardsClient.RequestScoresFailed(json); }
public void localPlayerFriendRequestComplete(string json) { AGSClient.Log("AGSPlayerClient - LocalPlayerFriendsComplete"); AGSPlayerClient.LocalPlayerFriendsComplete(json); }
public void onSignedInStateChange(string isSignedIn) { AGSClient.Log("AGSPlayerClient - OnSignedInStateChanged"); AGSPlayerClient.OnSignedInStateChanged(bool.Parse(isSignedIn)); }
/// <summary> /// creates object from hashtable /// </summary> /// <returns> /// The hashtable. /// </returns> /// <param name='ht'> /// Ht. /// </param> public static AGSAchievement fromHashtable(Hashtable ht) { var achievement = new AGSAchievement(); achievement.title = getStringValue(ht, "title"); achievement.id = getStringValue(ht, "id"); achievement.decription = getStringValue(ht, "description"); try{ string str = getStringValue(ht, "pointValue"); achievement.pointValue = int.Parse(str); }catch (FormatException e) { AGSClient.Log("Unable to parse pointValue from achievement " + e.Message); }catch (ArgumentNullException e) { AGSClient.Log("pointValue not found " + e.Message); } try{ string str = getStringValue(ht, "position"); achievement.position = int.Parse(str); }catch (FormatException e) { AGSClient.Log("Unable to parse position from achievement " + e.Message); }catch (ArgumentNullException e) { AGSClient.Log("position not found " + e.Message); } try{ string str = getStringValue(ht, "progress"); achievement.progress = float.Parse(str); }catch (FormatException e) { AGSClient.Log("Unable to parse progress from achievement " + e.Message); }catch (ArgumentNullException e) { AGSClient.Log("progress not found " + e.Message); } try{ string str = getStringValue(ht, "hidden"); achievement.isHidden = bool.Parse(str); }catch (FormatException e) { AGSClient.Log("Unable to parse isHidden from achievement " + e.Message); }catch (ArgumentNullException e) { AGSClient.Log("isHidden not found " + e.Message); } try{ string str = getStringValue(ht, "unlocked"); achievement.isUnlocked = bool.Parse(str); }catch (FormatException e) { AGSClient.Log("Unable to parse isUnlocked from achievement " + e.Message); }catch (ArgumentNullException e) { AGSClient.Log("isUnlocked not found " + e.Message); } try{ string str = getStringValue(ht, "dateUnlocked"); long epochTimeMillis = long.Parse(str); achievement.dateUnlocked = getTimefromEpochTime(epochTimeMillis); }catch (FormatException e) { AGSClient.Log("Unable to parse dateUnlocked from achievement " + e.Message); }catch (ArgumentNullException e) { AGSClient.Log("dateUnlocked not found " + e.Message); } return(achievement); }
public void serviceNotReady(string param) { AGSClient.Log("AGSClient - ServiceNotReady"); AGSClient.ServiceNotReady(param); }
public void onDiskWriteComplete(string empty) { AGSClient.Log("AGSWhispersyncClient - OnDiskWriteComplete"); AGSWhispersyncClient.OnDiskWriteComplete(); }
public void onAlreadySynchronized(string empty) { AGSClient.Log("AGSWhispersyncClient - OnAlreadySynchronized"); AGSWhispersyncClient.OnAlreadySynchronized(); }
public void onDataUploadedToCloud(string empty) { AGSClient.Log("AGSWhispersyncClient - OnDataUploadedToCloud"); AGSWhispersyncClient.OnDataUploadedToCloud(); }
public void onThrottled(string empty) { AGSClient.Log("AGSWhispersyncClient - OnThrottled"); AGSWhispersyncClient.OnThrottled(); }
// ReSharper disable UnusedParameter.Global public void onNewCloudData(string empty) { AGSClient.Log("AGSWhispersyncClient - OnNewCloudData"); AGSWhispersyncClient.OnNewCloudData(); }
public void requestAchievementsForPlayerCompleted(string json) { AGSClient.Log("AGSAchievementsClient - RequestAchievementsForPlayerComplete"); AGSAchievementsClient.RequestAchievementsForPlayerComplete(json); }
public void requestAchievementsFailed(string json) { AGSClient.Log("AGSAchievementsClient - RequestAchievementsFailed"); AGSAchievementsClient.RequestAchievementsFailed(json); }
public void requestLeaderboardsSucceeded(string json) { AGSClient.Log("GameCircleManager - requestLeaderboardsSucceeded"); AGSLeaderboardsClient. RequestLeaderboardsSucceeded(json); }
public void onSyncFailed(string failReason) { AGSClient.Log("AGSWhispersyncClient - OnSyncFailed"); AGSWhispersyncClient.OnSyncFailed(failReason); }
public void requestLocalPlayerScoreFailed(string json) { AGSClient.Log("GameCircleManager - requestLocalPlayerScoreFailed"); AGSLeaderboardsClient. RequestLocalPlayerScoreFailed(json); }
public void requestPercentileRanksFailed(string json) { AGSClient.Log("GameCircleManager - requestPercentileRanksFailed"); AGSLeaderboardsClient.RequestPercentileRanksFailed(json); }
/* -------------------------------------------------------------------------------------- * Do NOT rename these functions, the correct naming convention for these is sampleName! * They are called by external code that depend on this specific naming! * -------------------------------------------------------------------------------------- */ public void serviceReady(string empty) { AGSClient.Log("AGSClient - ServiceReady"); firstInitializedFinished = true; AGSClient.ServiceReady(empty); }
public void updateAchievementFailed(string json) { AGSClient.Log("GameCircleManager - updateAchievementsFailed"); AGSAchievementsClient. UpdateAchievementFailed(json); }
public void playerFailed(string json) { AGSClient.Log("AGSPlayerClient - PlayerFailed"); AGSPlayerClient.PlayerFailed(json); }
public void requestAchievementsFailed(string json) { AGSClient.Log("GameCircleManager - requestAchievementsFailed"); AGSAchievementsClient. RequestAchievementsFailed(json); }
public void batchFriendsRequestComplete(string json) { AGSClient.Log("AGSPlayerClient - BatchFriendsRequestComplete"); AGSPlayerClient.BatchFriendsRequestComplete(json); }
public void playerFailed(string json) { AGSClient.Log("GameCircleManager - playerFailed"); AGSPlayerClient. PlayerFailed(json); }
public void submitScoreSucceeded(string json) { AGSClient.Log("AGSLeaderboardsClient - SubmitScoreSucceeded"); AGSLeaderboardsClient.SubmitScoreSucceeded(json); }
public void onSignedInStateChange(string isSignedIn) { AGSClient.Log("GameCircleManager - onSignedInStateChange"); AGSPlayerClient.OnSignedInStateChanged(Boolean.Parse(isSignedIn)); }
public void requestPlayerScoreCompleted(string json) { AGSClient.Log("AGSLeaderboardsClient - RequestScoreForPlayerComplete"); AGSLeaderboardsClient.RequestScoreForPlayerComplete(json); }
public void submitScoreSucceeded(string json) { AGSClient.Log("GameCircleManager - submitScoreSucceeded"); AGSLeaderboardsClient. SubmitScoreSucceeded(json); }
public void requestPercentileRanksFailed(string json) { AGSClient.Log("AGSLeaderboardsClient - RequestPercentileRanksFailed"); AGSLeaderboardsClient.RequestPercentileRanksFailed(json); }
public void requestPercentileRanksForPlayerSucceeded(string json) { AGSClient.Log("AGSLeaderboardsClient - RequestPercentileRanksForPlayerComplete"); AGSLeaderboardsClient.RequestPercentileRanksForPlayerComplete(json); }