Crossfire Server, Trunk  R20805
struct_dialog_message Struct Reference

#include <dialog.h>

+ Collaboration diagram for struct_dialog_message:

Data Fields

char * match
 
char * message
 
struct struct_dialog_messagenext
 
struct struct_dialog_replyreplies
 

Detailed Description

One message a NPC can react to.

Definition at line 28 of file dialog.h.

Field Documentation

◆ match

char* struct_dialog_message::match

What the player should say, can be a regexp.

Definition at line 29 of file dialog.h.

Referenced by free_dialog_information(), and parse_dialog_information().

◆ message

char* struct_dialog_message::message

What the NPC will say.

Definition at line 30 of file dialog.h.

Referenced by free_dialog_information(), monster_do_talk_npc(), and parse_dialog_information().

◆ next

struct struct_dialog_message* struct_dialog_message::next

Next message, NULL if last.

Definition at line 32 of file dialog.h.

Referenced by free_dialog_information(), get_dialog_message(), and parse_dialog_information().

◆ replies

struct struct_dialog_reply* struct_dialog_message::replies

Replies this message has.

Definition at line 31 of file dialog.h.

Referenced by free_dialog_information(), monster_do_talk_npc(), and parse_dialog_information().


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