Planeshift
Public Member Functions | Protected Attributes

VerifyQuestNotAssignedResponseOp Class Reference

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

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

Definition at line 733 of file dictionary.h.


Constructor & Destructor Documentation

VerifyQuestNotAssignedResponseOp::VerifyQuestNotAssignedResponseOp ( ) [inline]

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

Definition at line 740 of file dictionary.h.

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

Definition at line 746 of file dictionary.h.


Member Function Documentation

virtual csString VerifyQuestNotAssignedResponseOp::GetResponseScript ( ) [virtual]

Implements ResponseOperation.

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

Implements ResponseOperation.

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

Definition at line 736 of file dictionary.h.


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