Example #1
0
 private void Awake()
 {
     _this = this;
     UnsetMostThings();
     LoadRunes();
     LoadClasses();
     SetupConfig();
     configFile = Config;
     SpellsBar.RegisterKeybinds();
 }
Example #2
0
 public static void Recreate()
 {
     if (!configCooldownsEnabled.Value)
     {
         activeCooldowns.Clear();
     }
     SpellsBar.RegisterKeybinds();
     CreateCraftAllButton(null);
     CreateRankTabs(null);
     SpellsBar.ClearBindings();
     SpellsBar.CreateHotkeysBar(null);
     SpellsBar.CreateInventoryBar(null);
     SpellsBar.UpdateInventory();
     SpellsBar.UpdateVisibility();
 }