public static GK_TBM_Match ParceMatchInfo(string[] MatchData, int index) { GK_TBM_Match mtach = new GK_TBM_Match(); mtach.Id = MatchData[index]; mtach.Status = (GK_TurnBasedMatchStatus) System.Convert.ToInt64(MatchData[index + 1]) ; mtach.Message = MatchData[index + 2]; mtach.CreationTimestamp = DateTime.Parse(MatchData[index + 3]); mtach.SetData(MatchData[index + 4]); string currentPlayerId = MatchData[index + 5]; mtach.Participants = GameCenterManager.ParseParticipantsData(MatchData, index + 6); foreach(GK_TBM_Participant participant in mtach.Participants) { participant.SetMatchId(mtach.Id); } mtach.CurrentParticipant = mtach.GetParticipantByPlayerId(currentPlayerId); return mtach; }