#include "clientmedia.h"#include "gettext.h"#include "httpfetch.h"#include "client.h"#include "filecache.h"#include "filesys.h"#include "log.h"#include "porting.h"#include "settings.h"#include "util/hex.h"#include "util/serialize.h"#include "util/hashing.h"#include "util/string.h"#include <sstream>
Include dependency graph for clientmedia.cpp:Functions | |
| static std::string | getMediaCacheDir () |
| bool | clientMediaUpdateCache (const std::string &raw_hash, const std::string &filedata) |
| bool | clientMediaUpdateCacheCopy (const std::string &raw_hash, const std::string &path) |
| bool clientMediaUpdateCache | ( | const std::string & | raw_hash, |
| const std::string & | filedata ) |
References FileCache::exists(), getMediaCacheDir(), hex_encode(), and FileCache::update().
Referenced by Client::handleCommand_MediaPush().
Here is the call graph for this function:
Here is the caller graph for this function:| bool clientMediaUpdateCacheCopy | ( | const std::string & | raw_hash, |
| const std::string & | path ) |
References FileCache::exists(), getMediaCacheDir(), hex_encode(), and FileCache::updateCopyFile().
Referenced by Game::copyServerClientCache().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References DIR_DELIM, and porting::path_cache.
Referenced by clientMediaUpdateCache(), and clientMediaUpdateCacheCopy().
Here is the caller graph for this function: