Planeshift
Public Member Functions | Protected Attributes

ProgressScriptOperation Class Reference

Script will make the progression script run at server. More...

#include <npcoperations.h>

List of all members.

Public Member Functions

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

Protected Attributes

csString scriptName
 The name of the script to run.

Detailed Description

Script will make the progression script run at server.

This class is the implementation of the script operations used in behavior scripts for NPCS.

Examples:

  <script name="my_script" /> 

Definition at line 1446 of file npcoperations.h.


Constructor & Destructor Documentation

ProgressScriptOperation::ProgressScriptOperation ( ) [inline]

Definition at line 1455 of file npcoperations.h.

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

Definition at line 1456 of file npcoperations.h.


Member Function Documentation

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

Reimplemented from ScriptOperation.

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

Implements ScriptOperation.

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

Implements ScriptOperation.


Member Data Documentation

The name of the script to run.

Definition at line 1449 of file npcoperations.h.


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