The player's journal.
More...
#include <journalimp.hpp>
MWDialogue::Journal::Journal |
( |
| ) |
|
void MWDialogue::Journal::addEntry |
( |
const std::string & |
id, |
|
|
int |
index, |
|
|
const MWWorld::Ptr & |
actor |
|
) |
| |
|
virtual |
Add a journal entry.
- Parameters
-
actor | Used as context for replacing of escape sequences (name, etc). |
Implements MWBase::Journal.
void MWDialogue::Journal::addTopic |
( |
const std::string & |
topicId, |
|
|
const std::string & |
infoId, |
|
|
const MWWorld::Ptr & |
actor |
|
) |
| |
|
virtual |
Iterator pointing to the begin of the main journal.
- Note
- Iterators to main journal entries will never become invalid.
Implements MWBase::Journal.
void MWDialogue::Journal::clear |
( |
| ) |
|
|
virtual |
int MWDialogue::Journal::countSavedGameRecords |
( |
| ) |
const |
|
virtual |
Iterator pointing past the end of the main journal.
Implements MWBase::Journal.
int MWDialogue::Journal::getJournalIndex |
( |
const std::string & |
id | ) |
const |
|
virtual |
Quest & MWDialogue::Journal::getQuest |
( |
const std::string & |
id | ) |
|
|
private |
Topic & MWDialogue::Journal::getTopic |
( |
const std::string & |
id | ) |
|
|
private |
bool MWDialogue::Journal::isThere |
( |
const std::string & |
topicId, |
|
|
const std::string & |
infoId = "" |
|
) |
| const |
|
private |
Iterator pointing to the first quest (sorted by topic ID)
Implements MWBase::Journal.
void MWDialogue::Journal::readRecord |
( |
ESM::ESMReader & |
reader, |
|
|
uint32_t |
type |
|
) |
| |
|
virtual |
void MWDialogue::Journal::removeLastAddedTopicResponse |
( |
const std::string & |
topicId, |
|
|
const std::string & |
actorName |
|
) |
| |
|
virtual |
- Note
- topicId must be lowercase Removes the last topic response added for the given topicId and actor name.
-
topicId must be lowercase
Implements MWBase::Journal.
void MWDialogue::Journal::setJournalIndex |
( |
const std::string & |
id, |
|
|
int |
index |
|
) |
| |
|
virtual |
Iterator pointing to the first topic (sorted by topic ID)
- Note
- The topic ID is identical with the user-visible topic string.
Implements MWBase::Journal.
The documentation for this class was generated from the following files:
- /home/travis/build/OpenMW/openmw/apps/openmw/mwdialogue/journalimp.hpp
- /home/travis/build/OpenMW/openmw/apps/openmw/mwdialogue/journalimp.cpp