Planeshift
Public Member Functions

psQuestPrereqOpMarriage Class Reference

Marriage prerequisite operator. More...

#include <psquestprereqops.h>

List of all members.

Public Member Functions

virtual bool Check (psCharacter *character)
 Check if the character is married or not.
virtual csPtr< psQuestPrereqOpCopy ()
 Copy the prerequisite operator.
virtual csString GetScriptOp ()
 Convert the prerequisite operator to a xml string.
 psQuestPrereqOpMarriage ()
 Construct a marriage operator.
virtual ~psQuestPrereqOpMarriage ()

Detailed Description

Marriage prerequisite operator.

The actor must be married or not.

Definition at line 1035 of file psquestprereqops.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

virtual bool psQuestPrereqOpMarriage::Check ( psCharacter character) [virtual]

Check if the character is married or not.

Parameters:
characterThe character that are checking for a prerequisite
Returns:
True if the character is married or not.

Implements psQuestPrereqOp.

virtual csPtr<psQuestPrereqOp> psQuestPrereqOpMarriage::Copy ( ) [virtual]

Copy the prerequisite operator.

Override this function to return a copy of the prerequisite operator.

Returns:
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"/>

Returns:
XML string for the prerequisite operator.

Implements psQuestPrereqOp.


The documentation for this class was generated from the following file: