Athena IO Library
|
ZQuestFile is an export format for save data. More...
#include <ZQuestFile.hpp>
Public Types | |
enum | Game { NoGame, LoZ, AoL, ALttP, LA, OoT, OoT3D, MM, OoS, OoA, FS, WW, FSA, MC, TP, PH, ST, SS, ALBW, GameCount } |
The list of games currently supported by ZQuest. More... | |
Public Member Functions | |
ZQuestFile () | |
ZQuest. | |
ZQuestFile (Game game, Endian endian, atUint8 *data, atUint32 length, const std::string &gameString=std::string()) | |
ZQuest. More... | |
void | setGame (Game game) |
setGame More... | |
Game | game () const |
game More... | |
void | setEndian (Endian endian) |
setEndian More... | |
Endian | endian () const |
endian More... | |
void | setData (atUint8 *data, atUint32 length) |
setData More... | |
atUint8 * | data () const |
data More... | |
atUint32 | length () const |
length More... | |
void | setGameString (const std::string &gameString) |
std::string | gameString () const |
gameString More... | |
Static Public Member Functions | |
static const std::vector< std::string > | gameStringList () |
Static Public Attributes | |
static const atUint32 | Major |
The current major version of the ZQuest format. | |
static const atUint32 | Minor |
The current minor version of the ZQuest format. | |
static const atUint32 | Revision |
The current revision of the ZQuest format. | |
static const atUint32 | Version |
The current version of the ZQuest format. | |
static const atUint32 | Magic |
The magic number used to identify the file e.g. "ZQS1". | |
Protected Attributes | |
Game | m_game |
std::string | m_gameString |
Endian | m_endian |
atUint8 * | m_data |
atUint32 | m_length |
ZQuestFile is an export format for save data.
Definition at line 33 of file ZQuestFile.hpp.
The list of games currently supported by ZQuest.
Definition at line 62 of file ZQuestFile.hpp.
Athena::ZQuestFile::ZQuestFile | ( | Game | game, |
Endian | endian, | ||
atUint8 * | data, | ||
atUint32 | length, | ||
const std::string & | gameString = std::string() |
||
) |
ZQuest.
game | |
endian | |
data | |
length |
atUint8* Athena::ZQuestFile::data | ( | ) | const |
data
Endian Athena::ZQuestFile::endian | ( | ) | const |
endian
Game Athena::ZQuestFile::game | ( | ) | const |
game
std::string Athena::ZQuestFile::gameString | ( | ) | const |
gameString
atUint32 Athena::ZQuestFile::length | ( | ) | const |
length
void Athena::ZQuestFile::setData | ( | atUint8 * | data, |
atUint32 | length | ||
) |
setData
data | The data to assign |
length | The length of the data |
void Athena::ZQuestFile::setEndian | ( | Endian | endian | ) |
setEndian
endian |
void Athena::ZQuestFile::setGame | ( | Game | game | ) |
setGame
game |