Planeshift
AssignQuestSelectOp Class Reference

This script operation is a pre operation to the AssignQuestResponseOp that is inserted at the start of the ResponseOp script list and it will select the quest that will be assigned in the AssingQuestResponseOp later. More...

#include <dictionary.h>

Public Member Functions

 AssignQuestSelectOp (AssignQuestResponseOp *questop)
 
virtual csString GetResponseScript ()
 
virtual bool Load (iDocumentNode *node)
 
virtual bool Run (gemNPC *who, gemActor *target, NpcResponse *owner, csTicks &timeDelay, int &voiceNumber)
 
virtual ~AssignQuestSelectOp ()
 
- Public Member Functions inherited from ResponseOperation
const char * GetName ()
 only used for output in error messages while parsing the script in NpcResponse More...
 
virtual bool IsPublic ()
 
virtual ~ResponseOperation ()
 

Protected Attributes

AssignQuestResponseOpquest_op
 
- Protected Attributes inherited from ResponseOperation
csString name
 

Detailed Description

This script operation is a pre operation to the AssignQuestResponseOp that is inserted at the start of the ResponseOp script list and it will select the quest that will be assigned in the AssingQuestResponseOp later.

Any SayRespondOp will select the corresponding response to.

Definition at line 793 of file dictionary.h.

Constructor & Destructor Documentation

AssignQuestSelectOp::AssignQuestSelectOp ( AssignQuestResponseOp questop)
inline

Definition at line 799 of file dictionary.h.

virtual AssignQuestSelectOp::~AssignQuestSelectOp ( )
inlinevirtual

Definition at line 804 of file dictionary.h.

Member Function Documentation

virtual csString AssignQuestSelectOp::GetResponseScript ( )
virtual

Implements ResponseOperation.

virtual bool AssignQuestSelectOp::Load ( iDocumentNode *  node)
inlinevirtual

Implements ResponseOperation.

Definition at line 805 of file dictionary.h.

virtual bool AssignQuestSelectOp::Run ( gemNPC who,
gemActor target,
NpcResponse owner,
csTicks &  timeDelay,
int voiceNumber 
)
virtual

Implements ResponseOperation.

Member Data Documentation

AssignQuestResponseOp* AssignQuestSelectOp::quest_op
protected

Definition at line 796 of file dictionary.h.


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