Planeshift
Public Member Functions | Protected Attributes

ActionResponseOp Class Reference

This script operation makes an npc do an action, like greet or bow, as part of his response to a player event. More...

#include <dictionary.h>

List of all members.

Public Member Functions

 ActionResponseOp (const char *actionName, bool my, bool narrate, bool is_public)
virtual csString GetResponseScript ()
virtual bool IsPublic ()
virtual bool Load (iDocumentNode *node)
virtual bool Run (gemNPC *who, gemActor *target, NpcResponse *owner, csTicks &timeDelay, int &voiceNumber)
virtual ~ActionResponseOp ()

Protected Attributes

bool actionMy
bool actionNarrate
bool actionpublic
 Indicates whether the response action should be shown publicly or in private.
csString * actWhat
csString anim

Detailed Description

This script operation makes an npc do an action, like greet or bow, as part of his response to a player event.

Definition at line 520 of file dictionary.h.


Constructor & Destructor Documentation

ActionResponseOp::ActionResponseOp ( const char *  actionName,
bool  my,
bool  narrate,
bool  is_public 
) [inline]

Definition at line 529 of file dictionary.h.

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

Definition at line 537 of file dictionary.h.


Member Function Documentation

virtual csString ActionResponseOp::GetResponseScript ( ) [virtual]

Implements ResponseOperation.

virtual bool ActionResponseOp::IsPublic ( ) [inline, virtual]

Reimplemented from ResponseOperation.

Definition at line 544 of file dictionary.h.

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

Implements ResponseOperation.

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

Implements ResponseOperation.


Member Data Documentation

bool ActionResponseOp::actionMy [protected]

Definition at line 523 of file dictionary.h.

Definition at line 523 of file dictionary.h.

Indicates whether the response action should be shown publicly or in private.

Definition at line 525 of file dictionary.h.

csString* ActionResponseOp::actWhat [protected]

Definition at line 527 of file dictionary.h.

csString ActionResponseOp::anim [protected]

Definition at line 526 of file dictionary.h.


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