Planeshift
|
Transfer will transfer a item from the NPC to a target. More...
#include <npcoperations.h>
Public Member Functions | |
virtual bool | Load (iDocumentNode *node) |
virtual ScriptOperation * | MakeCopy () |
virtual OperationResult | Run (NPC *npc, bool interrupted) |
TransferOperation () | |
virtual | ~TransferOperation () |
Protected Attributes | |
int | count |
csString | item |
csString | target |
Transfer will transfer a item from the NPC to a target.
The target might be a tribe.
Definition at line 1615 of file npcoperations.h.
TransferOperation::TransferOperation | ( | ) | [inline] |
Definition at line 1624 of file npcoperations.h.
virtual TransferOperation::~TransferOperation | ( | ) | [inline, virtual] |
Definition at line 1625 of file npcoperations.h.
virtual bool TransferOperation::Load | ( | iDocumentNode * | node | ) | [virtual] |
Reimplemented from ScriptOperation.
virtual ScriptOperation* TransferOperation::MakeCopy | ( | ) | [virtual] |
Implements ScriptOperation.
virtual OperationResult TransferOperation::Run | ( | NPC * | npc, |
bool | interrupted | ||
) | [virtual] |
Implements ScriptOperation.
int TransferOperation::count [protected] |
Definition at line 1619 of file npcoperations.h.
csString TransferOperation::item [protected] |
Definition at line 1618 of file npcoperations.h.
csString TransferOperation::target [protected] |
Definition at line 1620 of file npcoperations.h.