Planeshift
|
SetBuffer will set a buffer for tribe or npc. More...
#include <npcoperations.h>
Public Member Functions | |
virtual bool | Load (iDocumentNode *node) |
virtual ScriptOperation * | MakeCopy () |
virtual OperationResult | Run (NPC *npc, bool interrupted) |
SetBufferOperation () | |
virtual | ~SetBufferOperation () |
Protected Types | |
enum | { NPC_BUFFER = 0, TRIBE_BUFFER = 1 } |
Protected Attributes | |
csString | buffer |
int | type |
csString | value |
SetBuffer will set a buffer for tribe or npc.
Definition at line 1496 of file npcoperations.h.
anonymous enum [protected] |
Definition at line 1499 of file npcoperations.h.
SetBufferOperation::SetBufferOperation | ( | ) | [inline] |
Definition at line 1511 of file npcoperations.h.
virtual SetBufferOperation::~SetBufferOperation | ( | ) | [inline, virtual] |
Definition at line 1512 of file npcoperations.h.
virtual bool SetBufferOperation::Load | ( | iDocumentNode * | node | ) | [virtual] |
Reimplemented from ScriptOperation.
virtual ScriptOperation* SetBufferOperation::MakeCopy | ( | ) | [virtual] |
Implements ScriptOperation.
virtual OperationResult SetBufferOperation::Run | ( | NPC * | npc, |
bool | interrupted | ||
) | [virtual] |
Implements ScriptOperation.
csString SetBufferOperation::buffer [protected] |
Definition at line 1505 of file npcoperations.h.
int SetBufferOperation::type [protected] |
Definition at line 1507 of file npcoperations.h.
csString SetBufferOperation::value [protected] |
Definition at line 1506 of file npcoperations.h.