Crossfire Server, Trunk
R22010
|
#include <book.h>
Data Fields | |
int | chance |
const Face * | face |
sstring | identifier |
sstring | message |
sstring | quest_code |
sstring | title |
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(), Messages::replace(), CREGeneralMessagePanel::setItem(), and MessageWriter::write().
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 CREUtils::generalMessageNode(), get_message_face(), and MessageWriter::write().
sstring GeneralMessage::identifier |
Message identifier, can be NULL.
Definition at line 47 of file book.h.
Referenced by Messages::create(), Messages::destroy(), CREUtils::generalMessageNode(), msgfile_msg(), Messages::replace(), CREGeneralMessagePanel::setItem(), and MessageWriter::write().
sstring GeneralMessage::message |
The message's body.
Definition at line 49 of file book.h.
Referenced by Messages::destroy(), get_message_body(), msgfile_msg(), Messages::replace(), CREGeneralMessagePanel::setItem(), and MessageWriter::write().
sstring GeneralMessage::quest_code |
Optional quest code and state this message will start.
Definition at line 50 of file book.h.
Referenced by Messages::destroy(), msgfile_msg(), Messages::replace(), CREGeneralMessagePanel::setItem(), and MessageWriter::write().
sstring GeneralMessage::title |
The message's title, only used for knowledge.
Definition at line 48 of file book.h.
Referenced by Messages::destroy(), CREUtils::generalMessageNode(), get_message_title(), Messages::replace(), CREGeneralMessagePanel::setItem(), and MessageWriter::write().