MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / complete

Method complete

src/SB/Game/zTaskBox.cpp:182–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182void ztaskbox::complete()
183{
184 if (this->flag.enabled)
185 {
186 this->state = STATE_INVALID;
187 this->flag.enabled = false;
188 zEntEvent(this, this, eEventTaskBox_OnComplete);
189 this->current = (ztaskbox*)zSceneFindObject(this->asset->next_task);
190
191 // Bruh
192 if (this->current != NULL)
193 {
194 return;
195 }
196 }
197}
198
199void ztaskbox::set_callback(callback* cb)
200{

Callers

nothing calls this directly

Calls 2

zSceneFindObjectFunction · 0.85
zEntEventFunction · 0.50

Tested by

no test coverage detected