载入中...
搜索中...
未找到
eve::tactics::AbilityReceipt结构体 参考

One declared ability activation and the resource state it left behind. 更多...

#include <TacticsBattle.h>

Public 属性

SubjectRef actor
 
LogicalId action
 
SubjectRef targetUnit
 The targeted unit, or an invalid subject when the ability targets a cell only.
 
Cell targetCell
 
int remainingActionPoints = 0
 Remaining action points after the activation was paid for.
 

详细描述

One declared ability activation and the resource state it left behind.

This is what a caller needs to hand the declaration to whoever owns the effect: which actor, which ability, which target, and how many action points remain.

在文件 TacticsBattle.h 第 29 行定义.

类成员变量说明

◆ action

LogicalId eve::tactics::AbilityReceipt::action

在文件 TacticsBattle.h 第 31 行定义.

被这些函数引用 eve::tactics::Tactics::submitGameplay() , 以及 eve::tactics::validateAbility().

◆ actor

SubjectRef eve::tactics::AbilityReceipt::actor

在文件 TacticsBattle.h 第 30 行定义.

被这些函数引用 eve::tactics::validateAbility().

◆ remainingActionPoints

int eve::tactics::AbilityReceipt::remainingActionPoints = 0

Remaining action points after the activation was paid for.

在文件 TacticsBattle.h 第 36 行定义.

被这些函数引用 eve::tactics::Tactics::submitGameplay() , 以及 eve::tactics::validateAbility().

◆ targetCell

Cell eve::tactics::AbilityReceipt::targetCell

在文件 TacticsBattle.h 第 34 行定义.

被这些函数引用 eve::tactics::validateAbility().

◆ targetUnit

SubjectRef eve::tactics::AbilityReceipt::targetUnit

The targeted unit, or an invalid subject when the ability targets a cell only.

在文件 TacticsBattle.h 第 33 行定义.

被这些函数引用 eve::tactics::Tactics::submitGameplay() , 以及 eve::tactics::validateAbility().


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