Пример #1
0
        private void FaceWithTimer(float radius, CommandManager.ArrowKey key)
        {
            //if radius is smaller then error margin then don't bother to fix
            if (radius < 0.04f)
                return;

            var tm = new GTimer(radius*1000*Math.PI);
            PlayerCM.ArrowKeyDown(key);
            tm.Reset();
            while (!tm.isReady())
            {
                Thread.Sleep(1);
            }
            PlayerCM.ArrowKeyUp(key);
        }
Пример #2
0
 /// <summary>
 /// Class constructor
 /// </summary>
 static ProcessManager()
 {
     config = new Config();
     wowProcess = new BlackMagic();
     CommandManager = new CommandManager();
     Injector = new InjectionManager();
     TLS = 0x0;
     Profile = new Profile();
     WowHWND = 0;
     BotManager = new BotManager();
     ScriptHost = new Host();
     WayPointManager.Instance.Init();
     Caronte = new Caronte.Caronte();
 }