Planeshift
|
Buffables for vitals, which automatically update the dirty flag as necessary. More...
#include <servervitals.h>
Public Member Functions | |
void | Initialize (unsigned int *sDirty, int dirtyF) |
virtual | ~VitalBuffable () |
Protected Member Functions | |
virtual void | OnChange () |
Called whenever the value changes; implemented in derived classes. | |
Protected Attributes | |
int | dirtyFlag |
The bit value we should set when this becomes dirty. | |
unsigned int * | statsDirty |
Pointer to the psServerVitals dirty bitfield. |
Buffables for vitals, which automatically update the dirty flag as necessary.
Definition at line 43 of file servervitals.h.
virtual VitalBuffable::~VitalBuffable | ( | ) | [inline, virtual] |
Definition at line 46 of file servervitals.h.
Definition at line 48 of file servervitals.h.
virtual void VitalBuffable::OnChange | ( | ) | [inline, protected, virtual] |
Called whenever the value changes; implemented in derived classes.
Reimplemented from Buffable< float >.
Definition at line 55 of file servervitals.h.
int VitalBuffable::dirtyFlag [protected] |
The bit value we should set when this becomes dirty.
Definition at line 60 of file servervitals.h.
unsigned int* VitalBuffable::statsDirty [protected] |
Pointer to the psServerVitals dirty bitfield.
Definition at line 61 of file servervitals.h.