MCPcopy Create free account
hub / github.com/OpenMW/openmw / isRunning

Method isRunning

apps/openmw/mwlua/mwscriptbindings.cpp:34–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 return MWBase::Environment::get().getScriptManager()->getGlobalScripts().getLocals(mId);
33 }
34 bool isRunning() const
35 {
36 if (mObj.has_value()) // local script
37 {
38 MWWorld::LocalScripts& localScripts = MWBase::Environment::get().getWorld()->getLocalScripts();
39 return localScripts.isRunning(mId, mObj->ptr());
40 }
41
42 return MWBase::Environment::get().getScriptManager()->getGlobalScripts().isRunning(mId);
43 }
44 };
45 struct MWScriptVariables
46 {

Callers 1

initMWScriptBindingsFunction · 0.45

Calls 5

getLocalScriptsMethod · 0.80
getWorldMethod · 0.80
getScriptManagerMethod · 0.80
getFunction · 0.50
has_valueMethod · 0.45

Tested by

no test coverage detected