|
OpenMW
|
A quest in progress or a completed quest. More...
#include <quest.hpp>
Public Member Functions | |
| Quest () | |
| Quest (const std::string &topic) | |
| Quest (const ESM::QuestState &state) | |
| virtual std::string | getName () const |
| May be an empty string. More... | |
| int | getIndex () const |
| void | setIndex (int index) |
| Calling this function with a non-existent index will throw an exception. More... | |
| bool | isFinished () const |
| virtual void | addEntry (const JournalEntry &entry) |
| void | write (ESM::QuestState &state) const |
Public Member Functions inherited from MWDialogue::Topic | |
| Topic () | |
| Topic (const std::string &topic) | |
| virtual | ~Topic () |
| void | insertEntry (const ESM::JournalEntry &entry) |
| std::string | getTopic () const |
| void | removeLastAddedResponse (const std::string &actorName) |
| TEntryIter | begin () const |
| Iterator pointing to the begin of the journal for this topic. More... | |
| TEntryIter | end () const |
| Iterator pointing past the end of the journal for this topic. More... | |
Private Attributes | |
| int | mIndex |
| bool | mFinished |
Additional Inherited Members | |
Public Types inherited from MWDialogue::Topic | |
| typedef std::vector< Entry > | TEntryContainer |
| typedef TEntryContainer::const_iterator | TEntryIter |
Protected Attributes inherited from MWDialogue::Topic | |
| std::string | mTopic |
| std::string | mName |
| TEntryContainer | mEntries |
A quest in progress or a completed quest.
| MWDialogue::Quest::Quest | ( | ) |
| MWDialogue::Quest::Quest | ( | const std::string & | topic | ) |
| MWDialogue::Quest::Quest | ( | const ESM::QuestState & | state | ) |
|
virtual |
Add entry and adjust index accordingly.
Reimplemented from MWDialogue::Topic.
| int MWDialogue::Quest::getIndex | ( | ) | const |
|
virtual |
May be an empty string.
Reimplemented from MWDialogue::Topic.
| bool MWDialogue::Quest::isFinished | ( | ) | const |
| void MWDialogue::Quest::setIndex | ( | int | index | ) |
Calling this function with a non-existent index will throw an exception.
| void MWDialogue::Quest::write | ( | ESM::QuestState & | state | ) | const |
|
private |
|
private |
1.8.6