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. More... | |
virtual csPtr< psQuestPrereqOp > | Copy () |
Copy the prerequisite operator. More... | |
virtual csString | GetScriptOp () |
Convert the prerequisite operator to a xml string. More... | |
psQuestPrereqOpRace (const char *race) | |
Construct a race operator. More... | |
virtual | ~psQuestPrereqOpRace () |
![]() | |
virtual csString | GetScript () |
Convert the prerequisite script to a xml string. More... | |
virtual | ~psQuestPrereqOp () |
Destructor for the prerequisite operator. More... | |
Protected Attributes | |
csString | race |
race prerequisite operator.
The actor must be of a certain race.
Definition at line 836 of file psquestprereqops.h.
|
inline |
Construct a race operator.
race | The name of the race the actor is required to be. |
Definition at line 848 of file psquestprereqops.h.
|
inlinevirtual |
Definition at line 850 of file psquestprereqops.h.
|
virtual |
Check if the character is of the specific race.
character | The character that are checking for a prerequisite |
Implements psQuestPrereqOp.
|
virtual |
Copy the prerequisite operator.
Override this function to return a copy of the prerequisite operator.
Implements psQuestPrereqOp.
|
virtual |
Convert the prerequisite operator to a xml string.
Convert the operator into the xml string: <race name="racename"/>
Implements psQuestPrereqOp.
|
protected |
Definition at line 839 of file psquestprereqops.h.