void OnNtfChangeTurn(NtfChangeTurn ntf) { UpdateCurrentTurnUI(ntf.LocalId); bool isAppUser = appPlayerId == ntf.LocalId; SetUserInputActive(isAppUser); }
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); }
void OnNtfChangeTurn(NtfChangeTurn ntf) { currentPlayerId = ntf.LocalId; }
void OnNtfChangeTurn(NtfChangeTurn ntf) { // Debug.Log("VirtualPlayer.OnNtfChangeTurn \n" + ntf.ToString()); OnTurnChanged(Jg.OpponentId(ntf.LocalId)); }
void OnNtfChangeTurn(NtfChangeTurn ntf) { }