|
Planeshift
|
Guild prerequisite operator. More...
#include <psquestprereqops.h>
Public Member Functions | |
| virtual bool | Check (psCharacter *character) |
| Check if the character is in a specified type of guild. | |
| virtual csPtr< psQuestPrereqOp > | Copy () |
| Copy the prerequisite operator. | |
| virtual csString | GetScriptOp () |
| Convert the prerequisite operator to a xml string. | |
| psQuestPrereqOpGuild (const char *guildtype, const char *guildName) | |
| Construct a guild operator. | |
| virtual | ~psQuestPrereqOpGuild () |
Protected Attributes | |
| csString | guildName |
| csString | guildtype |
Guild prerequisite operator.
The actor must be in a certain type of guild or none.
Definition at line 983 of file psquestprereqops.h.
| psQuestPrereqOpGuild::psQuestPrereqOpGuild | ( | const char * | guildtype, |
| const char * | guildName | ||
| ) | [inline] |
Construct a guild operator.
| guildtype | The type of guild the character must be |
| guildName | The name of the quild. |
Definition at line 997 of file psquestprereqops.h.
| virtual psQuestPrereqOpGuild::~psQuestPrereqOpGuild | ( | ) | [inline, virtual] |
Definition at line 999 of file psquestprereqops.h.
| virtual bool psQuestPrereqOpGuild::Check | ( | psCharacter * | character | ) | [virtual] |
Check if the character is in a specified type of guild.
| character | The character that are checking for a prerequisite |
Implements psQuestPrereqOp.
| virtual csPtr<psQuestPrereqOp> psQuestPrereqOpGuild::Copy | ( | ) | [virtual] |
Copy the prerequisite operator.
Override this function to return a copy of the prerequisite operator.
Implements psQuestPrereqOp.
| virtual csString psQuestPrereqOpGuild::GetScriptOp | ( | ) | [virtual] |
Convert the prerequisite operator to a xml string.
Convert the operator into the xml string: <guild type="type of the guild"/>
Implements psQuestPrereqOp.
csString psQuestPrereqOpGuild::guildName [protected] |
Definition at line 987 of file psquestprereqops.h.
csString psQuestPrereqOpGuild::guildtype [protected] |
Definition at line 986 of file psquestprereqops.h.
1.7.3