private void GooglePlayTBM_ActionMatchTurnFinished(GP_TBM_UpdateMatchResult obj)
 {
     Debug_previous_method_name();
     Common.DebugPopUp("ActionMatch turn finished called ", " starting to deal with data. Next will check if obj.Match exists");
     Common.DebugPopUp("Checking what obj.Match.MatchNumber is :" + obj.Match.MatchNumber.ToString());
     DealWithMatchData(obj.Match);
 }
 void ActionMatchUpdated(GP_TBM_UpdateMatchResult result)
 {
     // Match Date updated
     Debug_previous_method_name();
     unShowLoadingPopUp();
     AN_PoupsProxy.showMessage("ACTION match updated", "We got updated");
     DealWithMatchData(result.Match);
     //result.Match.Data
     // Common.roundInformation.gameData
 }
예제 #3
0
    void HandleActionTurnFinished(GP_TBM_UpdateMatchResult 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);
        }

        TurnEndedEvent(result);
    }
예제 #4
0
    private void OnTurnBasedMatchReceived(string data)
    {
        string[] DataArray = data.Split(AndroidNative.DATA_SPLITTER[0]);
        GP_TBM_UpdateMatchResult result = new GP_TBM_UpdateMatchResult("0");

        GP_TBM_Match match = ParceMatchInfo(DataArray, 0);

        UpdateMatchInfo(match);
        result.Match = match;

        ActionMatchUpdated(result);

        //ActionMatchReceived(new GP_TBM_MatchReceivedResult(ParceMatchInfo(data)));
    }
예제 #5
0
    private void OnUpdateMatchResult(string data)
    {
        string[] DataArray = data.Split(AndroidNative.DATA_SPLITTER[0]);

        GP_TBM_UpdateMatchResult result = new GP_TBM_UpdateMatchResult(DataArray[0]);

        if (DataArray.Length > 1)
        {
            GP_TBM_Match match = ParceMatchInfo(DataArray, 1);
            UpdateMatchInfo(match);
            result.Match = match;
        }

        ActionMatchUpdated(result);
    }
예제 #6
0
    private void AN_OnTurnResult(string data)
    {
        Debug.Log("AN_OnTurnResult");

        string[] DataArray = data.Split(AndroidNative.DATA_SPLITTER[0]);

        GP_TBM_UpdateMatchResult result = new GP_TBM_UpdateMatchResult(DataArray[0]);

        if (DataArray.Length > 1)
        {
            GP_TBM_Match match = ParceMatchInfo(DataArray, 1);
            UpdateMatchInfo(match);
            result.Match = match;
        }
        Debug.Log("ActionMatchTurnFinished fired");
        ActionMatchTurnFinished(result);
    }
예제 #7
0
	void ActionMatchUpdated (GP_TBM_UpdateMatchResult result) {
		// Match Date updated
	}
 void ActionMatchUpdated(GP_TBM_UpdateMatchResult result)
 {
     // Match Date updated
 }
 void ActionMatchUpdated(GP_TBM_UpdateMatchResult result)
 {
     Debug.Log("Action Match UPdated");
     AndroidMessage.Create("MatchUpdated", "GOT MATCH UPDATED");
     // Match Date updated
 }