Planeshift
Public Member Functions | Protected Types | Protected Attributes

HireResponseOp Class Reference

This script operation makes an npc manage hires as part of his response to a player event. More...

#include <dictionary.h>

List of all members.

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

Detailed Description

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.


Member Enumeration Documentation

enum HireResponseOp::HireCommand [protected]
Enumerator:
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.


Constructor & Destructor Documentation

HireResponseOp::HireResponseOp ( ) [inline]

Definition at line 1016 of file dictionary.h.

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

Definition at line 1021 of file dictionary.h.


Member Function Documentation

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.


Member Data Documentation

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.


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