Planeshift
|
Marriage prerequisite operator. More...
#include <psquestprereqops.h>
Public Member Functions | |
virtual bool | Check (psCharacter *character) |
Check if the character is married or not. | |
virtual csPtr< psQuestPrereqOp > | Copy () |
Copy the prerequisite operator. | |
virtual csString | GetScriptOp () |
Convert the prerequisite operator to a xml string. | |
psQuestPrereqOpMarriage () | |
Construct a marriage operator. | |
virtual | ~psQuestPrereqOpMarriage () |
Marriage prerequisite operator.
The actor must be married or not.
Definition at line 1035 of file psquestprereqops.h.
psQuestPrereqOpMarriage::psQuestPrereqOpMarriage | ( | ) | [inline] |
Construct a marriage operator.
Definition at line 1042 of file psquestprereqops.h.
virtual psQuestPrereqOpMarriage::~psQuestPrereqOpMarriage | ( | ) | [inline, virtual] |
Definition at line 1044 of file psquestprereqops.h.
virtual bool psQuestPrereqOpMarriage::Check | ( | psCharacter * | character | ) | [virtual] |
Check if the character is married or not.
character | The character that are checking for a prerequisite |
Implements psQuestPrereqOp.
virtual csPtr<psQuestPrereqOp> psQuestPrereqOpMarriage::Copy | ( | ) | [virtual] |
Copy the prerequisite operator.
Override this function to return a copy of the prerequisite operator.
Implements psQuestPrereqOp.
virtual csString psQuestPrereqOpMarriage::GetScriptOp | ( | ) | [virtual] |
Convert the prerequisite operator to a xml string.
Convert the operator into the xml string: <marriage status="yes/no"/>
Implements psQuestPrereqOp.