Planeshift
|
Equip will tell the npc to equip a item. More...
#include <npcoperations.h>
Public Member Functions | |
EquipOperation () | |
virtual bool | Load (iDocumentNode *node) |
virtual ScriptOperation * | MakeCopy () |
virtual OperationResult | Run (NPC *npc, bool interrupted) |
virtual | ~EquipOperation () |
Protected Attributes | |
int | count |
csString | item |
csString | slot |
Equip will tell the npc to equip a item.
Examples:
<equip item="Sword" slot="righthand" count="1" />
Definition at line 888 of file npcoperations.h.
EquipOperation::EquipOperation | ( | ) | [inline] |
Definition at line 897 of file npcoperations.h.
virtual EquipOperation::~EquipOperation | ( | ) | [inline, virtual] |
Definition at line 898 of file npcoperations.h.
virtual bool EquipOperation::Load | ( | iDocumentNode * | node | ) | [virtual] |
Reimplemented from ScriptOperation.
virtual ScriptOperation* EquipOperation::MakeCopy | ( | ) | [virtual] |
Implements ScriptOperation.
virtual OperationResult EquipOperation::Run | ( | NPC * | npc, |
bool | interrupted | ||
) | [virtual] |
Implements ScriptOperation.
int EquipOperation::count [protected] |
Definition at line 893 of file npcoperations.h.
csString EquipOperation::item [protected] |
Definition at line 891 of file npcoperations.h.
csString EquipOperation::slot [protected] |
Definition at line 892 of file npcoperations.h.