MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / sendAlive

Method sendAlive

src/clientbase/ServerLink.cpp:921–928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

919
920
921void ServerLink::sendAlive(const PlayerId playerId) {
922 char msg[1];
923
924 void* buf = msg;
925 buf = nboPackUInt8(buf, uint8_t(playerId));
926
927 send(MsgAlive, sizeof(msg), msg);
928}
929
930
931void ServerLink::sendTeleport(int from, int to) {

Callers 2

cmdRestartFunction · 0.80
updateRobotsFunction · 0.80

Calls 1

nboPackUInt8Function · 0.85

Tested by

no test coverage detected