MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / MSG_WriteThreadInfo

Method MSG_WriteThreadInfo

neo/game/script/Script_Thread.cpp:1880–1889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1878}
1879
1880void idGameEditExt::MSG_WriteThreadInfo(idBitMsg* msg, const idThread* thread, const idInterpreter* interpreter)
1881{
1882 msg->WriteString(const_cast<idThread*>(thread)->GetThreadName());
1883 msg->WriteInt(const_cast<idThread*>(thread)->GetThreadNum());
1884
1885 msg->WriteBits((int)(thread == interpreter->GetThread()), 1);
1886 msg->WriteBits((int)const_cast<idThread*>(thread)->IsDoneProcessing(), 1);
1887 msg->WriteBits((int)const_cast<idThread*>(thread)->IsWaiting(), 1);
1888 msg->WriteBits((int)const_cast<idThread*>(thread)->IsDying(), 1);
1889}
1890

Callers 1

HandleInspectThreadsMethod · 0.45

Calls 9

WriteStringMethod · 0.45
GetThreadNameMethod · 0.45
WriteIntMethod · 0.45
GetThreadNumMethod · 0.45
WriteBitsMethod · 0.45
GetThreadMethod · 0.45
IsDoneProcessingMethod · 0.45
IsWaitingMethod · 0.45
IsDyingMethod · 0.45

Tested by

no test coverage detected