Ejemplo n.º 1
0
 public static void InitMisc()
 {
     if (ContainerSlotsWithBank != null)
     {
         return;
     }
     LockEntry.Initialize();
     ContainerSlotsWithBank = new bool[118];
     ContainerSlotsWithBank.Fill(true, 19, 22);
     ContainerSlotsWithBank.Fill(true, 67, 73);
     ContainerSlotsWithoutBank = new bool[118];
     ContainerSlotsWithoutBank.Fill(true, 19, 22);
     ContainerBankSlots = new bool[118];
     ContainerBankSlots.Fill(true, 67, 73);
     InitItemSlotHandlers();
 }
Ejemplo n.º 2
0
        public static void InitMisc()
        {
            if (ContainerSlotsWithBank == null)
            {
                LockEntry.Initialize();
                LoadDBCs();
                LoadSets();

                ContainerSlotsWithBank = new bool[(int)InventorySlot.Count];
                ContainerSlotsWithBank.Fill(true, (int)InventorySlot.Bag1, (int)InventorySlot.BagLast);
                ContainerSlotsWithBank.Fill(true, (int)InventorySlot.BankBag1, (int)InventorySlot.BankBagLast);

                ContainerSlotsWithoutBank = new bool[(int)InventorySlot.Count];
                ContainerSlotsWithoutBank.Fill(true, (int)InventorySlot.Bag1, (int)InventorySlot.BagLast);

                ContainerBankSlots = new bool[(int)InventorySlot.Count];
                ContainerBankSlots.Fill(true, (int)InventorySlot.BankBag1, (int)InventorySlot.BankBagLast);

                InitItemSlotHandlers();
            }
        }