File ItemRegistry.hpp

class ItemRegistry

Public Functions

template<typename T, typename ...Args>
inline WeakPtr<T> registerItemShared(Args&&... args)
void registerItem(SharedPtr<Item> item)

Public Members

std::byte padding0[0x28]
std::unordered_map<int32_t, WeakPtr<Item>> mIdToItemMap
std::unordered_map<HashedString, WeakPtr<Item>> mNameToItemMap
std::byte padding168[448]
short mMaxItemID