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