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

Method getLocalScripts

apps/openmw/mwlua/engineevents.cpp:144–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 }
143
144 LocalScripts* getLocalScripts(const MWWorld::Ptr& ptr) const
145 {
146 if (ptr.isEmpty())
147 return nullptr;
148 else
149 return ptr.getRefData().getLuaScripts();
150 }
151
152 LocalScripts* getLocalScripts(ESM::RefNum id) const { return getLocalScripts(getPtr(id)); }
153

Callers 10

executeLocalScriptsMethod · 0.80
respawnMethod · 0.80
respawnMethod · 0.80
addScriptsFunction · 0.80
unstackMethod · 0.80
addMethod · 0.80
unloadCellMethod · 0.80
loadCellMethod · 0.80
teleportNotPlayerFunction · 0.80
isRunningMethod · 0.80

Calls 2

getLuaScriptsMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected