MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / requestMode

Method requestMode

source/modes/ModeManager.h:51–55  ·  view source on GitHub ↗

\brief Request loading the given game mode

Source from the content-addressed store, hash-verified

49
50 //! \brief Request loading the given game mode
51 void requestMode(ModeType mode, bool keepCurrentModeInHistory = true)
52 {
53 mRequestedMode = mode;
54 mStoreCurrentModeAtChange = keepCurrentModeInHistory;
55 }
56
57 //! \brief Request to load the previous mode type.
58 void requestPreviousMode();

Callers 4

processMessageMethod · 0.80
changeModeEventMethod · 0.80
onClickYesQuitMenuMethod · 0.80
onClickYesQuitMenuMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected