|
OpenMW
|
A quest in progress or a compelted quest. More...
#include <quest.hpp>
Public Member Functions | |
| Quest () | |
| Quest (const std::string &topic) | |
| const std::string | getName () const |
| May be an empty string. | |
| int | getIndex () const |
| void | setIndex (int index) |
| Calling this function with a non-existant index while throw an exception. | |
| bool | isFinished () const |
| virtual void | addEntry (const JournalEntry &entry) |
Private Attributes | |
| int | mIndex |
| bool | mFinished |
A quest in progress or a compelted quest.
| MWDialogue::Quest::Quest | ( | const std::string & | topic | ) |
| void MWDialogue::Quest::addEntry | ( | const JournalEntry & | entry | ) | [virtual] |
Add entry and adjust index accordingly.
Reimplemented from MWDialogue::Topic.
| int MWDialogue::Quest::getIndex | ( | ) | const |
| const std::string MWDialogue::Quest::getName | ( | ) | const |
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-existant index while throw an exception.
bool MWDialogue::Quest::mFinished [private] |
int MWDialogue::Quest::mIndex [private] |
1.7.6.1