Planeshift
Public Member Functions | Protected Attributes

VerifyQuestCompletedResponseOp Class Reference

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>

List of all members.

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.
psQuestquest

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

ptrs to cachemanager entries for quests. must have at least one.

Definition at line 582 of file dictionary.h.

Definition at line 581 of file dictionary.h.


The documentation for this class was generated from the following file: