Planeshift
|
race prerequisite operator. More...
#include <psquestprereqops.h>
Public Member Functions | |
virtual bool | Check (psCharacter *character) |
Check if the character is of the specific race. | |
virtual csPtr< psQuestPrereqOp > | Copy () |
Copy the prerequisite operator. | |
virtual csString | GetScriptOp () |
Convert the prerequisite operator to a xml string. | |
psQuestPrereqOpRace (const char *race) | |
Construct a race operator. | |
virtual | ~psQuestPrereqOpRace () |
Protected Attributes | |
csString | race |
race prerequisite operator.
The actor must be of a certain race.
Definition at line 833 of file psquestprereqops.h.
psQuestPrereqOpRace::psQuestPrereqOpRace | ( | const char * | race | ) | [inline] |
Construct a race operator.
race | The name of the race the actor is required to be. |
Definition at line 845 of file psquestprereqops.h.
virtual psQuestPrereqOpRace::~psQuestPrereqOpRace | ( | ) | [inline, virtual] |
Definition at line 847 of file psquestprereqops.h.
virtual bool psQuestPrereqOpRace::Check | ( | psCharacter * | character | ) | [virtual] |
Check if the character is of the specific race.
character | The character that are checking for a prerequisite |
Implements psQuestPrereqOp.
virtual csPtr<psQuestPrereqOp> psQuestPrereqOpRace::Copy | ( | ) | [virtual] |
Copy the prerequisite operator.
Override this function to return a copy of the prerequisite operator.
Implements psQuestPrereqOp.
virtual csString psQuestPrereqOpRace::GetScriptOp | ( | ) | [virtual] |
Convert the prerequisite operator to a xml string.
Convert the operator into the xml string: <race name="racename"/>
Implements psQuestPrereqOp.
csString psQuestPrereqOpRace::race [protected] |
Definition at line 836 of file psquestprereqops.h.