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

Method init

source/game/StarQuests.cpp:196–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196void Quest::init(Player* player, World* world, UniverseClient* client) {
197 m_player = player;
198 m_world = world;
199 m_client = client;
200
201 if (m_state == QuestState::Offer || m_state == QuestState::Active)
202 initScript();
203}
204
205void Quest::uninit() {
206 if (m_inited)

Callers 1

initScriptMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected