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

Function onDropdown

src/OpenLoco/src/Ui/Windows/PlayerInfoPanel.cpp:281–289  ·  view source on GitHub ↗

0x004395BC

Source from the content-addressed store, hash-verified

279
280 // 0x004395BC
281 static void onDropdown([[maybe_unused]] Window& w, WidgetIndex_t widgetIndex, [[maybe_unused]] const WidgetId id, int16_t item_index)
282 {
283 switch (widgetIndex)
284 {
285 case Widx::player:
286 playerDropdownClick(item_index);
287 break;
288 }
289 }
290
291 // 0x4395C7
292 static void companyValueMouseUp()

Callers

nothing calls this directly

Calls 1

playerDropdownClickFunction · 0.85

Tested by

no test coverage detected