载入中...
搜索中...
未找到
eve::rpg::RPGSettlementAdapter::Config结构体 参考

Attribute names used by the RPG policy. 更多...

#include <SettlementAdapter.h>

Public 属性

std::string healthAttribute = "hp"
 Vitals resource holding authoritative current health.
 
std::string maxHealthAttribute = "hp"
 Final attribute supplying the resource maximum.
 
std::string shieldAttribute = "shield"
 
std::string armorAttribute = "armor"
 
std::string resistancePrefix = "resistance."
 
std::string criticalChanceAttribute = "critical_chance"
 
std::string criticalMultiplierAttribute = "critical_multiplier"
 
std::string sourceMultiplierAttribute = "damage_multiplier"
 
bool emitLifeTransitions = true
 Emit death/kill transitions when this resource crosses zero.
 

详细描述

Attribute names used by the RPG policy.

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

类成员变量说明

◆ armorAttribute

std::string eve::rpg::RPGSettlementAdapter::Config::armorAttribute = "armor"

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

被这些函数引用 eve::rpg::RPGSettlementAdapter::armorShield().

◆ criticalChanceAttribute

std::string eve::rpg::RPGSettlementAdapter::Config::criticalChanceAttribute = "critical_chance"

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

被这些函数引用 eve::rpg::RPGSettlementAdapter::sourceModifiers().

◆ criticalMultiplierAttribute

std::string eve::rpg::RPGSettlementAdapter::Config::criticalMultiplierAttribute = "critical_multiplier"

在文件 SettlementAdapter.h 第 59 行定义.

被这些函数引用 eve::rpg::RPGSettlementAdapter::sourceModifiers().

◆ emitLifeTransitions

bool eve::rpg::RPGSettlementAdapter::Config::emitLifeTransitions = true

Emit death/kill transitions when this resource crosses zero.

在文件 SettlementAdapter.h 第 62 行定义.

被这些函数引用 eve::rpg::RPGSettlementAdapter::prepareTrigger().

◆ healthAttribute

std::string eve::rpg::RPGSettlementAdapter::Config::healthAttribute = "hp"

◆ maxHealthAttribute

std::string eve::rpg::RPGSettlementAdapter::Config::maxHealthAttribute = "hp"

Final attribute supplying the resource maximum.

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

被这些函数引用 eve::rpg::RPGSettlementAdapter::clamp(), eve::rpg::RPGSettlementAdapter::prepareApply() , 以及 eve::rpg::RPGSettlementAdapter::validate().

◆ resistancePrefix

std::string eve::rpg::RPGSettlementAdapter::Config::resistancePrefix = "resistance."

在文件 SettlementAdapter.h 第 57 行定义.

被这些函数引用 eve::rpg::RPGSettlementAdapter::targetMitigation().

◆ shieldAttribute

std::string eve::rpg::RPGSettlementAdapter::Config::shieldAttribute = "shield"

◆ sourceMultiplierAttribute

std::string eve::rpg::RPGSettlementAdapter::Config::sourceMultiplierAttribute = "damage_multiplier"

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

被这些函数引用 eve::rpg::RPGSettlementAdapter::sourceModifiers().


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