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

Function setMenuOption

src/OpenLoco/src/Ui/Dropdown.cpp:1166–1171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1164 }
1165
1166 void setMenuOption(size_t index, uint8_t value)
1167 {
1168 assert(index < std::size(_menuOptions));
1169
1170 _menuOptions[index] = value;
1171 }
1172
1173 uint8_t getMenuOption(size_t index)
1174 {

Callers 3

portMenuMouseDownFunction · 0.85
vehiclesMenuMouseDownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected