Planeshift
Public Member Functions | Protected Member Functions | Protected Attributes

VitalBuffable Class Reference

Buffables for vitals, which automatically update the dirty flag as necessary. More...

#include <servervitals.h>

List of all members.

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 intstatsDirty
 Pointer to the psServerVitals dirty bitfield.

Detailed Description

Buffables for vitals, which automatically update the dirty flag as necessary.

Definition at line 43 of file servervitals.h.


Constructor & Destructor Documentation

virtual VitalBuffable::~VitalBuffable ( ) [inline, virtual]

Definition at line 46 of file servervitals.h.


Member Function Documentation

void VitalBuffable::Initialize ( unsigned int sDirty,
int  dirtyF 
) [inline]

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.


Member Data Documentation

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.


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