public static void AcceptDuel(this mudclient mc, TradeAndDuelState state)
 {
     if (state == TradeAndDuelState.Confirm)
     {
         mc.duelConfirmOurAccepted = true;
         mc.streamClass.createPacket(87);
         mc.streamClass.formatPacket();
     }
 }
 public static void AcceptTrade(this mudclient mc, TradeAndDuelState state)
 {
     if (state == TradeAndDuelState.Initial)
     {
     }
     else
     {
     }
 }
 public static bool IsDuelWindowVisible(this mudclient mc, TradeAndDuelState state)
 {
     return(state == TradeAndDuelState.Initial ? mc.showDuelBox : mc.showDuelConfirmBox);
 }