|
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. | |
| virtual csPtr< psQuestPrereqOp > | Copy () |
| Copy the prerequisite operator. | |
| virtual csString | GetScriptOp () |
| Convert the prerequisite operator to a xml string. | |
| psQuestPrereqOpKnownSpell (const char *spell) | |
| Construct a Spell Known operator. | |
| virtual | ~psQuestPrereqOpKnownSpell () |
Protected Attributes | |
| csString | spell |
Spell knownledge prerequisite operator.
The actor must know a certain spell.
Definition at line 933 of file psquestprereqops.h.
| psQuestPrereqOpKnownSpell::psQuestPrereqOpKnownSpell | ( | const char * | spell | ) | [inline] |
Construct a Spell Known operator.
| spell | The spell the character must know. |
Definition at line 945 of file psquestprereqops.h.
| virtual psQuestPrereqOpKnownSpell::~psQuestPrereqOpKnownSpell | ( | ) | [inline, virtual] |
Definition at line 947 of file psquestprereqops.h.
| virtual bool psQuestPrereqOpKnownSpell::Check | ( | psCharacter * | character | ) | [virtual] |
Check if the character known the specified spell.
| character | The character that are checking for a prerequisite |
Implements psQuestPrereqOp.
| virtual csPtr<psQuestPrereqOp> psQuestPrereqOpKnownSpell::Copy | ( | ) | [virtual] |
Copy the prerequisite operator.
Override this function to return a copy of the prerequisite operator.
Implements psQuestPrereqOp.
| virtual csString psQuestPrereqOpKnownSpell::GetScriptOp | ( | ) | [virtual] |
Convert the prerequisite operator to a xml string.
Convert the operator into the xml string: <knownspell spell="Spell Name"/>
Implements psQuestPrereqOp.
csString psQuestPrereqOpKnownSpell::spell [protected] |
Definition at line 936 of file psquestprereqops.h.
1.7.3