GameDataMgr: Difference between revisions

no edit summary
imported>Leoetlino
(create stubs for all known subsystems)
 
imported>Leoetlino
No edit summary
Line 1: Line 1:
{{Subsystem infobox|name=GameDataMgr|is_name_official=1|description=Holds all game data flags and provides functions to get or set values|init_addr_switch150=0000007100DCE964}}
{{Subsystem infobox|name=GameDataMgr|is_name_official=1|description=Manages game data flags|init_addr_switch150=0000007100DCE964}}
{{stub}}
{{stub}}
GameDataMgr holds the date of all game data flags and provides functions to get, set and reset them. It is also responsible for keeping track of "shop sold out" flags and resetting them regularly.
Flag data is loaded from [[bgdata]] files and stored in [[TriggerParam]] objects. Transferring data from and to save files is done by interacting with the [[SaveSystem]] and [[SaveMgr]] subsystems.
There are at least two sets of TriggerParams at all times and up to four (param1, param, ???, GimmickResetBuffer). The exact purposes of each TriggerParam is currently unknown.
In debug versions, GameDataMgr is able to sync save data from and to a computer.


[[Category: Internals]]
[[Category: Internals]]
[[Category: Subsystems (BotW)]]
[[Category: Subsystems (BotW)]]
Anonymous user