Crossfire Server, Trunk
struct_dialog_message Struct Reference

#include <dialog.h>

+ Collaboration diagram for struct_dialog_message:

Data Fields

bool identifies
 
char * match
 
char * message
 
struct struct_dialog_messagenext
 
struct struct_dialog_replyreplies
 

Detailed Description

One message a NPC can react to.

Definition at line 26 of file dialog.h.

Field Documentation

◆ identifies

bool struct_dialog_message::identifies

Identify the speaker when this message is matched.

Definition at line 31 of file dialog.h.

◆ match

char* struct_dialog_message::match

What the player should say, can be a regexp.

Definition at line 27 of file dialog.h.

◆ message

char* struct_dialog_message::message

What the NPC will say.

Definition at line 28 of file dialog.h.

◆ next

struct struct_dialog_message* struct_dialog_message::next

Next message, NULL if last.

Definition at line 30 of file dialog.h.

◆ replies

struct struct_dialog_reply* struct_dialog_message::replies

Replies this message has.

Definition at line 29 of file dialog.h.


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