Beispiel #1
0
        public PacketReader(GameInterface _gameInterface, Settings _settings)
        {
            gameInterface = _gameInterface;
            settings = _settings;

            BeginPacketReading();
        }
Beispiel #2
0
        int titleUpdateRate = 1200; // millisec

        #endregion Fields

        #region Constructors

        public BLChatBot()
        {
            // Set title
            SetTitle();
            titleStopWatch.Start();

            // Load modules
            settings = new Settings();
            gi = new GameInterface(settings);

            // Main loop
            while (Program.isRunning)
            {
                UpdateTitle();

                Thread.Sleep(1);
            }
        }
Beispiel #3
0
 public PacketParser(GameInterface _gameInterface, Settings _settings)
 {
     gameInterface = _gameInterface;
     settings = _settings;
     packetAnalyzer = new PacketAnalyzer();
 }