Planeshift
|
Talk will tell the npc to communicate to a nearby entity. More...
#include <npcoperations.h>
Public Member Functions | |
virtual bool | Load (iDocumentNode *node) |
virtual ScriptOperation * | MakeCopy () |
virtual OperationResult | Run (NPC *npc, bool interrupted) |
TalkOperation () | |
virtual | ~TalkOperation () |
Protected Types | |
typedef psNPCCommandsMessage::PerceptionTalkType | TalkType |
Protected Attributes | |
csString | command |
Command to percept to target if target is a NPC. | |
bool | talkPublic |
Should this be public or only to the target. | |
csString | talkText |
The text to send to the clients. | |
TalkType | talkType |
What kind of talk, default say. | |
bool | target |
True if this is should go to the target of the NPC. |
Talk will tell the npc to communicate to a nearby entity.
Definition at line 1571 of file npcoperations.h.
typedef psNPCCommandsMessage::PerceptionTalkType TalkOperation::TalkType [protected] |
Definition at line 1574 of file npcoperations.h.
TalkOperation::TalkOperation | ( | ) | [inline] |
Definition at line 1584 of file npcoperations.h.
virtual TalkOperation::~TalkOperation | ( | ) | [inline, virtual] |
Definition at line 1585 of file npcoperations.h.
virtual bool TalkOperation::Load | ( | iDocumentNode * | node | ) | [virtual] |
Reimplemented from ScriptOperation.
virtual ScriptOperation* TalkOperation::MakeCopy | ( | ) | [virtual] |
Implements ScriptOperation.
virtual OperationResult TalkOperation::Run | ( | NPC * | npc, |
bool | interrupted | ||
) | [virtual] |
Implements ScriptOperation.
csString TalkOperation::command [protected] |
Command to percept to target if target is a NPC.
Definition at line 1580 of file npcoperations.h.
bool TalkOperation::talkPublic [protected] |
Should this be public or only to the target.
Definition at line 1578 of file npcoperations.h.
csString TalkOperation::talkText [protected] |
The text to send to the clients.
Definition at line 1576 of file npcoperations.h.
TalkType TalkOperation::talkType [protected] |
What kind of talk, default say.
Definition at line 1577 of file npcoperations.h.
bool TalkOperation::target [protected] |
True if this is should go to the target of the NPC.
Definition at line 1579 of file npcoperations.h.