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. More... | |
virtual csPtr< psQuestPrereqOp > | Copy () |
Copy the prerequisite operator. More... | |
virtual csString | GetScriptOp () |
Convert the prerequisite operator to a xml string. More... | |
psQuestPrereqOpGuild (const char *guildtype, const char *guildName) | |
Construct a guild operator. More... | |
virtual | ~psQuestPrereqOpGuild () |
![]() | |
virtual csString | GetScript () |
Convert the prerequisite script to a xml string. More... | |
virtual | ~psQuestPrereqOp () |
Destructor for the prerequisite operator. More... | |
Protected Attributes | |
csString | guildName |
csString | guildtype |
Guild prerequisite operator.
The actor must be in a certain type of guild or none.
Definition at line 986 of file psquestprereqops.h.
|
inline |
Construct a guild operator.
guildtype | The type of guild the character must be |
guildName | The name of the quild. |
Definition at line 1000 of file psquestprereqops.h.
|
inlinevirtual |
Definition at line 1002 of file psquestprereqops.h.
|
virtual |
Check if the character is in a specified type of guild.
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: <guild type="type of the guild"/>
Implements psQuestPrereqOp.
|
protected |
Definition at line 990 of file psquestprereqops.h.
|
protected |
Definition at line 989 of file psquestprereqops.h.