#include <player_sao.h>
◆ Type
Enumerator |
---|
SET_HP | |
SET_HP_MAX | |
PLAYER_PUNCH | |
FALL | |
NODE_DAMAGE | |
DROWNING | |
RESPAWN | |
◆ PlayerHPChangeReason() [1/3]
PlayerHPChangeReason::PlayerHPChangeReason |
( |
Type | type | ) |
|
|
inline |
◆ PlayerHPChangeReason() [2/3]
◆ PlayerHPChangeReason() [3/3]
PlayerHPChangeReason::PlayerHPChangeReason |
( |
Type | type, |
|
|
std::string | node, |
|
|
v3s16 | node_pos ) |
|
inline |
◆ getTypeAsString()
std::string PlayerHPChangeReason::getTypeAsString |
( |
| ) |
const |
|
inline |
◆ hasLuaReference()
bool PlayerHPChangeReason::hasLuaReference |
( |
| ) |
const |
|
inline |
◆ setTypeFromString()
bool PlayerHPChangeReason::setTypeFromString |
( |
const std::string & | typestr | ) |
|
|
inline |
◆ from_mod
bool PlayerHPChangeReason::from_mod = false |
◆ lua_reference
int PlayerHPChangeReason::lua_reference = -1 |
◆ node
std::string PlayerHPChangeReason::node |
◆ node_pos
v3s16 PlayerHPChangeReason::node_pos |
◆ object
◆ type
The documentation for this struct was generated from the following file: