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

Method isInEditorMode

source/gamemap/GameMap.cpp:183–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183bool GameMap::isInEditorMode() const
184{
185 if (isServerGameMap())
186 return (ODServer::getSingleton().getServerMode() == ServerMode::ModeEditor);
187
188 return (ODFrameListener::getSingleton().getModeManager()->getCurrentModeType() == ModeManager::EDITOR);
189}
190
191bool GameMap::loadLevel(const std::string& levelFilepath)
192{

Callers 15

createRogueSeatMethod · 0.80
exportSeatToStreamMethod · 0.80
setupTrapMethod · 0.80
isTileVisibleForSeatMethod · 0.80
updateActiveSpotsMethod · 0.80
updateActiveSpotsMethod · 0.80
updateActiveSpotsMethod · 0.80
writeGameMapToFileFunction · 0.80
createMeshLocalMethod · 0.80
tryPickupMethod · 0.80

Calls 3

getServerModeMethod · 0.80
getModeManagerMethod · 0.80
getCurrentModeTypeMethod · 0.45

Tested by

no test coverage detected