Beispiel #1
0
	void OnNtfChangeTurn(NtfChangeTurn ntf)
	{
		UpdateCurrentTurnUI(ntf.LocalId);

		bool isAppUser = appPlayerId == ntf.LocalId;

		SetUserInputActive(isAppUser);
	}
Beispiel #2
0
	void StartGame()
	{
		Debug.Log("<color=green>R: -------------------</color> \n");
		Debug.Log("<color=green>R: StartGame          </color> \n");

		NtfChangeTurn ntf = new NtfChangeTurn();
		ntf.LocalId = choState.indexInRoom;
		NotifyMessageToAllClients((byte)JgS2C_Msgs.kNtfChangeTurn, ntf);

//		ntf.LocalId = choState.indexInRoom;
//		SendMessageToClient(choState, (byte)JgS2C_MessageType.kNtfChangeTurn, ntf);
//		ntf.LocalId = hanState.indexInRoom;
//		SendMessageToClient(hanState, (byte)JgS2C_MessageType.kNtfChangeTurn, ntf);
	}
Beispiel #3
0
	void OnNtfChangeTurn(NtfChangeTurn ntf)
	{
		currentPlayerId = ntf.LocalId;
	}
Beispiel #4
0
	void OnNtfChangeTurn(NtfChangeTurn ntf)
	{
//		Debug.Log("VirtualPlayer.OnNtfChangeTurn \n" + ntf.ToString());

		OnTurnChanged(Jg.OpponentId(ntf.LocalId));
	}
Beispiel #5
0
	void OnNtfChangeTurn(NtfChangeTurn ntf)
	{
	}