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

Function ResetTalkMsg

Source/control.cpp:560–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558}
559
560void ResetTalkMsg()
561{
562#ifdef _DEBUG
563 if (CheckDebugTextCommand(TalkMessage))
564 return;
565#endif
566 if (CheckTextCommand(TalkMessage))
567 return;
568
569 uint32_t pmask = 0;
570
571 for (size_t i = 0; i < Players.size(); i++) {
572 if (WhisperList[i])
573 pmask |= 1 << i;
574 }
575
576 NetSendCmdString(pmask, TalkMessage);
577}
578
579void ControlPressEnter()
580{

Callers 1

ControlPressEnterFunction · 0.85

Calls 4

CheckDebugTextCommandFunction · 0.85
CheckTextCommandFunction · 0.85
NetSendCmdStringFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected