예제 #1
0
        public MemoryReader(KeyboardSimulator keyboardSimulator, LogiXBot lb, double manaPercentInput, double hpPercentLightHealInput, double hpPercentIntenseHealInput)
        {
            this.lb = lb;
            this.manaPercentInput          = manaPercentInput;
            this.hpPercentLightHealInput   = hpPercentLightHealInput;
            this.hpPercentIntenseHealInput = hpPercentIntenseHealInput;

            timer          = new Timer();
            timer.Interval = 300;
            timer.Elapsed += new ElapsedEventHandler(TimerTick);
            timer.Start();
            this.keyboardSimulator = keyboardSimulator;

            readValuesFromMemory();
        }
예제 #2
0
        public MemoryReader(KeyboardSimulator keyboardSimulator, LogiXBot lb, double manaPercentInput, double hpPercentLightHealInput, double hpPercentIntenseHealInput)
        {
            this.lb = lb;
            this.manaPercentInput = manaPercentInput;
            this.hpPercentLightHealInput = hpPercentLightHealInput;
            this.hpPercentIntenseHealInput = hpPercentIntenseHealInput;

            timer = new Timer();
            timer.Interval = 300;
            timer.Elapsed += new ElapsedEventHandler(TimerTick);
            timer.Start();
            this.keyboardSimulator = keyboardSimulator;

            readValuesFromMemory();
        }