MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ASGetCurrLevelAbsPath

Function ASGetCurrLevelAbsPath

Source/Scripting/angelscript/asfuncs.cpp:5643–5650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5641}
5642
5643static std::string ASGetCurrLevelAbsPath() {
5644 SceneGraph* s = Engine::Instance()->GetSceneGraph();
5645 if (s) {
5646 return s->level_path_.GetAbsPathStr();
5647 } else {
5648 return "";
5649 }
5650}
5651
5652static std::string ASGetCurrLevel() {
5653 SceneGraph* s = Engine::Instance()->GetSceneGraph();

Callers 1

ASGetCurrLevelNameFunction · 0.85

Calls 2

GetAbsPathStrMethod · 0.80
GetSceneGraphMethod · 0.45

Tested by

no test coverage detected