Planeshift
|
This script operation makes an npc manage hires as part of his response to a player event. More...
#include <dictionary.h>
Public Member Functions | |
virtual csString | GetResponseScript () |
HireResponseOp () | |
virtual bool | Load (iDocumentNode *node) |
virtual bool | Run (gemNPC *who, gemActor *target, NpcResponse *owner, csTicks &timeDelay, int &voiceNumber) |
virtual | ~HireResponseOp () |
Protected Types | |
enum | HireCommand { HIRE_COMMAND_START, HIRE_COMMAND_TYPE, HIRE_COMMAND_MASTER, HIRE_COMMAND_CONFIRM, HIRE_COMMAND_SCRIPT, HIRE_COMMAND_RELEASE } |
Protected Attributes | |
HireCommand | hireCommand |
PID | masterNPCId |
csString | typeName |
csString | typeNPCType |
This script operation makes an npc manage hires as part of his response to a player event.
Definition at line 998 of file dictionary.h.
enum HireResponseOp::HireCommand [protected] |
HIRE_COMMAND_START | |
HIRE_COMMAND_TYPE | |
HIRE_COMMAND_MASTER | |
HIRE_COMMAND_CONFIRM | |
HIRE_COMMAND_SCRIPT | |
HIRE_COMMAND_RELEASE |
Definition at line 1001 of file dictionary.h.
HireResponseOp::HireResponseOp | ( | ) | [inline] |
Definition at line 1016 of file dictionary.h.
virtual HireResponseOp::~HireResponseOp | ( | ) | [inline, virtual] |
Definition at line 1021 of file dictionary.h.
virtual csString HireResponseOp::GetResponseScript | ( | ) | [virtual] |
Implements ResponseOperation.
virtual bool HireResponseOp::Load | ( | iDocumentNode * | node | ) | [virtual] |
Implements ResponseOperation.
virtual bool HireResponseOp::Run | ( | gemNPC * | who, |
gemActor * | target, | ||
NpcResponse * | owner, | ||
csTicks & | timeDelay, | ||
int & | voiceNumber | ||
) | [virtual] |
Implements ResponseOperation.
HireCommand HireResponseOp::hireCommand [protected] |
Definition at line 1011 of file dictionary.h.
PID HireResponseOp::masterNPCId [protected] |
Definition at line 1014 of file dictionary.h.
csString HireResponseOp::typeName [protected] |
Definition at line 1012 of file dictionary.h.
csString HireResponseOp::typeNPCType [protected] |
Definition at line 1013 of file dictionary.h.