Go to the documentation of this file.
13 #ifndef _MESSAGEMANAGER_H
14 #define _MESSAGEMANAGER_H
31 virtual QString
displayName()
const override {
return tr(
"NPC dialogs"); }
53 const QList<MessageFile*>&
messages()
const;
79 void findPrePost(
const QString directory, QList<QuestConditionScript*>&
list);
QString loadScriptComment(const QString &path) const
QList< QuestConditionScript * > myPreConditions
MessageFile * findMessage(const QString &path)
virtual PossibleUse uses(const AssetWrapper *asset, std::string &) const override
QList< MessageFile * > & messages()
MessageManager(AssetWrapper *parent)
QList< QuestConditionScript * > postConditions() const
virtual int childrenCount() const override
QList< QuestConditionScript * > myPostConditions
virtual ~MessageManager()
QList< QuestConditionScript * > preConditions() const
virtual QString displayName() const override
QList< MessageFile * > myMessages
void loadDirectory(const QString &directory)
virtual AssetWrapper * child(int child) override
virtual int childIndex(AssetWrapper *child) override
void findPrePost(const QString directory, QList< QuestConditionScript * > &list)