private void ReceivedPickedTurnOrder(int connectionID, LobbyPickedTurnOrderMessage picked)
 {
     if (info.IsHost(connectionID))
     {
         pickedTurnOrder = picked.choice;
     }
     if (info.IsConnected(connectionID))
     {
         NetworkTracker.ServerSendLobbyPickedTurnOrder(info.OtherConnectionID(connectionID), picked);
     }
 }
Beispiel #2
0
 private void OnActionReceived(int connectionID, BoardActionMessage msg)
 {
     if (info.IsConnected(connectionID))
     {
         NetworkTracker.ServerSendBoardAction(info.OtherConnectionID(connectionID), msg);
     }
 }