载入中...
搜索中...
未找到
eve::action::IActionDamageSink类 参考abstract
Optional target-domain adapter for timeline damage. 更多...
#include <ActionDamageBlock.h>
类 eve::action::IActionDamageSink 继承关系图:
Public 成员函数 | |
| virtual | ~IActionDamageSink ()=default |
| Releases IActionDamageSink resources. | |
| virtual bool | supports (ecs::EntityHandle target) const =0 |
| Whether this sink can resolve the supplied target handle now. | |
| virtual Result< void > | apply (const ActionDamageBinding &binding, const ActionNotifyContext &context)=0 |
| Atomically apply one validated damage request. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "eve.action.damage-sink" |
详细描述
Optional target-domain adapter for timeline damage.
Implementations resolve the generation-qualified ECS target synchronously and own all combat-state mutation. No borrowed binding/context data may be retained.
在文件 ActionDamageBlock.h 第 50 行定义.
构造及析构函数说明
◆ ~IActionDamageSink()
|
virtualdefault |
Releases IActionDamageSink resources.
成员函数说明
◆ apply()
|
pure virtual |
Atomically apply one validated damage request.
◆ supports()
|
pure virtual |
Whether this sink can resolve the supplied target handle now.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 ActionDamageBlock.h 第 52 行定义.
该类的文档由以下文件生成:
- src/modules/action/ActionDamageBlock.h