Planeshift
|
Script will make the progression script run at server. More...
#include <npcoperations.h>
Public Member Functions | |
virtual bool | Load (iDocumentNode *node) |
virtual ScriptOperation * | MakeCopy () |
ProgressScriptOperation () | |
virtual OperationResult | Run (NPC *npc, bool interrupted) |
virtual | ~ProgressScriptOperation () |
Protected Attributes | |
csString | scriptName |
The name of the script to run. |
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.
ProgressScriptOperation::ProgressScriptOperation | ( | ) | [inline] |
Definition at line 1455 of file npcoperations.h.
virtual ProgressScriptOperation::~ProgressScriptOperation | ( | ) | [inline, virtual] |
Definition at line 1456 of file npcoperations.h.
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.
csString ProgressScriptOperation::scriptName [protected] |
The name of the script to run.
Definition at line 1449 of file npcoperations.h.