Planeshift
|
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>
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. |
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.
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.
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.
Indicates whether the response dialog should be said publicly or /tell in private.
Definition at line 493 of file dictionary.h.
csString* SayResponseOp::sayWhat |
Optional specific string to say, used by quest_scripts.
Definition at line 495 of file dictionary.h.