MCPcopy Create free account
hub / github.com/DFHack/dfhack / getHackPath

Function getHackPath

library/LuaApi.cpp:1361–1361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1359
1360static std::filesystem::path getDFPath() { return Core::getInstance().p->getPath(); }
1361static std::filesystem::path getHackPath() { return Core::getInstance().getHackPath(); }
1362
1363static bool isWorldLoaded() { return Core::getInstance().isWorldLoaded(); }
1364static bool isMapLoaded() { return Core::getInstance().isMapLoaded(); }

Callers 5

getScriptPathsMethod · 0.85
loadScriptFileMethod · 0.85
InitMainThreadMethod · 0.85
InitSimulationThreadMethod · 0.85
onStateChangeMethod · 0.85

Calls 1

getHackPathMethod · 0.80

Tested by

no test coverage detected