#include "irrlichttypes.h"
#include "filecache.h"
#include "util/basic_macros.h"
#include <map>
#include <set>
#include <vector>
#include <unordered_map>
Go to the source code of this file.
Classes | |
class | IClientMediaDownloader |
class | ClientMediaDownloader |
struct | ClientMediaDownloader::FileStatus |
struct | ClientMediaDownloader::RemoteServerStatus |
class | SingleMediaDownloader |
Macros | |
#define | MTHASHSET_FILE_SIGNATURE 0x4d544853 |
#define | MTHASHSET_FILE_NAME "index.mth" |
Functions | |
bool | clientMediaUpdateCache (const std::string &raw_hash, const std::string &filedata) |
bool | clientMediaUpdateCacheCopy (const std::string &raw_hash, const std::string &path) |
#define MTHASHSET_FILE_NAME "index.mth" |
Referenced by ClientMediaDownloader::initialStep().
#define MTHASHSET_FILE_SIGNATURE 0x4d544853 |
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().
bool clientMediaUpdateCacheCopy | ( | const std::string & | raw_hash, |
const std::string & | path ) |
References FileCache::exists(), getMediaCacheDir(), hex_encode(), and FileCache::updateCopyFile().
Referenced by Game::copyServerClientCache().