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

Function MultiSendBadChecksum

Descent3/multi.cpp:1883–1890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1881}
1882
1883void MultiSendBadChecksum(int slot) {
1884 uint8_t data[MAX_GAME_DATA_SIZE];
1885 int size;
1886 int count = 0;
1887 size = START_DATA(MP_REJECTED_CHECKSUM, data, &count);
1888 END_DATA(count, data, size);
1889 nw_SendReliable(NetPlayers[slot].reliable_socket, data, count);
1890}
1891
1892// Puts player "slot" position info into the passed in buffer
1893// Returns the number of bytes used

Callers 1

Calls 3

START_DATAFunction · 0.85
END_DATAFunction · 0.85
nw_SendReliableFunction · 0.85

Tested by

no test coverage detected