MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / MultiDoFileDenied

Function MultiDoFileDenied

Descent3/multi.cpp:7754–7764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7752 }
7753}
7754void MultiDoFileDenied(uint8_t *data) {
7755 // We asked for a file, but the request was denied for some reason
7756 int count = 0;
7757 SKIP_HEADER(data, &count);
7758 uint16_t filenum = MultiGetUshort(data, &count);
7759 uint16_t playernum = MultiGetUshort(data, &count);
7760 uint16_t filewho = MultiGetUshort(data, &count);
7761 mprintf(0, "Got a file denied packet from %d\n", playernum);
7762
7763 DoNextPlayerFile(filewho);
7764}
7765
7766void MultiDoFileData(uint8_t *data) {
7767 // File data. We asked for it, now the server is sending it to us.

Callers 1

MultiProcessDataFunction · 0.85

Calls 3

SKIP_HEADERFunction · 0.85
MultiGetUshortFunction · 0.85
DoNextPlayerFileFunction · 0.85

Tested by

no test coverage detected