Planeshift
Public Member Functions

psQuestPrereqOpNot Class Reference

Not prerequisite operator. More...

#include <psquestprereqops.h>

List of all members.

Public Member Functions

virtual bool Check (psCharacter *character)
 Check if the child prerequisite is false.
virtual csPtr< psQuestPrereqOpCopy ()
 Copy the prerequisite operator.
virtual csString GetScriptOp ()
 Convert the prerequisite operator to a xml string.
virtual ~psQuestPrereqOpNot ()
 Destructor for the not prerequisite operator.

Detailed Description

Not prerequisite operator.

Invert the result of the one child.

Definition at line 310 of file psquestprereqops.h.


Constructor & Destructor Documentation

virtual psQuestPrereqOpNot::~psQuestPrereqOpNot ( ) [inline, virtual]

Destructor for the not prerequisite operator.

Definition at line 317 of file psquestprereqops.h.


Member Function Documentation

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

Check if the child prerequisite is false.

prerequisite = not child

Parameters:
characterThe character that are checking for a prerequisite
Returns:
True if the one child prerequisite is false

Implements psQuestPrereqOp.

virtual csPtr<psQuestPrereqOp> psQuestPrereqOpNot::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 psQuestPrereqOpNot::GetScriptOp ( ) [virtual]

Convert the prerequisite operator to a xml string.

Convert the operator into the xml string: <not><child></not>

Returns:
XML string for the prerequisite operator.

Implements psQuestPrereqOp.


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