Example #1
0
    private void OnRoomCreated(string data)
    {
        GP_GamesStatusCodes code = (GP_GamesStatusCodes)Convert.ToInt32(data);

        ActionRoomCreated(code);
        dispatch(ON_ROOM_CREATED, code);
    }
Example #2
0
    private void OnJoinedRoom(string data)
    {
        Debug.Log("[OnJoinedRoom] data " + data);
        GP_GamesStatusCodes code = (GP_GamesStatusCodes)Convert.ToInt32(data);

        ActionJoinedRoom(code);
    }
    private void HandleActionRoomCreated(GP_GamesStatusCodes status)
    {
        UM_RTM_RoomCreatedResult result = new UM_RTM_RoomCreatedResult(status);

        _CurrentRoom = new UM_RTM_Room(GooglePlayRTM.Instance.currentRoom);
        RoomCreated(result);
    }
Example #4
0
    private void OnJoinedRoom(string data)
    {
        GP_GamesStatusCodes code = (GP_GamesStatusCodes)Convert.ToInt32(data);

        ActionJoinedRoom(code);
        dispatch(ON_JOINED_ROOM, code);
    }
Example #5
0
    private void OnRoomCreated(string data)
    {
        Debug.Log("[OnRoomCreated] data " + data);
        GP_GamesStatusCodes code = (GP_GamesStatusCodes)Convert.ToInt32(data);

        ActionRoomCreated(code);
    }
Example #6
0
	private void SetCode(GP_GamesStatusCodes code) {
		_response = code;
		_message = _response.ToString ();
	}
Example #7
0
	//--------------------------------------
	// INITIALIZE
	//--------------------------------------

	public GooglePlayResult(GP_GamesStatusCodes code) {
		SetCode(code);
	}
Example #8
0
    private void OnRoomCreated(string data)
    {
        GP_GamesStatusCodes code = (GP_GamesStatusCodes)Convert.ToInt32(data);

        ActionRoomCreated(code);
    }
Example #9
0
    private void OnJoinedRoom(string data)
    {
        GP_GamesStatusCodes code = (GP_GamesStatusCodes)Convert.ToInt32(data);

        ActionJoinedRoom(code);
    }
	//--------------------------------------
	// INITIALIZE
	//--------------------------------------

	public GooglePlayResult(string code) {
		_response = (GP_GamesStatusCodes) System.Convert.ToInt32(code);
		_message = _response.ToString ();
	}
Example #11
0
	public GP_RTM_Result(string r_status, string r_roomId) {
		this._status = (GP_GamesStatusCodes)System.Convert.ToInt32(r_status);
		this._roomId = r_roomId;
	}
 public GP_RTM_Result(string r_status, string r_roomId)
 {
     this._status = (GP_GamesStatusCodes)System.Convert.ToInt32(r_status);
     this._roomId = r_roomId;
 }
Example #13
0
    //--------------------------------------
    // INITIALIZE
    //--------------------------------------

    public GooglePlayResult(string code)
    {
        _response = (GP_GamesStatusCodes)System.Convert.ToInt32(code);
        _message  = _response.ToString();
    }
Example #14
0
 private void SetCode(GP_GamesStatusCodes code)
 {
     _response = code;
     _message  = _response.ToString();
 }
Example #15
0
    //--------------------------------------
    // INITIALIZE
    //--------------------------------------

    public GooglePlayResult(GP_GamesStatusCodes code)
    {
        SetCode(code);
    }
Example #16
0
 private void OnRoomCreated(GP_GamesStatusCodes code)
 {
     SA_StatusBar.text = "Room Create Result:  " + code.ToString();
 }
	private void OnRoomCreated(GP_GamesStatusCodes code) {
		SA_StatusBar.text = "Room Create Result:  " + code.ToString();
	}
 public UM_RTM_RoomCreatedResult(GP_GamesStatusCodes status)
 {
     _IsSuccess = status == GP_GamesStatusCodes.STATUS_OK;
 }