Planeshift
|
Marriage prerequisite operator. More...
#include <psquestprereqops.h>
Public Member Functions | |
virtual bool | Check (psCharacter *character) |
Check if the character is married or not. More... | |
virtual csPtr< psQuestPrereqOp > | Copy () |
Copy the prerequisite operator. More... | |
virtual csString | GetScriptOp () |
Convert the prerequisite operator to a xml string. More... | |
psQuestPrereqOpMarriage () | |
Construct a marriage operator. More... | |
virtual | ~psQuestPrereqOpMarriage () |
![]() | |
virtual csString | GetScript () |
Convert the prerequisite script to a xml string. More... | |
virtual | ~psQuestPrereqOp () |
Destructor for the prerequisite operator. More... | |
Marriage prerequisite operator.
The actor must be married or not.
Definition at line 1038 of file psquestprereqops.h.
|
inline |
Construct a marriage operator.
Definition at line 1045 of file psquestprereqops.h.
|
inlinevirtual |
Definition at line 1047 of file psquestprereqops.h.
|
virtual |
Check if the character is married or not.
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: <marriage status="yes/no"/>
Implements psQuestPrereqOp.