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

Function RequestPlayerList

Descent3/multi.cpp:9366–9374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9364}
9365
9366void RequestPlayerList(network_address *addr) {
9367 uint8_t outdata[10];
9368 int count = 0;
9369 int size;
9370
9371 size = START_DATA(MP_REQUEST_PLAYERLIST, outdata, &count);
9372 END_DATA(count, outdata, size);
9373 nw_Send(addr, outdata, count, 0);
9374}
9375
9376// a client is requesting a list of players... so give it to em!
9377void DoReqPlayerList(network_address *addr) {

Callers 1

ShowNetgameInfoFunction · 0.85

Calls 3

START_DATAFunction · 0.85
END_DATAFunction · 0.85
nw_SendFunction · 0.85

Tested by

no test coverage detected