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

Method MSG_WriteThreadInfo

neo/d3xp/script/Script_Thread.cpp:1960–1969  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1958}
1959
1960void idGameEditExt::MSG_WriteThreadInfo(idBitMsg* msg, const idThread* thread, const idInterpreter* interpreter)
1961{
1962 msg->WriteString(const_cast<idThread*>(thread)->GetThreadName());
1963 msg->WriteInt(const_cast<idThread*>(thread)->GetThreadNum());
1964
1965 msg->WriteBits((int)(thread == interpreter->GetThread()), 1);
1966 msg->WriteBits((int)const_cast<idThread*>(thread)->IsDoneProcessing(), 1);
1967 msg->WriteBits((int)const_cast<idThread*>(thread)->IsWaiting(), 1);
1968 msg->WriteBits((int)const_cast<idThread*>(thread)->IsDying(), 1);
1969}
1970

Callers

nothing calls this directly

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