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

Method isFavorite

src/game/ServerListCache.cpp:65–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65bool ServerListCache::isFavorite(const std::string& serverAddress) const {
66 SRV_STR_MAP::const_iterator i = serverCache.find(serverAddress);
67 return i != serverCache.end() && i->second.favorite;
68}
69
70bool ServerListCache::isRecent(const std::string& serverAddress) const {
71 SRV_STR_MAP::const_iterator i = serverCache.find(serverAddress);

Callers 1

addToListMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected