Planeshift
OverridableRace Class Reference

#include <pscharacter.h>

Public Member Functions

 OverridableRace (psRaceInfo *race)
 Constructor, wants a. More...
 
void SetCharacter (psCharacter *psChar)
 Sets which character owns this overridableRace. More...
 
virtual ~OverridableRace ()
 Destructor. More...
 
- Public Member Functions inherited from Overridable< psRaceInfo * >
psRaceInfoBase () const
 
virtual void Cancel (const ActiveSpell *owner)
 
psRaceInfoCurrent () const
 
 Overridable (psRaceInfo *x)
 
void Override (const ActiveSpell *owner, psRaceInfo *x)
 
void SetBase (psRaceInfo *x)
 
virtual ~Overridable ()
 
- Public Member Functions inherited from iSpellModifier
virtual ~iSpellModifier ()
 

Protected Member Functions

virtual void OnChange ()
 Function called when the overridable is changed. More...
 

Protected Attributes

psCharactercharacter
 Pointer to the psCharacter owning this overridable class. More...
 
- Protected Attributes inherited from Overridable< psRaceInfo * >
csList< csTuple2< const ActiveSpell *, psRaceInfo * > > values
 

Detailed Description

Definition at line 607 of file pscharacter.h.

Constructor & Destructor Documentation

OverridableRace::OverridableRace ( psRaceInfo race)
inline

Constructor, wants a.

See also
psRaceInfo pointer which should be the default one usually.
Parameters
raceA pointer to a
See also
psRaceInfo.

Definition at line 616 of file pscharacter.h.

virtual OverridableRace::~OverridableRace ( )
inlinevirtual

Destructor.

Definition at line 621 of file pscharacter.h.

Member Function Documentation

virtual void OverridableRace::OnChange ( )
protectedvirtual

Function called when the overridable is changed.

It sets the base values of the race and the helm/belt... groups.

Reimplemented from Overridable< psRaceInfo * >.

void OverridableRace::SetCharacter ( psCharacter psChar)
inline

Sets which character owns this overridableRace.

Parameters
psCharA pointer to a pscharacter.

Definition at line 628 of file pscharacter.h.

Member Data Documentation

psCharacter* OverridableRace::character
protected

Pointer to the psCharacter owning this overridable class.

Definition at line 642 of file pscharacter.h.


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