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

Method insert

src/game/ServerListCache.cpp:46–48  ·  view source on GitHub ↗

insert a serverItem mapped by the serverAddress

Source from the content-addressed store, hash-verified

44
45// insert a serverItem mapped by the serverAddress
46void ServerListCache::insert(const std::string& serverAddress, const ServerItem& info) {
47 serverCache.insert(SRV_STR_MAP::value_type(serverAddress, info));
48}
49
50
51ServerListCache::SRV_STR_MAP::iterator ServerListCache::find(const std::string& serverAddress) {

Callers 15

getUsedIndicesMethod · 0.45
addDriverMethod · 0.45
relativeDriverMethod · 0.45
getVariablesMethod · 0.45
addToListMethod · 0.45
loadCacheMethod · 0.45
doLinkingMethod · 0.45
matchLinksMethod · 0.45
getVariablesMethod · 0.45
makeTextureListMethod · 0.45
testBlendFactorFunction · 0.45
unpackMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected