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

Owning input for one damage transaction. 更多...

#include <Damage.h>

Public 成员函数

Result< void > validate () const
 Validate target, canonical gameplay-tag damage type and finite amounts.
 

Public 属性

SubjectRef source
 
SubjectRef target
 
std::optional< action::ActionExecutionId > actionExecution
 
std::string damageType
 
double healthDamage = 0.0
 
double poiseDamage = 0.0
 
double incomingDamageMultiplier = 1.0
 Target-owned effect multiplier applied in the target-mitigation settlement stage.
 
double availableShield = 0.0
 Shield balance available to this transaction; the caller commits reported consumption.
 
Impulse3 knockback
 
SimulationTick tick = SimulationTick::zero()
 Injected simulation tick recorded by the canonical settlement.
 
bool critical = false
 Presentation flag; healthDamage already includes any critical multiplier.
 

详细描述

Owning input for one damage transaction.

在文件 Damage.h 第 50 行定义.

成员函数说明

◆ validate()

类成员变量说明

◆ actionExecution

std::optional<action::ActionExecutionId> eve::combat::DamageRequest::actionExecution

在文件 Damage.h 第 53 行定义.

◆ availableShield

double eve::combat::DamageRequest::availableShield = 0.0

Shield balance available to this transaction; the caller commits reported consumption.

在文件 Damage.h 第 60 行定义.

被这些函数引用 validate().

◆ critical

bool eve::combat::DamageRequest::critical = false

Presentation flag; healthDamage already includes any critical multiplier.

在文件 Damage.h 第 65 行定义.

◆ damageType

std::string eve::combat::DamageRequest::damageType

在文件 Damage.h 第 54 行定义.

被这些函数引用 validate().

◆ healthDamage

double eve::combat::DamageRequest::healthDamage = 0.0

在文件 Damage.h 第 55 行定义.

被这些函数引用 validate().

◆ incomingDamageMultiplier

double eve::combat::DamageRequest::incomingDamageMultiplier = 1.0

Target-owned effect multiplier applied in the target-mitigation settlement stage.

在文件 Damage.h 第 58 行定义.

被这些函数引用 eve::combat::BodyPartDamageRule::evaluateForPart() , 以及 validate().

◆ knockback

Impulse3 eve::combat::DamageRequest::knockback

在文件 Damage.h 第 61 行定义.

被这些函数引用 validate().

◆ poiseDamage

double eve::combat::DamageRequest::poiseDamage = 0.0

在文件 Damage.h 第 56 行定义.

被这些函数引用 validate().

◆ source

◆ target

SubjectRef eve::combat::DamageRequest::target

在文件 Damage.h 第 52 行定义.

被这些函数引用 validate().

◆ tick

SimulationTick eve::combat::DamageRequest::tick = SimulationTick::zero()

Injected simulation tick recorded by the canonical settlement.

在文件 Damage.h 第 63 行定义.


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