// This Header is auto generated by BDSLiteLoader Toolchain #pragma once #define AUTO_GENERATED #include "../Global.h" #define BEFORE_EXTRA #undef BEFORE_EXTRA class ItemRegistry { #define AFTER_EXTRA #undef AFTER_EXTRA #ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMREGISTRY public: class ItemRegistry& operator=(class ItemRegistry const &) = delete; ItemRegistry(class ItemRegistry const &) = delete; ItemRegistry() = delete; #endif public: #ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMREGISTRY #endif MCAPI static class WeakPtr getItem(short); MCAPI static class WeakPtr lookupByName(int &, std::string const &); MCAPI static class WeakPtr lookupByName(int &, int &, std::string const &); MCAPI static void registerAlias(std::string const &, class HashedString const &); MCAPI static void registerItem(class SharedPtr); MCAPI static void shutdown(); MCAPI static void unregisterItem(class HashedString const &); //private: private: MCAPI static class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> mIdToItemMap; MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> mItemAliasLookupMap; MCAPI static std::vector> mItemRegistry; MCAPI static short mMaxItemID; MCAPI static class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> mNameToItemMap; };