File BlockTypeRegistry.hpp¶
Typedefs
-
typedef std::map<HashedString, SharedPtr<BlockLegacy>> BlockLookupMap¶
-
typedef entt::dense_map<HashType64, HashedString> BlockNameHashToHashedStringMap¶
-
class BlockTypeRegistry¶
Public Types
Public Static Functions
-
static inline BlockLookupMap *mBlockLookupMap()¶
-
static inline BlockNameHashToHashedStringMap *mBlockNameHashToStringMap()¶
-
static inline const Block *getDefaultBlockState(const HashedString &name)¶
-
template<typename T, typename ...Args>
static inline WeakPtr<T> registerBlock(const std::string &blockName, Args&&... args)¶
-
static inline LookupByNameImplReturnType _lookupByNameImpl(const HashedString &name, int data, LookupByNameImplResolve resolve)¶
-
struct BlockComplexAliasBlockState¶
-
struct LookupByNameImplReturnType¶
-
static inline BlockLookupMap *mBlockLookupMap()¶