Crossfire Server, Trunk  R20513
Data Fields
talk_info Struct Reference

Structure used to build up dialog information when a player says something. More...

#include <dialog.h>

Collaboration diagram for talk_info:
Collaboration graph

Data Fields

sstring message
 If not NULL, what the player will be displayed as said. More...
 
int message_type
 A reply_type value for message. More...
 
int npc_msg_count
 How many NPCs reacted to the text being said. More...
 
sstring npc_msgs [MAX_NPC]
 What the NPCs will say. More...
 
sstring replies [MAX_REPLIES]
 Description for replies_words. More...
 
int replies_count
 How many items in replies_words and replies. More...
 
sstring replies_words [MAX_REPLIES]
 Available reply words. More...
 
const char * text
 What the player actually said. More...
 
struct objwho
 Player saying something. More...
 

Detailed Description

Structure used to build up dialog information when a player says something.

See also
monster_communicate().

Definition at line 51 of file dialog.h.

Field Documentation

sstring talk_info::message

If not NULL, what the player will be displayed as said.

Definition at line 54 of file dialog.h.

Referenced by monster_communicate(), monster_do_talk_npc(), and setPlayerMessage().

int talk_info::message_type

A reply_type value for message.

Definition at line 55 of file dialog.h.

Referenced by monster_communicate(), monster_do_talk_npc(), and setPlayerMessage().

int talk_info::npc_msg_count

How many NPCs reacted to the text being said.

Definition at line 59 of file dialog.h.

Referenced by Crossfire_Object_Say(), monster_communicate(), monster_do_talk_npc(), and npcSay().

sstring talk_info::npc_msgs[MAX_NPC]

What the NPCs will say.

Definition at line 60 of file dialog.h.

Referenced by Crossfire_Object_Say(), monster_communicate(), monster_do_talk_npc(), and npcSay().

sstring talk_info::replies[MAX_REPLIES]

Description for replies_words.

Definition at line 58 of file dialog.h.

Referenced by addReply(), monster_communicate(), and monster_do_talk_npc().

int talk_info::replies_count

How many items in replies_words and replies.

Definition at line 56 of file dialog.h.

Referenced by addReply(), monster_communicate(), and monster_do_talk_npc().

sstring talk_info::replies_words[MAX_REPLIES]

Available reply words.

Definition at line 57 of file dialog.h.

Referenced by addReply(), monster_communicate(), and monster_do_talk_npc().

const char* talk_info::text

What the player actually said.

Definition at line 53 of file dialog.h.

Referenced by monster_communicate(), monster_do_talk_npc(), and plugin_event_say().

struct obj* talk_info::who

Player saying something.

Definition at line 52 of file dialog.h.

Referenced by monster_communicate(), monster_talk_to_npc(), and plugin_event_say().


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