MCPcopy Create free account
hub / github.com/Lovrom8/RSMods / HandleInMenuState

Function HandleInMenuState

DLL/ModManager.cpp:315–323  ·  view source on GitHub ↗

Handles all state updates when the player is in menus.

Source from the content-addressed store, hash-verified

313 /// Handles all state updates when the player is in menus.
314 /// </summary>
315 void HandleInMenuState(GameLoopState& state) {
316 HandleExtendedRangeInTuner(state);
317 CleanupSongSpecificStates(state);
318 HandleMenuVisualMods(state);
319 HandleMenuFeatures(state);
320 HandleHeadstockCacheReset(state);
321
322 GameState::previousMenu = GameState::currentMenu;
323 }
324
325 /// <summary>
326 /// Enables extended range mode in the tuner if applicable.

Callers 1

HandlePostGameLoadedModsFunction · 0.85

Calls 5

HandleMenuVisualModsFunction · 0.85
HandleMenuFeaturesFunction · 0.85

Tested by

no test coverage detected