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

Method setLuaCallbacks

source/game/StarUniverseClient.cpp:535–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535void UniverseClient::setLuaCallbacks(String const& groupName, LuaCallbacks const& callbacks) {
536 m_luaRoot->addCallbacks(groupName, callbacks);
537}
538
539void UniverseClient::restartLua() {
540 m_luaRoot->restart();

Callers 1

changeStateMethod · 0.80

Calls 1

addCallbacksMethod · 0.45

Tested by

no test coverage detected