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

Method packStdString

src/game/NetMessage.cpp:301–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299
300
301void NetMessage::packStdString(const std::string& str) {
302 const size_t packSize = nboStdStringPackSize(str);
303 checkData(packSize);
304 nboPackStdString(getWriteBuffer(), str);
305 dataSize += packSize;
306}
307
308
309//============================================================================//

Callers 13

packCustomMethod · 0.80
sendClosestFlagMessageFunction · 0.80
sendMsgLimboMessageFunction · 0.80
sendPlayerCustomDataPairFunction · 0.80
sendPackVarsMethod · 0.80
sendMsgLuaDataFunction · 0.80
bzdbGlobalCallbackFunction · 0.80
bz_sendJoinServerFunction · 0.80
executeMethod · 0.80
SendPlayerVariablesFunction · 0.80

Calls 2

nboStdStringPackSizeFunction · 0.85
nboPackStdStringFunction · 0.85

Tested by

no test coverage detected