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

Function On_SEND_PLRINFO

Source/msg.cpp:2319–2329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2317}
2318
2319DWORD On_SEND_PLRINFO(TCmd *pCmd, int pnum)
2320{
2321 TCmdPlrInfoHdr *p = (TCmdPlrInfoHdr *)pCmd;
2322
2323 if (gbBufferMsgs == 1)
2324 msg_send_packet(pnum, p, p->wBytes + sizeof(*p));
2325 else
2326 recv_plrinfo(pnum, p, p->bCmd == CMD_ACK_PLRINFO);
2327
2328 return p->wBytes + sizeof(*p);
2329}
2330
2331DWORD On_ACK_PLRINFO(TCmd *pCmd, int pnum)
2332{

Callers 2

ParseCmdFunction · 0.85
On_ACK_PLRINFOFunction · 0.85

Calls 2

msg_send_packetFunction · 0.85
recv_plrinfoFunction · 0.85

Tested by

no test coverage detected