Planeshift
|
Spell knownledge prerequisite operator. More...
#include <psquestprereqops.h>
Public Member Functions | |
virtual bool | Check (psCharacter *character) |
Check if the character known the specified spell. More... | |
virtual csPtr< psQuestPrereqOp > | Copy () |
Copy the prerequisite operator. More... | |
virtual csString | GetScriptOp () |
Convert the prerequisite operator to a xml string. More... | |
psQuestPrereqOpKnownSpell (const char *spell) | |
Construct a Spell Known operator. More... | |
virtual | ~psQuestPrereqOpKnownSpell () |
![]() | |
virtual csString | GetScript () |
Convert the prerequisite script to a xml string. More... | |
virtual | ~psQuestPrereqOp () |
Destructor for the prerequisite operator. More... | |
Protected Attributes | |
csString | spell |
Spell knownledge prerequisite operator.
The actor must know a certain spell.
Definition at line 936 of file psquestprereqops.h.
|
inline |
Construct a Spell Known operator.
spell | The spell the character must know. |
Definition at line 948 of file psquestprereqops.h.
|
inlinevirtual |
Definition at line 950 of file psquestprereqops.h.
|
virtual |
Check if the character known the specified spell.
character | The character that are checking for a prerequisite |
Implements psQuestPrereqOp.
|
virtual |
Copy the prerequisite operator.
Override this function to return a copy of the prerequisite operator.
Implements psQuestPrereqOp.
|
virtual |
Convert the prerequisite operator to a xml string.
Convert the operator into the xml string: <knownspell spell="Spell Name"/>
Implements psQuestPrereqOp.
|
protected |
Definition at line 939 of file psquestprereqops.h.