예제 #1
0
 public static void Postfix(Inventory __instance)
 {
     if (__instance.m_name != "spellsBarInventory")
     {
         return;
     }
     SpellsBar.UpdateInventory();
 }
예제 #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();
 }
예제 #3
0
 public static void Postfix(Player __instance)
 {
     SpellsBar.UpdateInventory();
 }