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

Function NetSendCmdLocParam1

Source/msg.cpp:650–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648}
649
650void NetSendCmdLocParam1(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y, WORD wParam1)
651{
652 TCmdLocParam1 cmd;
653
654 cmd.bCmd = bCmd;
655 cmd.x = x;
656 cmd.y = y;
657 cmd.wParam1 = wParam1;
658 if (bHiPri)
659 NetSendHiPri((BYTE *)&cmd, sizeof(cmd));
660 else
661 NetSendLoPri((BYTE *)&cmd, sizeof(cmd));
662}
663
664void NetSendCmdLocParam2(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y, WORD wParam1, WORD wParam2)
665{

Callers 7

InteractFunction · 0.85
PerformSecondaryActionFunction · 0.85
ShowProgressFunction · 0.85
M2MStartKillFunction · 0.85
M_StartKillFunction · 0.85
LeftMouseCmdFunction · 0.85
AddDisarmFunction · 0.85

Calls 2

NetSendHiPriFunction · 0.85
NetSendLoPriFunction · 0.85

Tested by

no test coverage detected