示例#1
0
文件: Program.cs 项目: riwalry1/AIO
        public static void Game_OnGameLoad()
        {
            Menu = MainMenu.AddMenu("VCursor", "VCursor");
            Menu.Add("Movement", new CheckBox("Follow Cursor Movement"));
            Menu.Add("Icon", new CheckBox("Change Icon [BROKEN IN L#]"));
            Menu.Add("Chat", new CheckBox("Clear Chat on Load"));

            if (Menu["Chat"].Cast <CheckBox>().CurrentValue)
            {
                for (var i = 0; i < 15; i++)
                {
                    Chat.Print("<font color =\"\">");
                }
            }

            FakeClicks.Initialize(Menu);
            VirtualCursor.Initialize();
            VirtualCursor.SetPosition(Cursor.ScreenPosition);
            VirtualCursor.Draw();
        }
示例#2
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            Menu = new Menu("VCursor", "VCursor", true);
            Menu.AddItem(new MenuItem("Movement", "Follow Cursor Movement").SetValue(true));
            Menu.AddItem(new MenuItem("Icon", "Change Icon [BROKEN IN L#]").SetValue(true));
            Menu.AddItem(new MenuItem("Chat", "Clear Chat on Load").SetValue(true));

            Menu.AddToMainMenu();

            if (Menu.Item("Chat").IsActive())
            {
                for (var i = 0; i < 15; i++)
                {
                    Game.PrintChat("<font color =\"\">");
                }
            }

            FakeClicks.Initialize(Menu);

            VirtualCursor.Initialize();
            VirtualCursor.SetPosition(Cursor.ScreenPosition);
            VirtualCursor.Draw();
        }