Planeshift
Public Member Functions | Protected Types | Protected Attributes

SetBufferOperation Class Reference

SetBuffer will set a buffer for tribe or npc. 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)
 SetBufferOperation ()
virtual ~SetBufferOperation ()

Protected Types

enum  { NPC_BUFFER = 0, TRIBE_BUFFER = 1 }

Protected Attributes

csString buffer
int type
csString value

Detailed Description

SetBuffer will set a buffer for tribe or npc.

Definition at line 1496 of file npcoperations.h.


Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
NPC_BUFFER 
TRIBE_BUFFER 

Definition at line 1499 of file npcoperations.h.


Constructor & Destructor Documentation

SetBufferOperation::SetBufferOperation ( ) [inline]

Definition at line 1511 of file npcoperations.h.

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

Definition at line 1512 of file npcoperations.h.


Member Function Documentation

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.


Member Data Documentation

csString SetBufferOperation::buffer [protected]

Definition at line 1505 of file npcoperations.h.

Definition at line 1507 of file npcoperations.h.

csString SetBufferOperation::value [protected]

Definition at line 1506 of file npcoperations.h.


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