Esempio n. 1
0
 public bool SetMasterState(byte slot, PlayerColor color, byte team, bool ready)
 {
     try
     {
         channel.SetMasterState(slot, color, team, ready);
         return(true);
     }
     catch (FaultException <AntMeFault> fault)
     {
         throw new ArgumentException(fault.Detail.Description);
     }
     catch (Exception ex)
     {
         CloseByError(ex);
         throw;
     }
 }