载入中...
搜索中...
未找到
eve::rts::Match类 参考
Independent match composition root; factions may participate in different matches. 更多...
#include <RTSTypes.h>
类 eve::rts::Match 继承关系图:
类 | |
| struct | Events |
| Deterministic retained lifecycle events. 更多... | |
| struct | Identity |
| Runtime and persistent identity. 更多... | |
| struct | Participants |
| One faction's team and elimination projection. 更多... | |
| struct | Rules |
| Configured victory rule; immutable while the match is running. 更多... | |
| struct | State |
| Authoritative match outcome. 更多... | |
Public 成员函数 | |
| void | release () override |
| Entity. | |
静态 Public 成员函数 | |
| static Match * | createMatch (SubjectRef subject={}) |
| Create a match and initialize every composition component. @ownership The active ECS table owns the entity; the returned pointer is borrowed. @lifetime Valid until that entity is destroyed or its ECS table is cleared. @thread ECS owner thread only. | |
详细描述
Independent match composition root; factions may participate in different matches.
在文件 RTSTypes.h 第 1295 行定义.
成员函数说明
◆ createMatch()
|
static |
Create a match and initialize every composition component. @ownership The active ECS table owns the entity; the returned pointer is borrowed. @lifetime Valid until that entity is destroyed or its ECS table is cleared. @thread ECS owner thread only.
在文件 RTSTypes.cpp 第 692 行定义.
引用了 subject.
被这些函数引用 eve::rts::RTS::newMatch().
◆ release()
|
inlineoverride |
该类的文档由以下文件生成:
- src/modules/rts/RTSTypes.h
- src/modules/rts/RTSTypes.cpp