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 行定义.
◆ criticalChanceAttribute
| std::string eve::rpg::RPGSettlementAdapter::Config::criticalChanceAttribute = "critical_chance" |
在文件 SettlementAdapter.h 第 58 行定义.
◆ criticalMultiplierAttribute
| std::string eve::rpg::RPGSettlementAdapter::Config::criticalMultiplierAttribute = "critical_multiplier" |
在文件 SettlementAdapter.h 第 59 行定义.
◆ emitLifeTransitions
| bool eve::rpg::RPGSettlementAdapter::Config::emitLifeTransitions = true |
Emit death/kill transitions when this resource crosses zero.
在文件 SettlementAdapter.h 第 62 行定义.
◆ healthAttribute
| std::string eve::rpg::RPGSettlementAdapter::Config::healthAttribute = "hp" |
Vitals resource holding authoritative current health.
在文件 SettlementAdapter.h 第 52 行定义.
被这些函数引用 eve::rpg::RPGSettlementAdapter::clamp(), eve::rpg::RPGSettlementAdapter::prepareApply(), eve::rpg::RPGSettlementAdapter::prepareTrigger() , 以及 eve::rpg::RPGSettlementAdapter::validate().
◆ 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 行定义.
◆ shieldAttribute
| std::string eve::rpg::RPGSettlementAdapter::Config::shieldAttribute = "shield" |
◆ sourceMultiplierAttribute
| std::string eve::rpg::RPGSettlementAdapter::Config::sourceMultiplierAttribute = "damage_multiplier" |
在文件 SettlementAdapter.h 第 60 行定义.
该结构体的文档由以下文件生成:
- src/modules/rpg/SettlementAdapter.h