Crossfire Server, Trunk  R20513
Data Fields
GeneralMessage Struct Reference

One general message, from the lib/messages file. More...

Collaboration diagram for GeneralMessage:
Collaboration graph

Data Fields

int chance
 Relative chance of the message appearing randomly. More...
 
unsigned int face
 Face the message displays at in the knowledge dialog, -1 if no face defined. More...
 
sstring identifier
 Message identifier, can be NULL. More...
 
sstring message
 The message's body. More...
 
GeneralMessagenext
 Next message in the list. More...
 
sstring quest_code
 Optional quest code and state this message will start. More...
 
sstring title
 The message's title, only used for knowledge. More...
 

Detailed Description

One general message, from the lib/messages file.

Definition at line 134 of file readable.c.

Field Documentation

int GeneralMessage::chance

Relative chance of the message appearing randomly.

If 0 will never appear.

Definition at line 135 of file readable.c.

Referenced by init_msgfile(), and msgfile_msg().

unsigned int GeneralMessage::face

Face the message displays at in the knowledge dialog, -1 if no face defined.

Definition at line 141 of file readable.c.

Referenced by get_message_face(), and init_msgfile().

sstring GeneralMessage::identifier

Message identifier, can be NULL.

Definition at line 137 of file readable.c.

Referenced by free_all_readable(), get_message_from_identifier(), init_msgfile(), and msgfile_msg().

sstring GeneralMessage::message

The message's body.

Definition at line 139 of file readable.c.

Referenced by free_all_readable(), get_message_body(), init_msgfile(), and msgfile_msg().

GeneralMessage* GeneralMessage::next

Next message in the list.

Definition at line 142 of file readable.c.

Referenced by free_all_readable(), get_message_from_identifier(), init_msgfile(), and msgfile_msg().

sstring GeneralMessage::quest_code

Optional quest code and state this message will start.

Definition at line 140 of file readable.c.

Referenced by free_all_readable(), init_msgfile(), and msgfile_msg().

sstring GeneralMessage::title

The message's title, only used for knowledge.

Definition at line 138 of file readable.c.

Referenced by free_all_readable(), get_message_title(), and init_msgfile().


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