Planeshift
Public Member Functions | Protected Attributes

ResponseOperation Class Reference

Possible actions scriptable in the quest engine all inherit from this class. More...

#include <dictionary.h>

List of all members.

Public Member Functions

const char * GetName ()
 only used for output in error messages while parsing the script in NpcResponse
virtual csString GetResponseScript ()=0
virtual bool IsPublic ()
virtual bool Load (iDocumentNode *node)=0
virtual bool Run (gemNPC *who, gemActor *target, NpcResponse *owner, csTicks &timeDelay, int &voiceNumber)=0
virtual ~ResponseOperation ()

Protected Attributes

csString name

Detailed Description

Possible actions scriptable in the quest engine all inherit from this class.

Definition at line 300 of file dictionary.h.


Constructor & Destructor Documentation

virtual ResponseOperation::~ResponseOperation ( ) [inline, virtual]

Definition at line 305 of file dictionary.h.


Member Function Documentation

const char* ResponseOperation::GetName ( ) [inline]

only used for output in error messages while parsing the script in NpcResponse

Definition at line 312 of file dictionary.h.

virtual csString ResponseOperation::GetResponseScript ( ) [pure virtual]
virtual bool ResponseOperation::IsPublic ( ) [inline, virtual]

Reimplemented in SayResponseOp, and ActionResponseOp.

Definition at line 316 of file dictionary.h.

virtual bool ResponseOperation::Load ( iDocumentNode *  node) [pure virtual]
virtual bool ResponseOperation::Run ( gemNPC who,
gemActor target,
NpcResponse owner,
csTicks &  timeDelay,
int voiceNumber 
) [pure virtual]

Member Data Documentation

csString ResponseOperation::name [protected]

Definition at line 303 of file dictionary.h.


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