MQEngine
载入中...
搜索中...
未找到
MQEngine::ComponentInfo结构体 参考

#include <ComponentReflection.h>

Public 属性

std::string name
std::vector< ComponentFieldInfofields
std::function< bool(entt::registry &, entt::entity)> hasComponent
std::function< void *(entt::registry &, entt::entity)> getComponent
std::function< void(entt::registry &, entt::entity)> addComponent
std::function< void(entt::registry &, entt::entity)> removeComponent

类成员变量说明

◆ addComponent

std::function<void(entt::registry&, entt::entity)> MQEngine::ComponentInfo::addComponent

◆ fields

std::vector<ComponentFieldInfo> MQEngine::ComponentInfo::fields

◆ getComponent

std::function<void*(entt::registry&, entt::entity)> MQEngine::ComponentInfo::getComponent

◆ hasComponent

std::function<bool(entt::registry&, entt::entity)> MQEngine::ComponentInfo::hasComponent

◆ name

std::string MQEngine::ComponentInfo::name

◆ removeComponent

std::function<void(entt::registry&, entt::entity)> MQEngine::ComponentInfo::removeComponent

该结构体的文档由以下文件生成: