|
Planeshift
|
Emote will make the NPC show an emotion. More...
#include <npcoperations.h>
Public Member Functions | |
| EmoteOperation () | |
| virtual bool | Load (iDocumentNode *node) |
| virtual ScriptOperation * | MakeCopy () |
| virtual OperationResult | Run (NPC *npc, bool interrupted) |
| virtual | ~EmoteOperation () |
Protected Attributes | |
| csString | cmd |
| The emote command. | |
Emote will make the NPC show an emotion.
This class is the implementation of the emote operations used in behavior scripts for NPCS.
Examples:
<emote cmd="greet" />
Definition at line 866 of file npcoperations.h.
| EmoteOperation::EmoteOperation | ( | ) | [inline] |
Definition at line 873 of file npcoperations.h.
| virtual EmoteOperation::~EmoteOperation | ( | ) | [inline, virtual] |
Definition at line 874 of file npcoperations.h.
| virtual bool EmoteOperation::Load | ( | iDocumentNode * | node | ) | [virtual] |
Reimplemented from ScriptOperation.
| virtual ScriptOperation* EmoteOperation::MakeCopy | ( | ) | [virtual] |
Implements ScriptOperation.
| virtual OperationResult EmoteOperation::Run | ( | NPC * | npc, |
| bool | interrupted | ||
| ) | [virtual] |
Implements ScriptOperation.
csString EmoteOperation::cmd [protected] |
The emote command.
Definition at line 869 of file npcoperations.h.
1.7.3