Interface for the player's journal (implemented in MWDialogue)
More...
#include <journal.hpp>
Interface for the player's journal (implemented in MWDialogue)
MWBase::Journal::Journal |
( |
const Journal & |
| ) |
|
|
private |
MWBase::Journal::Journal |
( |
| ) |
|
|
inline |
virtual MWBase::Journal::~Journal |
( |
| ) |
|
|
inlinevirtual |
virtual void MWBase::Journal::addEntry |
( |
const std::string & |
id, |
|
|
int |
index, |
|
|
const MWWorld::Ptr & |
actor |
|
) |
| |
|
pure virtual |
Add a journal entry.
- Parameters
-
actor | Used as context for replacing of escape sequences (name, etc). |
Implemented in MWDialogue::Journal.
virtual void MWBase::Journal::addTopic |
( |
const std::string & |
topicId, |
|
|
const std::string & |
infoId, |
|
|
const MWWorld::Ptr & |
actor |
|
) |
| |
|
pure virtual |
virtual TEntryIter MWBase::Journal::begin |
( |
| ) |
const |
|
pure virtual |
Iterator pointing to the begin of the main journal.
- Note
- Iterators to main journal entries will never become invalid.
Implemented in MWDialogue::Journal.
virtual void MWBase::Journal::clear |
( |
| ) |
|
|
pure virtual |
virtual int MWBase::Journal::countSavedGameRecords |
( |
| ) |
const |
|
pure virtual |
virtual int MWBase::Journal::getJournalIndex |
( |
const std::string & |
id | ) |
const |
|
pure virtual |
virtual TQuestIter MWBase::Journal::questBegin |
( |
| ) |
const |
|
pure virtual |
virtual TQuestIter MWBase::Journal::questEnd |
( |
| ) |
const |
|
pure virtual |
virtual void MWBase::Journal::readRecord |
( |
ESM::ESMReader & |
reader, |
|
|
uint32_t |
type |
|
) |
| |
|
pure virtual |
virtual void MWBase::Journal::removeLastAddedTopicResponse |
( |
const std::string & |
topicId, |
|
|
const std::string & |
actorName |
|
) |
| |
|
pure virtual |
- Note
- topicId must be lowercase Removes the last topic response added for the given topicId and actor name.
-
topicId must be lowercase
Implemented in MWDialogue::Journal.
virtual void MWBase::Journal::setJournalIndex |
( |
const std::string & |
id, |
|
|
int |
index |
|
) |
| |
|
pure virtual |
virtual TTopicIter MWBase::Journal::topicBegin |
( |
| ) |
const |
|
pure virtual |
Iterator pointing to the first topic (sorted by topic ID)
- Note
- The topic ID is identical with the user-visible topic string.
Implemented in MWDialogue::Journal.
virtual TTopicIter MWBase::Journal::topicEnd |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file:
- /home/travis/build/OpenMW/openmw/apps/openmw/mwbase/journal.hpp