1,158
edits
(→SoldOutInfo Hashes: both arrays need to be sorted) |
|||
Line 58: | Line 58: | ||
The flags are used in stores where the item is physically shown to the player (e.g A Mannequin displaying Armor). | The flags are used in stores where the item is physically shown to the player (e.g A Mannequin displaying Armor). | ||
The hashed flags are named in the format Npc_Name_Actor_Name. | The hashed flags are named in the format Npc_Name_Actor_Name. | ||
This array | |||
This array ''must'' also be sorted, as GameDataMgr performs a binary search on the list<ref>ksys::gdt::Manager::getShopInfoIter: https://github.com/zeldaret/botw/blob/2eeae37cf787e8ab1cf64b98db35de4b1b0fca3f/src/KingSystem/GameData/gdtManager.cpp#L630</ref>. | |||
Similar to tag values, each number is stored as an unsigned int if it is greater than 0x80000000 and as a signed int otherwise. | Similar to tag values, each number is stored as an unsigned int if it is greater than 0x80000000 and as a signed int otherwise. | ||