Planeshift
Public Member Functions | Protected Attributes

GiveItemResponseOp Class Reference

This script operation makes an npc give an item to a player, as part of his response to a player event. More...

#include <dictionary.h>

List of all members.

Public Member Functions

virtual csString GetResponseScript ()
 GiveItemResponseOp ()
virtual bool Load (iDocumentNode *node)
virtual bool Run (gemNPC *who, gemActor *target, NpcResponse *owner, csTicks &timeDelay, int &voiceNumber)
virtual ~GiveItemResponseOp ()

Protected Attributes

int count
psItemStatsitemstat
float quality

Detailed Description

This script operation makes an npc give an item to a player, as part of his response to a player event.

Definition at line 890 of file dictionary.h.


Constructor & Destructor Documentation

GiveItemResponseOp::GiveItemResponseOp ( ) [inline]

Definition at line 898 of file dictionary.h.

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

Definition at line 902 of file dictionary.h.


Member Function Documentation

virtual csString GiveItemResponseOp::GetResponseScript ( ) [virtual]

Implements ResponseOperation.

virtual bool GiveItemResponseOp::Load ( iDocumentNode *  node) [virtual]

Implements ResponseOperation.

virtual bool GiveItemResponseOp::Run ( gemNPC who,
gemActor target,
NpcResponse owner,
csTicks &  timeDelay,
int voiceNumber 
) [virtual]

Implements ResponseOperation.


Member Data Documentation

Definition at line 894 of file dictionary.h.

Definition at line 893 of file dictionary.h.

Definition at line 895 of file dictionary.h.


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