Planeshift
|
Gender prerequisite operator. More...
#include <psquestprereqops.h>
Public Member Functions | |
virtual bool | Check (psCharacter *character) |
Check if the character is of the specified gender. More... | |
virtual csPtr< psQuestPrereqOp > | Copy () |
Copy the prerequisite operator. More... | |
virtual csString | GetScriptOp () |
Convert the prerequisite operator to a xml string. More... | |
psQuestPrereqOpGender (const char *gender) | |
Construct a gender operator. More... | |
virtual | ~psQuestPrereqOpGender () |
![]() | |
virtual csString | GetScript () |
Convert the prerequisite script to a xml string. More... | |
virtual | ~psQuestPrereqOp () |
Destructor for the prerequisite operator. More... | |
Protected Attributes | |
csString | gender |
Gender prerequisite operator.
The actor must be of a certain gender.
Definition at line 886 of file psquestprereqops.h.
|
inline |
Construct a gender operator.
gender | The sex the character must be. |
Definition at line 898 of file psquestprereqops.h.
|
inlinevirtual |
Definition at line 900 of file psquestprereqops.h.
|
virtual |
Check if the character is of the specified gender.
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: <gender type="Gender Initial"/>
Implements psQuestPrereqOp.
|
protected |
Definition at line 889 of file psquestprereqops.h.