Crossfire Server, Trunk
|
#include <MessageFile.h>
Public Member Functions | |
const QString & | comment () const |
const QStringList & | include () const |
bool | isModified () const |
QStringList & | match () |
const QStringList & | match () const |
MessageRule () | |
MessageRule (const MessageRule &original) | |
const QStringList & | messages () const |
const QList< QStringList > & | postconditions () const |
const QList< QStringList > & | preconditions () const |
const QList< QStringList > & | replies () const |
void | setComment (const QString &comment) |
void | setInclude (const QStringList &include) |
void | setMatch (const QStringList &match) |
void | setMessages (const QStringList &messages) |
void | setModified (bool modified=true) |
void | setPostconditions (const QList< QStringList > &postconditions) |
void | setPreconditions (const QList< QStringList > &preconditions) |
void | setReplies (const QList< QStringList > &replies) |
virtual | ~MessageRule () |
Private Attributes | |
QString | myComment |
QStringList | myInclude |
bool | myIsModified |
QStringList | myMatch |
QStringList | myMessages |
QList< QStringList > | myPostconditions |
QList< QStringList > | myPreconditions |
QList< QStringList > | myReplies |
One NPC dialog rule.
Definition at line 25 of file MessageFile.h.
MessageRule::MessageRule | ( | ) |
Definition at line 23 of file MessageFile.cpp.
References myIsModified.
MessageRule::MessageRule | ( | const MessageRule & | original | ) |
Definition at line 28 of file MessageFile.cpp.
References match(), messages(), myIsModified, myMatch, myMessages, myPostconditions, myPreconditions, myReplies, postconditions(), preconditions(), and replies().
|
virtual |
Definition at line 38 of file MessageFile.cpp.
const QString & MessageRule::comment | ( | ) | const |
Definition at line 42 of file MessageFile.cpp.
References myComment.
Referenced by setComment().
const QStringList & MessageRule::include | ( | ) | const |
Definition at line 97 of file MessageFile.cpp.
References myInclude.
Referenced by setInclude().
bool MessageRule::isModified | ( | ) | const |
Definition at line 117 of file MessageFile.cpp.
References myIsModified.
QStringList& MessageRule::match | ( | ) |
QStringList & MessageRule::match | ( | ) | const |
Definition at line 52 of file MessageFile.cpp.
References myMatch.
Referenced by MessageRule(), and setMatch().
const QStringList & MessageRule::messages | ( | ) | const |
Definition at line 87 of file MessageFile.cpp.
References myMessages.
Referenced by MessageRule(), and setMessages().
const QList< QStringList > & MessageRule::postconditions | ( | ) | const |
Definition at line 77 of file MessageFile.cpp.
References myPostconditions.
Referenced by MessageRule(), and setPostconditions().
const QList< QStringList > & MessageRule::preconditions | ( | ) | const |
Definition at line 67 of file MessageFile.cpp.
References myPreconditions.
Referenced by MessageRule(), and setPreconditions().
const QList< QStringList > & MessageRule::replies | ( | ) | const |
Definition at line 107 of file MessageFile.cpp.
References myReplies.
Referenced by MessageRule(), and setReplies().
void MessageRule::setComment | ( | const QString & | comment | ) |
Definition at line 47 of file MessageFile.cpp.
References comment(), and myComment.
void MessageRule::setInclude | ( | const QStringList & | include | ) |
Definition at line 102 of file MessageFile.cpp.
References include(), and myInclude.
void MessageRule::setMatch | ( | const QStringList & | match | ) |
Definition at line 62 of file MessageFile.cpp.
References match(), and myMatch.
void MessageRule::setMessages | ( | const QStringList & | messages | ) |
Definition at line 92 of file MessageFile.cpp.
References messages(), and myMessages.
void MessageRule::setModified | ( | bool | modified = true | ) |
Definition at line 122 of file MessageFile.cpp.
References myIsModified.
void MessageRule::setPostconditions | ( | const QList< QStringList > & | postconditions | ) |
Definition at line 82 of file MessageFile.cpp.
References myPostconditions, and postconditions().
void MessageRule::setPreconditions | ( | const QList< QStringList > & | preconditions | ) |
Definition at line 72 of file MessageFile.cpp.
References myPreconditions, and preconditions().
void MessageRule::setReplies | ( | const QList< QStringList > & | replies | ) |
Definition at line 112 of file MessageFile.cpp.
References myReplies, and replies().
|
private |
Definition at line 55 of file MessageFile.h.
Referenced by comment(), and setComment().
|
private |
Definition at line 60 of file MessageFile.h.
Referenced by include(), and setInclude().
|
private |
Definition at line 54 of file MessageFile.h.
Referenced by isModified(), MessageRule(), and setModified().
|
private |
Definition at line 56 of file MessageFile.h.
Referenced by match(), MessageRule(), and setMatch().
|
private |
Definition at line 59 of file MessageFile.h.
Referenced by MessageRule(), messages(), and setMessages().
|
private |
Definition at line 58 of file MessageFile.h.
Referenced by MessageRule(), postconditions(), and setPostconditions().
|
private |
Definition at line 57 of file MessageFile.h.
Referenced by MessageRule(), preconditions(), and setPreconditions().
|
private |
Definition at line 61 of file MessageFile.h.
Referenced by MessageRule(), replies(), and setReplies().