Planeshift
|
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>
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 |
psItemStats * | itemstat |
float | quality |
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.
GiveItemResponseOp::GiveItemResponseOp | ( | ) | [inline] |
Definition at line 898 of file dictionary.h.
virtual GiveItemResponseOp::~GiveItemResponseOp | ( | ) | [inline, virtual] |
Definition at line 902 of file dictionary.h.
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.
int GiveItemResponseOp::count [protected] |
Definition at line 894 of file dictionary.h.
psItemStats* GiveItemResponseOp::itemstat [protected] |
Definition at line 893 of file dictionary.h.
float GiveItemResponseOp::quality [protected] |
Definition at line 895 of file dictionary.h.