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

Method ReceiveRequestForPlayerRecords

netgames/dmfc/dmfcpackets.cpp:555–564  ·  view source on GitHub ↗

DMFCBase::ReceiveRequestForPlayerRecords Recieves and processes a request for a player record

Source from the content-addressed store, hash-verified

553//
554// Recieves and processes a request for a player record
555void DMFCBase::ReceiveRequestForPlayerRecords(uint8_t *data) {
556 if (GetLocalRole() != LR_SERVER)
557 return;
558 int count = 0;
559 int pnum = MultiGetByte(data, &count);
560 PRec_SendPRecToPlayer(pnum);
561
562 // send the player his remote admin key
563 SendRemoteKey(pnum);
564}
565
566// DMFCBase::SendControlMessageToPlayer
567//

Calls 2

MultiGetByteFunction · 0.85
PRec_SendPRecToPlayerFunction · 0.85

Tested by

no test coverage detected