载入中...
搜索中...
未找到
EcsContainerInstances.cpp
浏览该文件的文档.
1#include <ECS.hpp>
2
3// No Table or component state lives here: this translation unit only owns
4// common map and handle-container code. Allocation/destruction still follows each Table's
5// existing ownership, staging, generation and inheritance contracts.
6#if defined(_WIN32) && defined(EVENGINE_MODULE_DLL)
7template class EVE_ECS_DEFAULT_TABLE_API std::map<std::type_index, ecs::IComponentManager*>;
8template class EVE_ECS_DEFAULT_TABLE_API std::map<std::type_index, ecs::IComponentSlotBuffer*>;
9template class EVE_ECS_DEFAULT_TABLE_API std::vector<ecs::EntityHandle>;
10#else
11template class std::map<std::type_index, ecs::IComponentManager*>;
12template class std::map<std::type_index, ecs::IComponentSlotBuffer*>;
13#endif