Planeshift
Public Member Functions | Protected Attributes

TransferOperation Class Reference

Transfer will transfer a item from the NPC to a target. More...

#include <npcoperations.h>

List of all members.

Public Member Functions

virtual bool Load (iDocumentNode *node)
virtual ScriptOperationMakeCopy ()
virtual OperationResult Run (NPC *npc, bool interrupted)
 TransferOperation ()
virtual ~TransferOperation ()

Protected Attributes

int count
csString item
csString target

Detailed Description

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.


Constructor & Destructor Documentation

TransferOperation::TransferOperation ( ) [inline]

Definition at line 1624 of file npcoperations.h.

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

Definition at line 1625 of file npcoperations.h.


Member Function Documentation

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.


Member Data Documentation

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.


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