コード例 #1
0
        public static void Initialize()
        {
            mainMenu = MainMenu.AddMenu("AbsoluteBravery", "mainMenu");
            Rules    = mainMenu.AddSubMenu("Rules");
            Settings = mainMenu.AddSubMenu("Settings");

            mainMenu.AddGroupLabel("Created by Counter");
            mainMenu.AddLabel("This addon is designed for the custom game mode, AbsoluteBravery.");
            mainMenu.AddLabel("Found a bug or error? Please contact me by PM on EloBuddy.");

            Rules.AddGroupLabel("Rules");
            Rules.AddLabel("AbsoluteBravery is a game mode designed to challenge players.");
            Rules.AddLabel("Using randomized item sets and leveling systems to achieve victory.");
            Rules.AddLabel("This addon will automaticaly purchase items / trinkets and level up spells.");
            Rules.AddLabel("Play with friends in a custom game match!");

            Settings.AddGroupLabel("Settings");
            Settings.AddCheckBox("dirk", "Build Poacher's Dirk first", false);

            Console.WriteLine("MenuManager initialized.");
        }