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

Method uninitScript

source/game/StarQuests.cpp:594–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592}
593
594void Quest::uninitScript() {
595 m_scriptComponent.uninit();
596 m_scriptComponent.removeCallbacks("quest");
597 m_scriptComponent.removeCallbacks("celestial");
598 m_scriptComponent.removeCallbacks("player");
599 m_scriptComponent.removeCallbacks("config");
600 m_scriptComponent.removeCallbacks("entity");
601 m_scriptComponent.removeCallbacks("status");
602 m_scriptComponent.removeActorMovementCallbacks();
603 m_inited = false;
604}
605
606LuaCallbacks Quest::makeQuestCallbacks(Player* player) {
607 LuaCallbacks callbacks;

Callers

nothing calls this directly

Calls 3

removeCallbacksMethod · 0.80
uninitMethod · 0.45

Tested by

no test coverage detected