1 #ifndef GAME_MWBASE_JOURNAL_H
2 #define GAME_MWBASE_JOURNAL_H
10 #include "../mwdialogue/journalentry.hpp"
11 #include "../mwdialogue/topic.hpp"
12 #include "../mwdialogue/quest.hpp"
49 virtual void clear() = 0;
63 virtual void addTopic (
const std::string& topicId,
const std::string& infoId,
const MWWorld::Ptr& actor) = 0;
virtual ~Journal()
Definition: journal.hpp:51
virtual void readRecord(ESM::ESMReader &reader, uint32_t type)=0
std::map< std::string, MWDialogue::Quest > TQuestContainer
Definition: journal.hpp:40
Definition: esmreader.hpp:21
Interface for the player's journal (implemented in MWDialogue)
Definition: journal.hpp:28
virtual TTopicIter topicBegin() const =0
std::deque< MWDialogue::StampedJournalEntry > TEntryContainer
Definition: journal.hpp:38
virtual TTopicIter topicEnd() const =0
Iterator pointing past the last topic.
virtual void addEntry(const std::string &id, int index, const MWWorld::Ptr &actor)=0
virtual int getJournalIndex(const std::string &id) const =0
Get the journal index.
std::map< std::string, MWDialogue::Topic > TTopicContainer
Definition: journal.hpp:42
Definition: loadinglistener.hpp:8
virtual void setJournalIndex(const std::string &id, int index)=0
Set the journal index without adding an entry.
Definition: esmwriter.hpp:17
virtual void removeLastAddedTopicResponse(const std::string &topicId, const std::string &actorName)=0
TQuestContainer::const_iterator TQuestIter
Definition: journal.hpp:41
virtual TEntryIter begin() const =0
virtual TEntryIter end() const =0
Iterator pointing past the end of the main journal.
virtual TQuestIter questBegin() const =0
Iterator pointing to the first quest (sorted by topic ID)
TEntryContainer::const_iterator TEntryIter
Definition: journal.hpp:39
Journal & operator=(const Journal &)
not implemented
virtual void addTopic(const std::string &topicId, const std::string &infoId, const MWWorld::Ptr &actor)=0
virtual void write(ESM::ESMWriter &writer, Loading::Listener &progress) const =0
TTopicContainer::const_iterator TTopicIter
Definition: journal.hpp:43
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
virtual TQuestIter questEnd() const =0
Iterator pointing past the last quest.
Journal()
Definition: journal.hpp:47
virtual int countSavedGameRecords() const =0