MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / clear

Method clear

source/game/scripting/StarLuaRoot.cpp:175–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void LuaRoot::ScriptCache::clear() {
176 RecursiveMutexLocker locker(mutex);
177 scripts.clear();
178}
179
180void LuaRoot::ScriptCache::loadContextScript(LuaContext& context, String const& assetPath) {
181 RecursiveMutexLocker locker(mutex);

Callers 10

setOrientationIndexMethod · 0.45
uninitMethod · 0.45
~ScriptableThreadMethod · 0.45
LuaRootMethod · 0.45
clearScriptCacheMethod · 0.45
contextShutdownMethod · 0.45
LuaAnimationComponentMethod · 0.45
contextShutdownMethod · 0.45
makeMethod · 0.45
~LuaBaseComponentMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected