Athena IO Library
athena::ALTTPQuest Class Reference

A Link to the Past Quest container class. More...

#include <ALTTPQuest.hpp>

Collaboration diagram for athena::ALTTPQuest:
Collaboration graph

Public Member Functions

 ALTTPQuest ()
 ALTTPQuest.
 
void setRoomFlags (std::vector< ALTTPRoomFlags * > flags)
 setRoomFlags More...
 
void setRoomFlags (ALTTPRoomFlags *rf, atUint32 id)
 setRoomFlags More...
 
std::vector< ALTTPRoomFlags * > roomFlags ()
 roomFlags More...
 
ALTTPRoomFlagsroomFlags (atUint32 id)
 roomFlags More...
 
void setOverworldEvents (std::vector< ALTTPOverworldEvent * > events)
 setOverworldEvents More...
 
void setOverworldEvents (ALTTPOverworldEvent *ow, atUint32 id)
 setOverworldEvents More...
 
std::vector< ALTTPOverworldEvent * > overworldEvents () const
 overworldEvents More...
 
ALTTPOverworldEventoverworldEvent (atUint32 id) const
 overworldEvent More...
 
void setInventory (const ALTTPInventory &inv)
 setInventory More...
 
const ALTTPInventoryinventory () const
 inventory More...
 
void setRupeeMax (atUint16 val)
 setRupeeMax More...
 
atUint16 rupeeMax () const
 rupeeMax More...
 
void setRupeeCurrent (atUint16 val)
 setRupeeCurrent More...
 
atUint16 rupeeCurrent () const
 rupeeCurrent More...
 
void setCompasses (ALTTPDungeonItemFlags flags)
 setCompasses More...
 
ALTTPDungeonItemFlags compasses () const
 compasses More...
 
void setBigKeys (ALTTPDungeonItemFlags flags)
 setBigKeys More...
 
ALTTPDungeonItemFlags bigKeys () const
 bigKeys More...
 
void setDungeonMaps (ALTTPDungeonItemFlags flags)
 setDungeonMaps More...
 
ALTTPDungeonItemFlags dungeonMaps () const
 dungeonMaps More...
 
void setWishingPond (atUint16 val)
 setWishingPond More...
 
atUint16 wishingPond () const
 wishingPond More...
 
void setHealthMax (atUint8 val)
 setHealthMax More...
 
atUint8 healthMax () const
 healthMax More...
 
void setHealth (atUint8 val)
 setHealth More...
 
atUint8 health () const
 health More...
 
void setMagicPower (atUint8 val)
 setMagicPower More...
 
atUint8 magicPower () const
 magicPower More...
 
void setKeys (atUint8 val)
 setKeys More...
 
atUint8 keys () const
 keys More...
 
void setBombUpgrades (atUint8 val)
 setBombUpgrades More...
 
atUint8 bombUpgrades () const
 bombUpgrades More...
 
void setArrowUpgrades (atUint8 val)
 setArrowUpgrades More...
 
atUint8 arrowUpgrades () const
 arrowUpgrades More...
 
void setHealthFiller (atUint8 val)
 setHealthFiller More...
 
atUint8 healthFiller () const
 healthFiller More...
 
void setMagicFiller (atUint8 val)
 setMagicFiller More...
 
atUint8 magicFiller () const
 magicFiller More...
 
void setPendants (ALTTPPendants val)
 setPendants More...
 
ALTTPPendants pendants () const
 pendants More...
 
void setBombFiller (atUint8 val)
 setBombFiller More...
 
atUint8 bombFiller () const
 bombFiller More...
 
void setArrowFiller (atUint8 val)
 setArrowFiller More...
 
atUint8 arrowFiller () const
 arrowFiller More...
 
void setArrows (atUint8 val)
 setArrows More...
 
atUint8 arrows () const
 arrows More...
 
void setAbilityFlags (ALTTPAbilities val)
 setAbilityFlags More...
 
ALTTPAbilities abilityFlags () const
 abilityFlags More...
 
void setCrystals (ALTTPCrystals val)
 setCrystals More...
 
ALTTPCrystals crystals () const
 crystals More...
 
void setMagicUsage (ALTTPMagicUsage val)
 setMagicUsage More...
 
ALTTPMagicUsage magicUsage () const
 magicUsage More...
 
void setDungeonKeys (std::vector< atUint8 > val)
 setDungeonKeys More...
 
void setDungeonKeys (atUint32 id, atUint8 val)
 setDungeonKeys More...
 
atUint8 dungeonKeys (atUint32 id) const
 dungeonKeys More...
 
atUint32 dungeonCount () const
 dungeonCount More...
 
void setProgressIndicator (ALTTPProgressIndicator val)
 setProgressIndicator More...
 
ALTTPProgressIndicator progressIndicator () const
 progressIndicator More...
 
void setProgressFlags1 (ALTTPProgressFlags1 val)
 setProgressFlags1 More...
 
ALTTPProgressFlags1 progressFlags1 () const
 progressFlags1 More...
 
void setMapIcon (ALTTPMapIcon val)
 setMapIcon More...
 
ALTTPMapIcon mapIcon () const
 mapIcon More...
 
void setStartLocation (ALTTPStartLocation val)
 setStartLocation More...
 
ALTTPStartLocation startLocation () const
 startLocation More...
 
void setProgressFlags2 (ALTTPProgressFlags2 val)
 setProgressFlags2 More...
 
ALTTPProgressFlags2 progressFlags2 () const
 progressFlags2 More...
 
void setLightDarkWorldIndicator (ALTTPLightDarkWorldIndicator val)
 setLightDarkWorldIndicator More...
 
ALTTPLightDarkWorldIndicator lightDarkWorldIndicator () const
 lightDarkWorldIndicator More...
 
void setTagAlong (ALTTPTagAlong val)
 setTagAlong More...
 
ALTTPTagAlong tagAlong () const
 tagAlong More...
 
void setOldManFlags (std::vector< atUint8 > flags)
 setOldManFlags More...
 
void setOldManFlag (atUint32 id, atUint8 val)
 setOldManFlag More...
 
atUint8 oldManFlag (atUint32 id)
 oldManFlag More...
 
atUint32 oldManFlagCount () const
 oldManFlagCount More...
 
void setBombFlag (atUint8 flag)
 setBombFlag More...
 
atUint8 bombFlag () const
 bombFlag More...
 
void setUnknown1 (std::vector< atUint8 > flags)
 setUnknown1 More...
 
void setUnknown1 (atUint32 id, atUint8 val)
 setUnknown1 More...
 
atUint8 unknown1 (atUint32 id)
 unknown1 More...
 
atUint32 unknown1Count () const
 unknown1Count More...
 
void setPlayerName (std::vector< atUint16 > playerName)
 setPlayerName More...
 
void setPlayerName (const std::string &playerName)
 setPlayerName More...
 
std::vector< atUint16 > playerName () const
 playerName More...
 
std::string playerNameToString () const
 playerNameToString More...
 
void setValid (bool val)
 setValid More...
 
bool valid ()
 valid More...
 
void setDungeonDeathTotals (std::vector< atUint16 > val)
 setDungeonDeathTotals More...
 
void setDungeonDeathTotal (atUint32 id, atUint16 val)
 setDungeonDeathTotal More...
 
atUint16 dungeonDeathTotal (atUint32 id) const
 dungeonDeathTotal More...
 
atUint16 dungeonDeathTotalCount () const
 dungeonDeathTotalCount More...
 
void setUnknown2 (atUint16 val)
 setUnknown2 More...
 
atUint16 unknown2 () const
 unknown2 More...
 
void setDeathSaveCount (atUint16 val)
 setDeathSaveCount More...
 
atUint16 deathSaveCount () const
 deathSaveCount More...
 
void setPostGameDeathCounter (atInt16 val)
 setPostGameDeathCounter More...
 
atInt16 postGameDeathCounter () const
 postGameDeathCounter More...
 
void setChecksum (atUint16 checksum)
 setChecksum More...
 
atUint16 checksum () const
 checksum More...
 

Detailed Description

A Link to the Past Quest container class.

Contains all relevant data for an A Link to the Past Quest entry.

Definition at line 19 of file ALTTPQuest.hpp.

Member Function Documentation

ALTTPAbilities athena::ALTTPQuest::abilityFlags ( ) const

abilityFlags

Returns
atUint8 athena::ALTTPQuest::arrowFiller ( ) const

arrowFiller

Returns
atUint8 athena::ALTTPQuest::arrows ( ) const

arrows

Returns
atUint8 athena::ALTTPQuest::arrowUpgrades ( ) const

arrowUpgrades

Returns
ALTTPDungeonItemFlags athena::ALTTPQuest::bigKeys ( ) const

bigKeys

Returns
atUint8 athena::ALTTPQuest::bombFiller ( ) const

bombFiller

Returns
atUint8 athena::ALTTPQuest::bombFlag ( ) const

bombFlag

Returns
atUint8 athena::ALTTPQuest::bombUpgrades ( ) const

bombUpgrades

Returns
atUint16 athena::ALTTPQuest::checksum ( ) const

checksum

Returns
ALTTPDungeonItemFlags athena::ALTTPQuest::compasses ( ) const

compasses

Returns
ALTTPCrystals athena::ALTTPQuest::crystals ( ) const

crystals

Returns
atUint16 athena::ALTTPQuest::deathSaveCount ( ) const

deathSaveCount

Returns
atUint32 athena::ALTTPQuest::dungeonCount ( ) const

dungeonCount

Returns
atUint16 athena::ALTTPQuest::dungeonDeathTotal ( atUint32  id) const

dungeonDeathTotal

Parameters
id
Returns
atUint16 athena::ALTTPQuest::dungeonDeathTotalCount ( ) const

dungeonDeathTotalCount

Returns
atUint8 athena::ALTTPQuest::dungeonKeys ( atUint32  id) const

dungeonKeys

Parameters
id
Returns
ALTTPDungeonItemFlags athena::ALTTPQuest::dungeonMaps ( ) const

dungeonMaps

Returns
atUint8 athena::ALTTPQuest::health ( ) const

health

Returns
atUint8 athena::ALTTPQuest::healthFiller ( ) const

healthFiller

Returns
atUint8 athena::ALTTPQuest::healthMax ( ) const

healthMax

Returns
const ALTTPInventory& athena::ALTTPQuest::inventory ( ) const

inventory

Returns
atUint8 athena::ALTTPQuest::keys ( ) const

keys

Returns
ALTTPLightDarkWorldIndicator athena::ALTTPQuest::lightDarkWorldIndicator ( ) const

lightDarkWorldIndicator

Returns
atUint8 athena::ALTTPQuest::magicFiller ( ) const

magicFiller

Returns
atUint8 athena::ALTTPQuest::magicPower ( ) const

magicPower

Returns
ALTTPMagicUsage athena::ALTTPQuest::magicUsage ( ) const

magicUsage

Returns
ALTTPMapIcon athena::ALTTPQuest::mapIcon ( ) const

mapIcon

Returns
atUint8 athena::ALTTPQuest::oldManFlag ( atUint32  id)

oldManFlag

Parameters
id
Returns
atUint32 athena::ALTTPQuest::oldManFlagCount ( ) const

oldManFlagCount

Returns
ALTTPOverworldEvent* athena::ALTTPQuest::overworldEvent ( atUint32  id) const

overworldEvent

Parameters
id
Returns
std::vector<ALTTPOverworldEvent*> athena::ALTTPQuest::overworldEvents ( ) const

overworldEvents

Returns
ALTTPPendants athena::ALTTPQuest::pendants ( ) const

pendants

Returns
std::vector<atUint16> athena::ALTTPQuest::playerName ( ) const

playerName

Returns
std::string athena::ALTTPQuest::playerNameToString ( ) const

playerNameToString

Returns
atInt16 athena::ALTTPQuest::postGameDeathCounter ( ) const

postGameDeathCounter

Returns
ALTTPProgressFlags1 athena::ALTTPQuest::progressFlags1 ( ) const

progressFlags1

Returns
ALTTPProgressFlags2 athena::ALTTPQuest::progressFlags2 ( ) const

progressFlags2

Returns
ALTTPProgressIndicator athena::ALTTPQuest::progressIndicator ( ) const

progressIndicator

Returns
std::vector<ALTTPRoomFlags*> athena::ALTTPQuest::roomFlags ( )

roomFlags

Returns
ALTTPRoomFlags* athena::ALTTPQuest::roomFlags ( atUint32  id)

roomFlags

Parameters
id
Returns
atUint16 athena::ALTTPQuest::rupeeCurrent ( ) const

rupeeCurrent

Returns
atUint16 athena::ALTTPQuest::rupeeMax ( ) const

rupeeMax

Returns
void athena::ALTTPQuest::setAbilityFlags ( ALTTPAbilities  val)

setAbilityFlags

Parameters
val
void athena::ALTTPQuest::setArrowFiller ( atUint8  val)

setArrowFiller

Parameters
val
void athena::ALTTPQuest::setArrows ( atUint8  val)

setArrows

Parameters
val
void athena::ALTTPQuest::setArrowUpgrades ( atUint8  val)

setArrowUpgrades

Parameters
val
void athena::ALTTPQuest::setBigKeys ( ALTTPDungeonItemFlags  flags)

setBigKeys

Parameters
flags
void athena::ALTTPQuest::setBombFiller ( atUint8  val)

setBombFiller

Parameters
val
void athena::ALTTPQuest::setBombFlag ( atUint8  flag)

setBombFlag

Parameters
flag
void athena::ALTTPQuest::setBombUpgrades ( atUint8  val)

setBombUpgrades

Parameters
val
void athena::ALTTPQuest::setChecksum ( atUint16  checksum)

setChecksum

Parameters
checksum
void athena::ALTTPQuest::setCompasses ( ALTTPDungeonItemFlags  flags)

setCompasses

Parameters
flags
void athena::ALTTPQuest::setCrystals ( ALTTPCrystals  val)

setCrystals

Parameters
val
void athena::ALTTPQuest::setDeathSaveCount ( atUint16  val)

setDeathSaveCount

Parameters
val
void athena::ALTTPQuest::setDungeonDeathTotal ( atUint32  id,
atUint16  val 
)

setDungeonDeathTotal

Parameters
id
val
void athena::ALTTPQuest::setDungeonDeathTotals ( std::vector< atUint16 >  val)

setDungeonDeathTotals

Parameters
val
void athena::ALTTPQuest::setDungeonKeys ( std::vector< atUint8 >  val)

setDungeonKeys

Parameters
val
void athena::ALTTPQuest::setDungeonKeys ( atUint32  id,
atUint8  val 
)

setDungeonKeys

Parameters
id
val
void athena::ALTTPQuest::setDungeonMaps ( ALTTPDungeonItemFlags  flags)

setDungeonMaps

Parameters
flags
void athena::ALTTPQuest::setHealth ( atUint8  val)

setHealth

Parameters
val
void athena::ALTTPQuest::setHealthFiller ( atUint8  val)

setHealthFiller

Parameters
val
void athena::ALTTPQuest::setHealthMax ( atUint8  val)

setHealthMax

Parameters
val
void athena::ALTTPQuest::setInventory ( const ALTTPInventory inv)

setInventory

Parameters
inv
void athena::ALTTPQuest::setKeys ( atUint8  val)

setKeys

Parameters
val
void athena::ALTTPQuest::setLightDarkWorldIndicator ( ALTTPLightDarkWorldIndicator  val)

setLightDarkWorldIndicator

Parameters
val
void athena::ALTTPQuest::setMagicFiller ( atUint8  val)

setMagicFiller

Parameters
val
void athena::ALTTPQuest::setMagicPower ( atUint8  val)

setMagicPower

Parameters
val
void athena::ALTTPQuest::setMagicUsage ( ALTTPMagicUsage  val)

setMagicUsage

Parameters
val
void athena::ALTTPQuest::setMapIcon ( ALTTPMapIcon  val)

setMapIcon

Parameters
val
void athena::ALTTPQuest::setOldManFlag ( atUint32  id,
atUint8  val 
)

setOldManFlag

Parameters
id
val
void athena::ALTTPQuest::setOldManFlags ( std::vector< atUint8 >  flags)

setOldManFlags

Parameters
flags
void athena::ALTTPQuest::setOverworldEvents ( std::vector< ALTTPOverworldEvent * >  events)

setOverworldEvents

Parameters
events
void athena::ALTTPQuest::setOverworldEvents ( ALTTPOverworldEvent ow,
atUint32  id 
)

setOverworldEvents

Parameters
ow
id
void athena::ALTTPQuest::setPendants ( ALTTPPendants  val)

setPendants

Parameters
val
void athena::ALTTPQuest::setPlayerName ( std::vector< atUint16 >  playerName)

setPlayerName

Parameters
playerName
void athena::ALTTPQuest::setPlayerName ( const std::string &  playerName)

setPlayerName

Parameters
playerName
void athena::ALTTPQuest::setPostGameDeathCounter ( atInt16  val)

setPostGameDeathCounter

Parameters
val
void athena::ALTTPQuest::setProgressFlags1 ( ALTTPProgressFlags1  val)

setProgressFlags1

Parameters
val
void athena::ALTTPQuest::setProgressFlags2 ( ALTTPProgressFlags2  val)

setProgressFlags2

Parameters
val
void athena::ALTTPQuest::setProgressIndicator ( ALTTPProgressIndicator  val)

setProgressIndicator

Parameters
val
void athena::ALTTPQuest::setRoomFlags ( std::vector< ALTTPRoomFlags * >  flags)

setRoomFlags

Parameters
flags
void athena::ALTTPQuest::setRoomFlags ( ALTTPRoomFlags rf,
atUint32  id 
)

setRoomFlags

Parameters
rf
id
void athena::ALTTPQuest::setRupeeCurrent ( atUint16  val)

setRupeeCurrent

Parameters
val
void athena::ALTTPQuest::setRupeeMax ( atUint16  val)

setRupeeMax

Parameters
val
void athena::ALTTPQuest::setStartLocation ( ALTTPStartLocation  val)

setStartLocation

Parameters
val
void athena::ALTTPQuest::setTagAlong ( ALTTPTagAlong  val)

setTagAlong

Parameters
val
void athena::ALTTPQuest::setUnknown1 ( std::vector< atUint8 >  flags)

setUnknown1

Parameters
flags
void athena::ALTTPQuest::setUnknown1 ( atUint32  id,
atUint8  val 
)

setUnknown1

Parameters
id
val
void athena::ALTTPQuest::setUnknown2 ( atUint16  val)

setUnknown2

Parameters
val
void athena::ALTTPQuest::setValid ( bool  val)

setValid

Parameters
val
void athena::ALTTPQuest::setWishingPond ( atUint16  val)

setWishingPond

Parameters
val
ALTTPStartLocation athena::ALTTPQuest::startLocation ( ) const

startLocation

Returns
ALTTPTagAlong athena::ALTTPQuest::tagAlong ( ) const

tagAlong

Returns
atUint8 athena::ALTTPQuest::unknown1 ( atUint32  id)

unknown1

Parameters
id
Returns
atUint32 athena::ALTTPQuest::unknown1Count ( ) const

unknown1Count

Returns
atUint16 athena::ALTTPQuest::unknown2 ( ) const

unknown2

Returns
bool athena::ALTTPQuest::valid ( )

valid

Returns
atUint16 athena::ALTTPQuest::wishingPond ( ) const

wishingPond

Returns

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