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

Function NetSendCmdParam2

Source/msg.cpp:707–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705}
706
707void NetSendCmdParam2(BOOL bHiPri, BYTE bCmd, WORD wParam1, WORD wParam2)
708{
709 TCmdParam2 cmd;
710
711 cmd.bCmd = bCmd;
712 cmd.wParam1 = wParam1;
713 cmd.wParam2 = wParam2;
714 if (bHiPri)
715 NetSendHiPri((BYTE *)&cmd, sizeof(cmd));
716 else
717 NetSendLoPri((BYTE *)&cmd, sizeof(cmd));
718}
719
720void NetSendCmdParam3(BOOL bHiPri, BYTE bCmd, WORD wParam1, WORD wParam2, WORD wParam3)
721{

Callers 6

OperateChestFunction · 0.85
OperateShrineFunction · 0.85
BreakBarrelFunction · 0.85
M_StartHitFunction · 0.85
M2MStartHitFunction · 0.85
StartNewLvlFunction · 0.85

Calls 2

NetSendHiPriFunction · 0.85
NetSendLoPriFunction · 0.85

Tested by

no test coverage detected