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

Method sendDropFlag

src/clientbase/ServerLink.cpp:820–826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

818
819
820void ServerLink::sendDropFlag(const fvec3& position) {
821 char msg[13];
822 void* buf = msg;
823 buf = nboPackUInt8(buf, uint8_t(getId()));
824 buf = nboPackFVec3(buf, position);
825 send(MsgDropFlag, sizeof(msg), msg);
826}
827
828
829void ServerLink::sendKilled(const PlayerId victim,

Callers 13

cmdDropFunction · 0.80
doUpdateMethod · 0.80
doUpdateMotionMethod · 0.80
changeScoreMethod · 0.80
handleAllowFunction · 0.80
handleKilledMessageFunction · 0.80
gotBlowedUpFunction · 0.80
updatePauseCountdownFunction · 0.80
lookForFlagFunction · 0.80
navigateFunction · 0.80
dropHardFlagsFunction · 0.80
handleKilledMessageFunction · 0.80

Calls 2

nboPackUInt8Function · 0.85
nboPackFVec3Function · 0.85

Tested by

no test coverage detected