|
Planeshift
|
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>
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 |
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.
| 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.
| 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.
bool ActionResponseOp::actionMy [protected] |
Definition at line 523 of file dictionary.h.
bool ActionResponseOp::actionNarrate [protected] |
Definition at line 523 of file dictionary.h.
bool ActionResponseOp::actionpublic [protected] |
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.
1.7.3