Planeshift
Public Member Functions | Protected Attributes

VerifyQuestAssignedResponseOp Class Reference

This script operation checks to make sure a named quest has been assigned to 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)
 VerifyQuestAssignedResponseOp (int quest)
 VerifyQuestAssignedResponseOp ()
 string with npc declining to proceed because player does not have quest
virtual ~VerifyQuestAssignedResponseOp ()

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 assigned to a player, and stops the script if not, issuing the specified error_msg dialog.

Definition at line 695 of file dictionary.h.


Constructor & Destructor Documentation

VerifyQuestAssignedResponseOp::VerifyQuestAssignedResponseOp ( ) [inline]

string with npc declining to proceed because player does not have quest

Definition at line 702 of file dictionary.h.

VerifyQuestAssignedResponseOp::VerifyQuestAssignedResponseOp ( int  quest)
virtual VerifyQuestAssignedResponseOp::~VerifyQuestAssignedResponseOp ( ) [inline, virtual]

Definition at line 708 of file dictionary.h.


Member Function Documentation

virtual csString VerifyQuestAssignedResponseOp::GetResponseScript ( ) [virtual]

Implements ResponseOperation.

virtual bool VerifyQuestAssignedResponseOp::Load ( iDocumentNode *  node) [virtual]

Implements ResponseOperation.

virtual bool VerifyQuestAssignedResponseOp::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 699 of file dictionary.h.

Definition at line 698 of file dictionary.h.


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