MCPcopy Create free account
hub / github.com/diasurgical/devilution / NetSendCmdLocParam2

Function NetSendCmdLocParam2

Source/msg.cpp:664–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662}
663
664void NetSendCmdLocParam2(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y, WORD wParam1, WORD wParam2)
665{
666 TCmdLocParam2 cmd;
667
668 cmd.bCmd = bCmd;
669 cmd.x = x;
670 cmd.y = y;
671 cmd.wParam1 = wParam1;
672 cmd.wParam2 = wParam2;
673 if (bHiPri)
674 NetSendHiPri((BYTE *)&cmd, sizeof(cmd));
675 else
676 NetSendLoPri((BYTE *)&cmd, sizeof(cmd));
677}
678
679void NetSendCmdLocParam3(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y, WORD wParam1, WORD wParam2, WORD wParam3)
680{

Callers 2

TryIconCursFunction · 0.85
CheckPlrSpellFunction · 0.85

Calls 2

NetSendHiPriFunction · 0.85
NetSendLoPriFunction · 0.85

Tested by

no test coverage detected