载入中...
搜索中...
未找到
eve::warship::WarshipEntity类 参考
Warship short-root entity: huge hull + rearrangeable compartments. 更多...
#include <WarshipTypes.h>
类 eve::warship::WarshipEntity 继承关系图:
类 | |
| struct | Capabilities |
| Cached projection of Layout through the function catalogue. 更多... | |
| struct | Definition |
| Borrowed definition pointer (registry owns the template). 更多... | |
| struct | Flags |
| Lifecycle flags. 更多... | |
| struct | Health |
| Hull integrity. 更多... | |
| struct | Hull |
| Physical envelope (copied from definition at spawn). 更多... | |
| struct | Identity |
| Stable instance id / template id / faction / category. 更多... | |
| struct | Input |
| Per-frame helm input. 更多... | |
| struct | Layout |
| Live compartment occupancy; authoritative owner of layout cells. 更多... | |
| struct | Motion |
| 2D kinematic motion (world XY, heading in degrees). 更多... | |
Public 成员函数 | |
| void | release () override |
静态 Public 成员函数 | |
| static WarshipEntity * | createWarship () |
| Allocate a WarshipEntity with every component installed. @ownership ECS table owns the entity; callers must not delete it. @lifetime Until ECS destroys the entity or world. @thread Owner ECS thread. @reentrancy Does not invoke user callbacks. | |
详细描述
Warship short-root entity: huge hull + rearrangeable compartments.
Orthogonal state lives in components. Do not hang universal gameplay roots off this type; cross-domain weapon / fluids links belong to later adapters.
在文件 WarshipTypes.h 第 188 行定义.
成员函数说明
◆ createWarship()
|
static |
Allocate a WarshipEntity with every component installed. @ownership ECS table owns the entity; callers must not delete it. @lifetime Until ECS destroys the entity or world. @thread Owner ECS thread. @reentrancy Does not invoke user callbacks.
在文件 WarshipSystem.cpp 第 142 行定义.
被这些函数引用 eve::warship::Warship::newWarship().
◆ release()
|
inlineoverride |
在文件 WarshipTypes.h 第 192 行定义.
该类的文档由以下文件生成:
- src/modules/warship/WarshipTypes.h
- src/modules/warship/WarshipSystem.cpp