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

Method addCallbacks

source/game/scripting/StarLuaRoot.cpp:151–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void LuaRoot::addCallbacks(String const& groupName, LuaCallbacks const& callbacks) {
152 m_luaCallbacks[groupName] = callbacks;
153}
154
155LuaEngine& LuaRoot::luaEngine() const {
156 return *m_luaEngine;

Callers 15

initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
setLuaCallbacksMethod · 0.45
initMethod · 0.45
runStatScriptMethod · 0.45
initializeModulesMethod · 0.45
initPrimaryScriptMethod · 0.45
initScriptMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected