Planeshift
|
This script operation checks to make sure a named quest has been completed by a player, and stops the script if not, issuing the specified error_msg dialog. More...
#include <dictionary.h>
Public Member Functions | |
virtual csString | GetResponseScript () |
virtual bool | Load (iDocumentNode *node) |
virtual bool | Run (gemNPC *who, gemActor *target, NpcResponse *owner, csTicks &timeDelay, int &voiceNumber) |
VerifyQuestCompletedResponseOp () | |
string with npc declining to play ball if quest is not completed | |
virtual | ~VerifyQuestCompletedResponseOp () |
Protected Attributes | |
csString | error_msg |
ptrs to cachemanager entries for quests. must have at least one. | |
psQuest * | quest |
This script operation checks to make sure a named quest has been completed by a player, and stops the script if not, issuing the specified error_msg dialog.
Definition at line 578 of file dictionary.h.
VerifyQuestCompletedResponseOp::VerifyQuestCompletedResponseOp | ( | ) | [inline] |
string with npc declining to play ball if quest is not completed
Definition at line 585 of file dictionary.h.
virtual VerifyQuestCompletedResponseOp::~VerifyQuestCompletedResponseOp | ( | ) | [inline, virtual] |
Definition at line 590 of file dictionary.h.
virtual csString VerifyQuestCompletedResponseOp::GetResponseScript | ( | ) | [virtual] |
Implements ResponseOperation.
virtual bool VerifyQuestCompletedResponseOp::Load | ( | iDocumentNode * | node | ) | [virtual] |
Implements ResponseOperation.
virtual bool VerifyQuestCompletedResponseOp::Run | ( | gemNPC * | who, |
gemActor * | target, | ||
NpcResponse * | owner, | ||
csTicks & | timeDelay, | ||
int & | voiceNumber | ||
) | [virtual] |
Implements ResponseOperation.
csString VerifyQuestCompletedResponseOp::error_msg [protected] |
ptrs to cachemanager entries for quests. must have at least one.
Definition at line 582 of file dictionary.h.
psQuest* VerifyQuestCompletedResponseOp::quest [protected] |
Definition at line 581 of file dictionary.h.