Planeshift
|
This script operation send a perception/command to the npc client. More...
#include <dictionary.h>
Public Member Functions | |
virtual csString | GetResponseScript () |
virtual bool | Load (iDocumentNode *node) |
NPCCmdResponseOp () | |
virtual bool | Run (gemNPC *who, gemActor *target, NpcResponse *owner, csTicks &timeDelay, int &voiceNumber) |
virtual | ~NPCCmdResponseOp () |
Protected Attributes | |
csString | cmd |
This script operation send a perception/command to the npc client.
This command could picked up by a response in the beavior for a npc. E.g. sending the command "test_cmd" could be received with the: <react event="npccmd:test_cmd" ... />
Definition at line 556 of file dictionary.h.
NPCCmdResponseOp::NPCCmdResponseOp | ( | ) | [inline] |
Definition at line 561 of file dictionary.h.
virtual NPCCmdResponseOp::~NPCCmdResponseOp | ( | ) | [inline, virtual] |
Definition at line 565 of file dictionary.h.
virtual csString NPCCmdResponseOp::GetResponseScript | ( | ) | [virtual] |
Implements ResponseOperation.
virtual bool NPCCmdResponseOp::Load | ( | iDocumentNode * | node | ) | [virtual] |
Implements ResponseOperation.
virtual bool NPCCmdResponseOp::Run | ( | gemNPC * | who, |
gemActor * | target, | ||
NpcResponse * | owner, | ||
csTicks & | timeDelay, | ||
int & | voiceNumber | ||
) | [virtual] |
Implements ResponseOperation.
csString NPCCmdResponseOp::cmd [protected] |
Definition at line 559 of file dictionary.h.