Planeshift
Public Member Functions | Public Attributes

SayResponseOp Class Reference

This script operation chooses randomly between the responses specified in the response columns and causes the server to say one of them to the player. More...

#include <dictionary.h>

List of all members.

Public Member Functions

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

Public Attributes

bool saypublic
 Indicates whether the response dialog should be said publicly or /tell in private.
csString * sayWhat
 Optional specific string to say, used by quest_scripts.

Detailed Description

This script operation chooses randomly between the responses specified in the response columns and causes the server to say one of them to the player.

Definition at line 489 of file dictionary.h.


Constructor & Destructor Documentation

SayResponseOp::SayResponseOp ( const char *  name,
bool  is_public 
) [inline]

Definition at line 497 of file dictionary.h.

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

Definition at line 503 of file dictionary.h.


Member Function Documentation

virtual csString SayResponseOp::GetResponseScript ( ) [virtual]

Implements ResponseOperation.

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

Reimplemented from ResponseOperation.

Definition at line 510 of file dictionary.h.

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

Implements ResponseOperation.

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

Implements ResponseOperation.


Member Data Documentation

Indicates whether the response dialog should be said publicly or /tell in private.

Definition at line 493 of file dictionary.h.

Optional specific string to say, used by quest_scripts.

Definition at line 495 of file dictionary.h.


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