|
Pol
Revision:cb584c9
|
#include <charactr.h>
Public Member Functions | |
| VitalValue () | |
| int | current () const |
| int | current_ones () const |
| int | current_thousands () const |
| bool | is_at_maximum () const |
| int | maximum () const |
| int | maximum_ones () const |
| int | regenrate () const |
Protected Member Functions | |
| bool | consume (unsigned int hamt) |
| void | current (int cur) |
| void | current_ones (int ones) |
| void | maximum (int val) |
| void | produce (unsigned int hamt) |
| void | regenrate (int rate) |
Private Attributes | |
| unsigned int | _current |
| unsigned int | _maximum |
| int | _regenrate |
Friends | |
| class | Character |
Definition at line 187 of file charactr.h.
|
inline |
Definition at line 190 of file charactr.h.
|
inlineprotected |
Definition at line 225 of file charactr.h.
Referenced by Pol::Mobile::Character::consume().
|
inline |
Definition at line 192 of file charactr.h.
Referenced by Pol::Mobile::Character::apply_raw_damage_hundredths(), Pol::Module::VitalExecutorModule::mf_GetVital(), Pol::Mobile::Character::set_current(), and Pol::Mobile::Character::set_vitals_to_maximum().
|
inlineprotected |
Definition at line 206 of file charactr.h.
|
inline |
Definition at line 193 of file charactr.h.
Referenced by Pol::Mobile::Character::calc_single_vital(), Pol::Mobile::Character::can_face(), Pol::Core::USpell::check_mana(), Pol::Mobile::Character::consume(), Pol::Core::Party::on_mana_changed(), Pol::Core::Party::on_stam_changed(), Pol::Mobile::Character::printProperties(), Pol::Mobile::Character::produce(), Pol::Mobile::Character::readAttributesAndVitals(), Pol::Core::send_attributes_normalized(), Pol::Core::send_full_statmsg(), Pol::Core::send_mana_level(), Pol::Core::send_stamina_level(), Pol::Network::send_uo_hits(), Pol::Network::send_uo_mana(), Pol::Network::send_uo_stamina(), Pol::Core::send_update_hits_to_inrange(), and Pol::Mobile::Character::set_current_ones().
|
inlineprotected |
Definition at line 212 of file charactr.h.
|
inline |
Definition at line 194 of file charactr.h.
Referenced by Pol::Network::send_fake_hits(), and Pol::Core::send_short_statmsg().
|
inline |
Definition at line 201 of file charactr.h.
Referenced by Pol::Mobile::Character::check_undamaged().
|
inline |
Definition at line 199 of file charactr.h.
Referenced by Pol::Mobile::Character::calc_single_vital(), Pol::Module::VitalExecutorModule::mf_GetVitalMaximumValue(), and Pol::Mobile::Character::set_vitals_to_maximum().
|
inlineprotected |
Definition at line 218 of file charactr.h.
|
inline |
Definition at line 200 of file charactr.h.
Referenced by Pol::Mobile::Character::calc_single_vital(), Pol::Core::send_full_statmsg(), Pol::Core::send_mana_level(), Pol::Core::send_stamina_level(), Pol::Network::send_uo_hits(), Pol::Network::send_uo_mana(), Pol::Network::send_uo_stamina(), and Pol::Core::send_update_hits_to_inrange().
|
inlineprotected |
Definition at line 238 of file charactr.h.
Referenced by Pol::Mobile::Character::produce().
|
inline |
Definition at line 202 of file charactr.h.
Referenced by Pol::Mobile::Character::calc_single_vital(), Pol::Module::VitalExecutorModule::mf_GetVitalRegenRate(), and Pol::Mobile::Character::regen_vital().
|
inlineprotected |
Definition at line 224 of file charactr.h.
|
friend |
Definition at line 205 of file charactr.h.
|
private |
Definition at line 252 of file charactr.h.
Referenced by Pol::Mobile::Character::resurrect().
|
private |
Definition at line 253 of file charactr.h.
|
private |
Definition at line 254 of file charactr.h.