Pol  Revision:cb584c9
Pol::Core::Vital Class Reference

#include <vital.h>

Public Member Functions

 Vital (const Plib::Package *pkg, Clib::ConfigElem &elem)
 ~Vital ()
size_t estimateSize () const

Public Attributes

std::vector< std::string > aliases
std::string name
const Plib::Packagepkg
bool regen_while_dead
unsigned vitalid

Detailed Description

Definition at line 28 of file vital.h.

Constructor & Destructor Documentation

Pol::Core::Vital::Vital ( const Plib::Package pkg,
Clib::ConfigElem elem 
Pol::Core::Vital::~Vital ( )

Definition at line 47 of file vital.cpp.

References get_maximum_func, get_regenrate_func, and underflow_func.

Member Function Documentation

size_t Pol::Core::Vital::estimateSize ( ) const

Definition at line 63 of file vital.cpp.

References aliases, name, and Vital().

Member Data Documentation

std::vector<std::string> Pol::Core::Vital::aliases

Definition at line 37 of file vital.h.

Referenced by estimateSize(), Pol::Core::load_vital_entry(), and Vital().

ExportedFunction* Pol::Core::Vital::get_maximum_func

Definition at line 42 of file vital.h.

Referenced by Pol::Mobile::Character::calc_single_vital(), and ~Vital().

ExportedFunction* Pol::Core::Vital::get_regenrate_func

Definition at line 41 of file vital.h.

Referenced by Pol::Mobile::Character::calc_single_vital(), and ~Vital().

std::string Pol::Core::Vital::name
const Plib::Package* Pol::Core::Vital::pkg

Definition at line 35 of file vital.h.

Referenced by Pol::Core::load_vital_entry().

bool Pol::Core::Vital::regen_while_dead

Definition at line 44 of file vital.h.

ExportedFunction* Pol::Core::Vital::underflow_func

Definition at line 43 of file vital.h.

Referenced by Vital(), and ~Vital().

The documentation for this class was generated from the following files: