Planeshift
Public Member Functions | Protected Attributes

psPrereqOpStance Class Reference

Stance requirement operator. More...

#include <psquestprereqops.h>

List of all members.

Public Member Functions

virtual bool Check (psCharacter *character)
 Check if the player stance is correct.
virtual csPtr< psQuestPrereqOpCopy ()
 Copy the requirement operator.
virtual csString GetScriptOp ()
 Convert the requirement operator to a xml string.
 psPrereqOpStance (csString stance)
 Construct a stance operator.
virtual ~psPrereqOpStance ()
 Destructor.

Protected Attributes

csString stance

Detailed Description

Stance requirement operator.

Checks for various stances

Definition at line 1481 of file psquestprereqops.h.


Constructor & Destructor Documentation

psPrereqOpStance::psPrereqOpStance ( csString  stance) [inline]

Construct a stance operator.

Parameters:
stanceThe stance which should be checked for.

Definition at line 1493 of file psquestprereqops.h.

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

Destructor.

Definition at line 1498 of file psquestprereqops.h.


Member Function Documentation

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

Check if the player stance is correct.

Parameters:
characterThe character that are checking for a requirement
Returns:
True if specs are correct.

Implements psQuestPrereqOp.

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

Copy the requirement operator.

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

Returns:
Copy of the requirement operator.

Implements psQuestPrereqOp.

virtual csString psPrereqOpStance::GetScriptOp ( ) [virtual]

Convert the requirement operator to a xml string.

Convert the operator into the xml string: <stance name="stance name">

Returns:
XML string for the requirement operator.

Implements psQuestPrereqOp.


Member Data Documentation

csString psPrereqOpStance::stance [protected]

Definition at line 1484 of file psquestprereqops.h.


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