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

		bool isAppUser = appPlayerId == ntf.LocalId;

		SetUserInputActive(isAppUser);
	}
示例#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);
	}
示例#3
0
	void OnNtfChangeTurn(NtfChangeTurn ntf)
	{
		currentPlayerId = ntf.LocalId;
	}
示例#4
0
	void OnNtfChangeTurn(NtfChangeTurn ntf)
	{
//		Debug.Log("VirtualPlayer.OnNtfChangeTurn \n" + ntf.ToString());

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