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

Method SNetLeaveGame

SourceX/dvlnet/base.cpp:216–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216bool base::SNetLeaveGame(int type)
217{
218 auto pkt = pktfty->make_packet<PT_DISCONNECT>(plr_self, PLR_BROADCAST,
219 plr_self, type);
220 send(*pkt);
221 return true;
222}
223
224bool base::SNetDropPlayer(int playerid, DWORD flags)
225{

Callers 1

SNetLeaveGameFunction · 0.45

Calls 1

sendFunction · 0.50

Tested by

no test coverage detected