public BotClient()
 {
     AccountManager         = new AccountManager("Accounts");
     PokemonEvolver         = new PokemonEvolver(this);
     MoveTeacher            = new MoveTeacher(this);
     StaffAvoider           = new StaffAvoider(this);
     AutoReconnector        = new AutoReconnector(this);
     IsTrainerBattlesActive = new IsTrainerBattlesActive(this);
     MovementResynchronizer = new MovementResynchronizer(this);
     Rand              = new Random();
     SliderOptions     = new Dictionary <int, OptionSlider>();
     TextOptions       = new Dictionary <int, TextOption>();
     countGMTele       = 0;
     CallingPaueScript = false;
 }
예제 #2
0
 public BotClient(string xmlFile = "")
 {
     PokemonEvolver         = new PokemonEvolver(this);
     MoveTeacher            = new MoveTeacher(this);
     StaffAvoider           = new StaffAvoider(this);
     AutoReconnector        = new AutoReconnector(this);
     IsTrainerBattlesActive = new IsTrainerBattlesActive(this);
     MovementResynchronizer = new MovementResynchronizer(this);
     Rand               = new Random();
     SliderOptions      = new Dictionary <int, OptionSlider>();
     TextOptions        = new Dictionary <int, TextOption>();
     countGMTele        = 0;
     CallingPaueScript  = false;
     messageProcess     = false;
     BeAwareOfStaff     = false;
     NeedResync         = false;
     StartScriptInstant = false;
     LanguageXmlFile    = "";
     if (!string.IsNullOrEmpty(xmlFile))
     {
         LanguageXmlFile = xmlFile;
     }
 }