void ActionMatchDataUpdated(GK_TBM_MatchDataUpdateResult res) { GameCenter_TBM.ActionMatchDataUpdated -= ActionMatchDataUpdated; Debug.Log("ActionMatchDataUpdated: " + res.IsSucceeded); if (res.IsFailed) { Debug.Log(res.Error.Description); } else { GameCenter_TBM.PrintMatchInfo(res.Match); } }
void ActionMatchDataUpdated(GK_TBM_MatchDataUpdateResult res) { GameCenter_TBM.ActionMatchDataUpdated -= ActionMatchDataUpdated; ISN_Logger.Log("ActionMatchDataUpdated: " + res.IsSucceeded); if (res.IsFailed) { ISN_Logger.Log(res.Error.Message); } else { GameCenter_TBM.PrintMatchInfo(res.Match); } }
public void SetOutcome(GK_TurnBasedMatchOutcome outcome) { if (Player == null) { return; } _MatchOutcome = outcome; #if (UNITY_IPHONE && !UNITY_EDITOR) || SA_DEBUG_MODE GameCenter_TBM._ISN_TBM_UpdateParticipantOutcome(MatchId, (int)_MatchOutcome, _PlayerId); #endif }
void ActionMatchFound(GK_TBM_MatchInitResult result) { GameCenter_TBM.ActionMatchFound -= ActionMatchFound; ISN_Logger.Log("ActionMatchFound IsSucceeded: " + result.IsSucceeded); if (result.IsFailed) { ISN_Logger.Log(result.Error.Message); } else { GameCenter_TBM.PrintMatchInfo(result.Match); } }
void ActionMatchFound(GK_TBM_MatchInitResult result) { GameCenter_TBM.ActionMatchFound -= ActionMatchFound; Debug.Log("ActionMatchFound IsSucceeded: " + result.IsSucceeded); if (result.IsFailed) { Debug.Log(result.Error.Description); } else { GameCenter_TBM.PrintMatchInfo(result.Match); } }
void ActionTrunEnded(GK_TBM_EndTrunResult result) { GameCenter_TBM.ActionTrunEnded -= ActionTrunEnded; Debug.Log("ActionTrunEnded IsSucceeded: " + result.IsSucceeded); if (result.IsFailed) { Debug.Log(result.Error.Description); } else { GameCenter_TBM.PrintMatchInfo(result.Match); } }
void ActionMacthEnded(GK_TBM_MatchEndResult result) { GameCenter_TBM.ActionMacthEnded -= ActionMacthEnded; Debug.Log("ActionMacthEnded IsSucceeded: " + result.IsSucceeded); if (result.IsFailed) { Debug.Log(result.error.description); } else { GameCenter_TBM.PrintMatchInfo(result.Match); } }
void ActionTrunEnded(GK_TBM_EndTrunResult result) { GameCenter_TBM.ActionTrunEnded -= ActionTrunEnded; ISN_Logger.Log("ActionTrunEnded IsSucceeded: " + result.IsSucceeded); if (result.IsFailed) { IOSMessage.Create("ActionTrunEnded", result.Error.Message); ISN_Logger.Log(result.Error.Message); } else { GameCenter_TBM.PrintMatchInfo(result.Match); } }
public void ActionMatchesResultLoaded(GK_TBM_LoadMatchesResult res) { GameCenter_TBM.ActionMatchesInfoLoaded -= ActionMatchesResultLoaded; ISN_Logger.Log("ActionMatchesResultLoaded: " + res.IsSucceeded); if (res.IsFailed) { return; } if (res.LoadedMatches.Count == 0) { return; } foreach (KeyValuePair <string, GK_TBM_Match> pair in res.LoadedMatches) { GK_TBM_Match m = pair.Value; GameCenter_TBM.PrintMatchInfo(m); } }