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

Function setActiveIndex

src/OpenLoco/src/MessageManager.cpp:43–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42 MessageId getActiveIndex() { return getGameState().activeMessageIndex; }
43 void setActiveIndex(const MessageId newIndex) { getGameState().activeMessageIndex = newIndex; }
44
45 void post(
46 MessageType type,

Callers 6

sub_428E47Function · 0.85
scrollMouseDownFunction · 0.85
openFunction · 0.85
openLastMessageFunction · 0.85
onMouseUpFunction · 0.85
onUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected