Files
botw/src/KingSystem/Utils/Thread/GameTaskThread.cpp
T
Léo Lam 98f0c80f1d The task and thread families are plain ksys::
They link in the same block as the plain-ksys:: Message family.
getItemValue and applyScreenFade sit in engine UI TUs, hence ksys::ui.

(AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
2026-10-06 03:19:39 +02:00

16 lines
593 B
C++

#include "KingSystem/Utils/Thread/GameTaskThread.h"
namespace ksys {
GameTaskThread::GameTaskThread(const sead::SafeString& name, sead::Heap* heap, s32 priority,
sead::MessageQueue::BlockType block_type, long quit_msg,
s32 stack_size, s32 message_queue_size)
: TaskThread(name, heap, priority, block_type, quit_msg, stack_size, message_queue_size) {}
void GameTaskThread::quit(bool) {
mMessageQueue.push(cMessage_GameThreadQuit, sead::MessageQueue::BlockType::Blocking);
Thread::quit(false);
}
} // namespace ksys