Crossfire Server, Trunk
|
#include <dialog.h>
Data Fields | |
sstring | message |
reply_type | message_type |
int | npc_msg_count |
sstring | npc_msgs [MAX_NPC] |
sstring | replies [MAX_REPLIES] |
int | replies_count |
sstring | replies_words [MAX_REPLIES] |
const char * | text |
struct object * | who |
Structure used to build up dialog information when a player says something.
sstring talk_info::message |
If not NULL, what the player will be displayed as said.
Definition at line 53 of file dialog.h.
Referenced by monster_communicate(), monster_do_talk_npc(), and setPlayerMessage().
reply_type talk_info::message_type |
A reply_type value for message.
Definition at line 54 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 58 of file dialog.h.
Referenced by Crossfire_Object_Say(), monster_communicate(), monster_do_talk_npc(), and npcSay().
What the NPCs will say.
Definition at line 59 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 57 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 55 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 56 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 52 of file dialog.h.
Referenced by events_execute_object_say(), monster_communicate(), and monster_do_talk_npc().
struct object* talk_info::who |
Player saying something.
Definition at line 51 of file dialog.h.
Referenced by events_execute_object_say(), monster_communicate(), and monster_talk_to_npc().