Athena IO Library
athena::SkywardSwordQuest Class Reference
Inheritance diagram for athena::SkywardSwordQuest:
Inheritance graph
Collaboration diagram for athena::SkywardSwordQuest:
Collaboration graph

Public Types

enum  AmmoType { Arrows, Bombs, Seeds }
 
- Public Types inherited from athena::ZQuestFile
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

 SkywardSwordQuest (std::unique_ptr< atUint8[]> &&data, atUint32 len)
 
void setPlayerName (const std::string &name)
 
std::string playerName () const
 
void setRupeeCount (atUint16 value)
 
atUint16 rupeeCount ()
 
void setAmmoCount (AmmoType type, atUint32 count)
 
atUint32 ammoCount (AmmoType type)
 
void setMaxHP (atUint16 val)
 
atUint16 maxHP ()
 
float maxHearts ()
 
void setSpawnHP (atUint16 val)
 
atUint16 spawnHP ()
 
float spawnHearts ()
 
void setCurrentHP (atUint16 val)
 
atUint16 currentHP ()
 
float currentHearts ()
 
std::string currentLocation ()
 
std::string currentArea ()
 
std::string currentLocationCopy ()
 
void setSkipData (std::unique_ptr< atUint8[]> &&data)
 
atUint8 * skipData () const
 
atUint32 slotChecksum ()
 
atUint32 skipChecksum ()
 
void fixChecksums ()
 
void setNew (bool isNew)
 
bool isNew () const
 
- Public Member Functions inherited from athena::ZQuestFile
 ZQuestFile ()
 ZQuest.
 
 ZQuestFile (Game game, Endian endian, std::unique_ptr< 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 (std::unique_ptr< 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...
 

Additional Inherited Members

- Static Public Member Functions inherited from athena::ZQuestFile
static const std::vector< std::string > gameStringList ()
 
- Static Public Attributes inherited from athena::ZQuestFile
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 inherited from athena::ZQuestFile
Game m_game
 
std::string m_gameString
 
Endian m_endian
 
std::unique_ptr< atUint8[]> m_data
 
atUint32 m_length
 

Detailed Description

Definition at line 11 of file SkywardSwordQuest.hpp.


The documentation for this class was generated from the following file: