![]() |
Crossfire Server, Trunk
1.75.0
|
One general message, from the lib/messages file. More...
#include <book.h>
Data Fields | |
int | chance |
Relative chance of the message appearing randomly. More... | |
const Face * | face |
Face the message displays at in the knowledge dialog, NULL if no face defined. More... | |
sstring | identifier |
Message identifier, can be NULL. More... | |
sstring | message |
The message's body. 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... | |
int GeneralMessage::chance |
Relative chance of the message appearing randomly.
If 0 will never appear.
Definition at line 45 of file book.h.
Referenced by Messages::added(), MessageLoader::load(), and Messages::replace().
const Face* GeneralMessage::face |
Face the message displays at in the knowledge dialog, NULL if no face defined.
Definition at line 51 of file book.h.
Referenced by MessageLoader::load().
sstring GeneralMessage::identifier |
Message identifier, can be NULL.
Definition at line 47 of file book.h.
Referenced by asset_create(), asset_destroy(), MessageLoader::load(), msgfile_msg(), and Messages::replace().
sstring GeneralMessage::message |
The message's body.
Definition at line 49 of file book.h.
Referenced by asset_destroy(), MessageLoader::load(), msgfile_msg(), and Messages::replace().
sstring GeneralMessage::quest_code |
Optional quest code and state this message will start.
Definition at line 50 of file book.h.
Referenced by asset_destroy(), MessageLoader::load(), msgfile_msg(), and Messages::replace().
sstring GeneralMessage::title |
The message's title, only used for knowledge.
Definition at line 48 of file book.h.
Referenced by asset_destroy(), MessageLoader::load(), and Messages::replace().