|
Planeshift
|
Active magic prerequisite operator. More...
#include <psquestprereqops.h>
Public Member Functions | |
| virtual bool | Check (psCharacter *character) |
| Check if the specified magic is active. | |
| virtual csPtr< psQuestPrereqOp > | Copy () |
| Copy the prerequisite operator. | |
| virtual csString | GetScriptOp () |
| Convert the prerequisite operator to a xml string. | |
| psQuestPrereqOpActiveMagic (const char *activeMagic) | |
| Construct an active magic operator. | |
| virtual | ~psQuestPrereqOpActiveMagic () |
Protected Attributes | |
| csString | activeMagic |
Active magic prerequisite operator.
The actor must have a certain active magic (buff or debuff).
Definition at line 721 of file psquestprereqops.h.
| psQuestPrereqOpActiveMagic::psQuestPrereqOpActiveMagic | ( | const char * | activeMagic | ) | [inline] |
Construct an active magic operator.
| activeMagic | The name of the magic that's required to be active. |
Definition at line 733 of file psquestprereqops.h.
| virtual psQuestPrereqOpActiveMagic::~psQuestPrereqOpActiveMagic | ( | ) | [inline, virtual] |
Definition at line 735 of file psquestprereqops.h.
| virtual bool psQuestPrereqOpActiveMagic::Check | ( | psCharacter * | character | ) | [virtual] |
Check if the specified magic is active.
| character | The character that are checking for a prerequisite. |
Implements psQuestPrereqOp.
| virtual csPtr<psQuestPrereqOp> psQuestPrereqOpActiveMagic::Copy | ( | ) | [virtual] |
Copy the prerequisite operator.
Override this function to return a copy of the prerequisite operator.
Implements psQuestPrereqOp.
| virtual csString psQuestPrereqOpActiveMagic::GetScriptOp | ( | ) | [virtual] |
Convert the prerequisite operator to a xml string.
Convert the operator into the xml string: <activemagic name="-activemagic"/>
Implements psQuestPrereqOp.
csString psQuestPrereqOpActiveMagic::activeMagic [protected] |
Definition at line 724 of file psquestprereqops.h.
1.7.3