Planeshift
Public Member Functions | Protected Attributes

EmoteOperation Class Reference

Emote will make the NPC show an emotion. More...

#include <npcoperations.h>

List of all members.

Public Member Functions

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

Protected Attributes

csString cmd
 The emote command.

Detailed Description

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.


Constructor & Destructor Documentation

EmoteOperation::EmoteOperation ( ) [inline]

Definition at line 873 of file npcoperations.h.

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

Definition at line 874 of file npcoperations.h.


Member Function Documentation

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.


Member Data Documentation

csString EmoteOperation::cmd [protected]

The emote command.

Definition at line 869 of file npcoperations.h.


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