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

Method getCacheFilename

src/bzflag/HUDuiServerListCache.cpp:261–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261std::string HUDuiServerListCache::getCacheFilename() const {
262 std::string fileName = getCacheDirName();
263 if (fileName == "") { return ""; }
264 std::string verString = getServerVersion();
265 fileName += verString + "-ServerLists.bzs";
266 return fileName;
267}
268
269void HUDuiServerListCache::applySort(int index, int _sort, bool reverse) {
270 switch (_sort) {

Callers

nothing calls this directly

Calls 2

getCacheDirNameFunction · 0.85
getServerVersionFunction · 0.85

Tested by

no test coverage detected