private void ActionMatchDataLoadedFunction(GP_TBM_LoadMatchResult result) { Debug_previous_method_name(); AndroidMessage.Create("Loaded match data ", "loaad "); foreach (GP_Participant part in result.Match.Participants) { // AndroidMessage.Create("Participant", "Participant info " + part.DisplayName + " +" + part.IconImageUrl + " id " + part.id + " pid " + part.playerId); } GP_TBM_Match match = result.Match; DealWithMatchData(match); }
void HandleActionMatchDataLoaded(GP_TBM_LoadMatchResult res) { UM_TBM_MatchResult result = new UM_TBM_MatchResult(res); if (res.Match != null) { UM_TBM_Match match = new UM_TBM_Match(res.Match); result.SetMatch(match); UpdateMatchData(match); } MatchLoadedEvent(result); }
private void OnLoadMatchResult(string data) { string[] DataArray = data.Split(AndroidNative.DATA_SPLITTER[0]); GP_TBM_LoadMatchResult result = new GP_TBM_LoadMatchResult(DataArray[0]); if (DataArray.Length > 1) { GP_TBM_Match match = ParceMatchInfo(DataArray, 1); UpdateMatchInfo(match); result.Match = match; } ActionMatchDataLoaded(result); }