Planeshift
Public Member Functions

psQuestPrereqOp Class Reference

Pure virtual base quest prerequisite operator class. More...

#include <psquestprereqops.h>

List of all members.

Public Member Functions

virtual bool Check (psCharacter *character)=0
 Check for valid prerequisite.
virtual csPtr< psQuestPrereqOpCopy ()=0
 Copy the prerequisite operator.
virtual csString GetScript ()
 Convert the prerequisite script to a xml string.
virtual csString GetScriptOp ()=0
 Convert the prerequisite operator to a xml string.
virtual ~psQuestPrereqOp ()
 Destructor for the prerequisite operator.

Detailed Description

Pure virtual base quest prerequisite operator class.

This base class define the needed functions for every prerequisite operator.

Definition at line 55 of file psquestprereqops.h.


Constructor & Destructor Documentation

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

Destructor for the prerequisite operator.

Definition at line 62 of file psquestprereqops.h.


Member Function Documentation

virtual bool psQuestPrereqOp::Check ( psCharacter character) [pure virtual]
virtual csPtr<psQuestPrereqOp> psQuestPrereqOp::Copy ( ) [pure virtual]
virtual csString psQuestPrereqOp::GetScript ( ) [virtual]

Convert the prerequisite script to a xml string.

Wrapps the operator in <pre>...</pre> tags.

Returns:
XML string for the prerequisite script.
virtual csString psQuestPrereqOp::GetScriptOp ( ) [pure virtual]

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