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

Method executeCurrentPrompt

source/modes/GameEditorModeConsole.cpp:138–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138bool GameEditorModeConsole::executeCurrentPrompt(const CEGUI::EventArgs& e)
139{
140 mConsoleInterface.tryExecuteClientCommand(mEditboxWindow->getText().c_str(),
141 mModeManager->getCurrentModeType(),
142 *mModeManager);
143 mEditboxWindow->setText("");
144 return true;
145}
146
147bool GameEditorModeConsole::characterEntered(const CEGUI::EventArgs& e)
148{

Callers

nothing calls this directly

Calls 3

setTextMethod · 0.80
getCurrentModeTypeMethod · 0.45

Tested by

no test coverage detected