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

Function SKIP_HEADER

Descent3/multi.cpp:2227–2230  ·  view source on GitHub ↗

Skips the header stuff at the beginning of a packet

Source from the content-addressed store, hash-verified

2225
2226// Skips the header stuff at the beginning of a packet
2227void SKIP_HEADER(uint8_t *data, int *count) {
2228 MultiGetByte(data, count);
2229 MultiGetShort(data, count);
2230}
2231
2232// called once a frame on client and server. NOTE: only servers (game masters) check for
2233// listen connections.

Callers 15

MultiDoMSafeFunctionFunction · 0.85
MultiDoMSafePowerupFunction · 0.85
MultiDoRobotFireFunction · 0.85
MultiDoMyInfoFunction · 0.85
MultiDoRequestPlayersFunction · 0.85
MultiDoRequestBuildingsFunction · 0.85
MultiDoRequestObjectsFunction · 0.85
MultiDoPlayerFunction · 0.85
MultiDoPlayerEnteredGameFunction · 0.85
MultiDoEnteringGameFunction · 0.85
MultiDoDamagePlayerFunction · 0.85

Calls 2

MultiGetByteFunction · 0.85
MultiGetShortFunction · 0.85

Tested by

no test coverage detected