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