Planeshift
|
Weapon requirement operator. More...
#include <psquestprereqops.h>
Public Member Functions | |
virtual bool | Check (psCharacter *character) |
Check if the attack typespecification is correct. | |
virtual csPtr< psQuestPrereqOp > | Copy () |
Copy the requirement operator. | |
virtual csString | GetScriptOp () |
Convert the requirement operator to a xml string. | |
psPrereqOpAttackType (psAttackType *attackType) | |
Construct an attack type. | |
virtual | ~psPrereqOpAttackType () |
Destructor. | |
Protected Attributes | |
psAttackType * | attackType |
The required attack Type. |
Weapon requirement operator.
Checks for various attack type specs atm this is really only useable in the combat system.
Definition at line 1413 of file psquestprereqops.h.
psPrereqOpAttackType::psPrereqOpAttackType | ( | psAttackType * | attackType | ) | [inline] |
Construct an attack type.
Definition at line 1424 of file psquestprereqops.h.
virtual psPrereqOpAttackType::~psPrereqOpAttackType | ( | ) | [inline, virtual] |
Destructor.
Definition at line 1429 of file psquestprereqops.h.
virtual bool psPrereqOpAttackType::Check | ( | psCharacter * | character | ) | [virtual] |
Check if the attack typespecification is correct.
character | The character that are checking for a requirement |
Implements psQuestPrereqOp.
virtual csPtr<psQuestPrereqOp> psPrereqOpAttackType::Copy | ( | ) | [virtual] |
Copy the requirement operator.
Override this function to return a copy of the requirement operator.
Implements psQuestPrereqOp.
virtual csString psPrereqOpAttackType::GetScriptOp | ( | ) | [virtual] |
Convert the requirement operator to a xml string.
Convert the operator into the xml string: <attacktype name="[attack type name]">
Implements psQuestPrereqOp.
psAttackType* psPrereqOpAttackType::attackType [protected] |
The required attack Type.
Definition at line 1416 of file psquestprereqops.h.