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

Function msg_send_drop_pkt

Source/msg.cpp:24–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22int pkt_counter;
23
24void msg_send_drop_pkt(int pnum, int reason)
25{
26 TFakeDropPlr cmd;
27
28 cmd.dwReason = reason;
29 cmd.bCmd = FAKE_CMD_DROPID;
30 cmd.bPlr = pnum;
31 msg_send_packet(pnum, &cmd, sizeof(cmd));
32}
33
34void msg_send_packet(int pnum, const void *packet, DWORD dwSize)
35{

Callers 1

multi_clear_left_tblFunction · 0.85

Calls 1

msg_send_packetFunction · 0.85

Tested by

no test coverage detected