Exemplo n.º 1
0
        public void Initialise()
        {
            if (Initialised)
            {
                return;
            }

            Slots = ItemSlots.ToDictionary();
            LoadArmorModels();
            LoadWeaponModels();
            LoadEtcItemModels();

            GC.Collect();
            GC.WaitForPendingFinalizers();
            Log.Info($"Loaded #{Armors.Count} armors, #{Weapons.Count} weapons and #{EtcItems.Count} etc items.");
            Initialised = true;
        }