Planeshift
Public Member Functions | Protected Attributes

PickupOperation Class Reference

Pickup will tell the npc to pickup a nearby entity (or fake it). More...

#include <npcoperations.h>

List of all members.

Public Member Functions

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

Protected Attributes

int count
csString object
csString slot

Detailed Description

Pickup will tell the npc to pickup a nearby entity (or fake it).

Definition at line 1281 of file npcoperations.h.


Constructor & Destructor Documentation

PickupOperation::PickupOperation ( ) [inline]

Definition at line 1290 of file npcoperations.h.

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

Definition at line 1291 of file npcoperations.h.


Member Function Documentation

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

Reimplemented from ScriptOperation.

virtual ScriptOperation* PickupOperation::MakeCopy ( ) [virtual]

Implements ScriptOperation.

virtual OperationResult PickupOperation::Run ( NPC npc,
bool  interrupted 
) [virtual]

Implements ScriptOperation.


Member Data Documentation

Definition at line 1286 of file npcoperations.h.

csString PickupOperation::object [protected]

Definition at line 1284 of file npcoperations.h.

csString PickupOperation::slot [protected]

Definition at line 1285 of file npcoperations.h.


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