Planeshift
|
Stance requirement operator. More...
#include <psquestprereqops.h>
Public Member Functions | |
virtual bool | Check (psCharacter *character) |
Check if the player stance is correct. | |
virtual csPtr< psQuestPrereqOp > | Copy () |
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 |
Stance requirement operator.
Checks for various stances
Definition at line 1481 of file psquestprereqops.h.
psPrereqOpStance::psPrereqOpStance | ( | csString | stance | ) | [inline] |
Construct a stance operator.
stance | The 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.
virtual bool psPrereqOpStance::Check | ( | psCharacter * | character | ) | [virtual] |
Check if the player stance is correct.
character | The character that are checking for a requirement |
Implements psQuestPrereqOp.
virtual csPtr<psQuestPrereqOp> psPrereqOpStance::Copy | ( | ) | [virtual] |
Copy the requirement operator.
Override this function to return a 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">
Implements psQuestPrereqOp.
csString psPrereqOpStance::stance [protected] |
Definition at line 1484 of file psquestprereqops.h.