载入中...
搜索中...
未找到
One player intention, expressed with stable identities only. 更多...
#include <Interaction.h>
Public 属性 | |
| InteractionIntentKind | kind = InteractionIntentKind::None |
| SubjectRef | actor |
| The unit the intent is about (the controlled unit when one is known). | |
| Cell | cell |
| LogicalId | action |
| Armed ability for InteractionIntentKind::UseAbilityOn. | |
| SubjectRef | targetUnit |
| Unit occupying the target cell, when the intent targets a unit. | |
| Revision | expected |
| The revision this intent was decided against. | |
详细描述
One player intention, expressed with stable identities only.
- 备注
- The intent carries the revision it was decided against, exactly like a gameplay command, so a caller can detect that the world moved on between the click and the commit instead of committing against stale observations.
在文件 Interaction.h 第 74 行定义.
类成员变量说明
◆ action
| LogicalId eve::tactics::InteractionIntent::action |
Armed ability for InteractionIntentKind::UseAbilityOn.
在文件 Interaction.h 第 80 行定义.
◆ actor
| SubjectRef eve::tactics::InteractionIntent::actor |
The unit the intent is about (the controlled unit when one is known).
在文件 Interaction.h 第 77 行定义.
◆ cell
| Cell eve::tactics::InteractionIntent::cell |
在文件 Interaction.h 第 78 行定义.
◆ expected
| Revision eve::tactics::InteractionIntent::expected |
The revision this intent was decided against.
在文件 Interaction.h 第 84 行定义.
◆ kind
| InteractionIntentKind eve::tactics::InteractionIntent::kind = InteractionIntentKind::None |
在文件 Interaction.h 第 75 行定义.
◆ targetUnit
| SubjectRef eve::tactics::InteractionIntent::targetUnit |
Unit occupying the target cell, when the intent targets a unit.
在文件 Interaction.h 第 82 行定义.
该结构体的文档由以下文件生成:
- src/modules/tactics/Interaction.h