MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / ProcessTmsgs

Function ProcessTmsgs

Source/multi.cpp:346–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346void ProcessTmsgs()
347{
348 while (true) {
349 std::unique_ptr<byte[]> msg;
350 uint8_t size = tmsg_get(&msg);
351 if (size == 0)
352 break;
353
354 HandleAllPackets(MyPlayerId, msg.get(), size);
355 }
356}
357
358void SendPlayerInfo(int pnum, _cmd_id cmd)
359{

Callers 1

Calls 3

tmsg_getFunction · 0.85
HandleAllPacketsFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected