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 () |
![]() | |
float | Base () const |
void | Buff (const ActiveSpell *owner, floatx) |
Buffable () | |
Buffable (floatx) | |
virtual void | Cancel (const ActiveSpell *owner) |
float | Current () const |
void | SetBase (floatx) |
virtual | ~Buffable () |
![]() | |
virtual | ~iSpellModifier () |
Protected Member Functions | |
virtual void | OnChange () |
Called whenever the value changes; implemented in derived classes. More... | |
Protected Attributes | |
int | dirtyFlag |
The bit value we should set when this becomes dirty. More... | |
unsigned int * | statsDirty |
Pointer to the psServerVitals dirty bitfield. More... | |
![]() | |
float | base |
csArray< csTuple2< const ActiveSpell *, float > > | buffs |
float | cached |
Buffables for vitals, which automatically update the dirty flag as necessary.
Definition at line 43 of file servervitals.h.
|
inlinevirtual |
Definition at line 46 of file servervitals.h.
Definition at line 48 of file servervitals.h.
|
inlineprotectedvirtual |
Called whenever the value changes; implemented in derived classes.
Reimplemented from Buffable< float >.
Definition at line 55 of file servervitals.h.
|
protected |
The bit value we should set when this becomes dirty.
Definition at line 60 of file servervitals.h.
Pointer to the psServerVitals dirty bitfield.
Definition at line 61 of file servervitals.h.