MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getItemArgument

Function getItemArgument

src/OpenLoco/src/Ui/Dropdown.cpp:998–1001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

996 }
997
998 uint16_t getItemArgument(const uint8_t index, const uint8_t argument)
999 {
1000 return reinterpret_cast<uint16_t*>(_dropdownItemArgs[index])[argument];
1001 }
1002
1003 uint16_t getItemsPerRow(uint8_t itemCount)
1004 {

Callers 6

onDropdownFunction · 0.85
onDropdownFunction · 0.85
onDropdownFunction · 0.85
onDropdownFunction · 0.85
onDropdownFunction · 0.85
onDropdownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected