4#ifndef LODESTONE_REGISTRIES_H
5#define LODESTONE_REGISTRIES_H
14#define LODESTONE_CREATE_REGISTRY_ALIAS(name, type...) \
15 extern template class type; \
18#define LODESTONE_IMPLEMENT_REGISTRY_ALIAS(type...) \
21#define LODESTONE_IMPLEMENT_REGISTRY_GET_INSTANCE() \
22 template <const common::registry::Identifier *Identifier, typename Type, typename Stored> \
23 LODESTONE_API SingletonRegistry<Identifier, Type, Stored> &SingletonRegistry<Identifier, Type, Stored>::getInstance() { \
24 static SingletonRegistry s_instance; \
#define LODESTONE_CREATE_REGISTRY_ALIAS(name, type...)
Definition Registries.h:14
Definition SingletonRegistry.h:11
Definition Registries.cpp:14
SingletonRegistry<&identifiers::LEVEL_IO_REGISTRY, const io::interfaces::ILevelIO > LevelIORegistry
Definition Registries.h:30
SingletonRegistry<&identifiers::CHUNK_IO_REGISTRY, const io::interfaces::IChunkIO > ChunkIORegistry
Definition Registries.h:31
SingletonRegistry<&identifiers::WORLD_IO_REGISTRY, const io::interfaces::IWorldIO > WorldIORegistry
Definition Registries.h:32
SingletonRegistry<&identifiers::PLAYER_IO_REGISTRY, const io::interfaces::IPlayerIO > PlayerIORegistry
Definition Registries.h:29