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

Function msg_send_drop_pkt

Source/msg.cpp:2426–2434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2424}
2425
2426void msg_send_drop_pkt(int pnum, int reason)
2427{
2428 TFakeDropPlr cmd;
2429
2430 cmd.dwReason = SDL_SwapLE32(reason);
2431 cmd.bCmd = FAKE_CMD_DROPID;
2432 cmd.bPlr = pnum;
2433 SendPacket(pnum, &cmd, sizeof(cmd));
2434}
2435
2436bool msg_wait_resync()
2437{

Callers 1

ClearPlayerLeftStateFunction · 0.85

Calls 1

SendPacketFunction · 0.70

Tested by

no test coverage detected