Athena IO Library
|
A Link to the Past data container class class. More...
#include <ALTTPFile.hpp>
Public Types | |
typedef std::vector< ALTTPQuest * >::iterator | QuestIter |
Quest Iterator. More... | |
Public Member Functions | |
ALTTPFile () | |
Default constructor. More... | |
ALTTPFile (std::vector< ALTTPQuest * > questList, std::vector< ALTTPQuest * > backupList) | |
Constructor. More... | |
void | setQuest (atUint32 id, ALTTPQuest *val) |
Sets a quest at the given index. More... | |
std::vector< ALTTPQuest * > | questList () const |
Returns the primary quest list. More... | |
ALTTPQuest * | quest (atUint32 id) const |
Returns a quest at the given index. More... | |
atUint32 | questCount () const |
Returns the number of primary quests. More... | |
A Link to the Past data container class class.
Contains all relevant data for an A Link to the Past SRM file.
Definition at line 18 of file ALTTPFile.hpp.
typedef std::vector<ALTTPQuest*>::iterator athena::ALTTPFile::QuestIter |
Quest Iterator.
An Iterator typedef for iterating through the Quest lists
Definition at line 25 of file ALTTPFile.hpp.
athena::ALTTPFile::ALTTPFile | ( | ) |
Default constructor.
athena::ALTTPFile::ALTTPFile | ( | std::vector< ALTTPQuest * > | questList, |
std::vector< ALTTPQuest * > | backupList | ||
) |
Constructor.
questList | The primary quest list |
backupList | The backup quest list |
ALTTPQuest* athena::ALTTPFile::quest | ( | atUint32 | id | ) | const |
Returns a quest at the given index.
Returns a quest at the given index
InvalidOperationException | on index out of range |
atUint32 athena::ALTTPFile::questCount | ( | ) | const |
Returns the number of primary quests.
std::vector<ALTTPQuest*> athena::ALTTPFile::questList | ( | ) | const |
Returns the primary quest list.
void athena::ALTTPFile::setQuest | ( | atUint32 | id, |
ALTTPQuest * | val | ||
) |
Sets a quest at the given index.
id | Index to the given quest |
val | The new quest to assign to the given index |
InvalidOperationException | on index out of range |