DDraceNetwork Docs
|
#include "serverbrowser_http.h"
#include <engine/console.h>
#include <engine/engine.h>
#include <engine/external/json-parser/json.h>
#include <engine/serverbrowser.h>
#include <engine/shared/http.h>
#include <engine/shared/jobs.h>
#include <engine/shared/linereader.h>
#include <engine/shared/serverinfo.h>
#include <engine/storage.h>
#include <base/lock.h>
#include <base/log.h>
#include <base/system.h>
#include <memory>
#include <vector>
#include <chrono>
Classes | |
class | CChooseMaster |
class | CChooseMaster::CData |
class | CChooseMaster::CJob |
class | CServerBrowserHttp |
Functions | |
static int | SanitizeAge (std::optional< int64_t > Age) |
static int | ClassifyAge (int AgeSeconds) |
bool | ServerbrowserParseUrl (NETADDR *pOut, const char *pUrl) |
IServerBrowserHttp * | CreateServerBrowserHttp (IEngine *pEngine, IStorage *pStorage, IHttp *pHttp, const char *pPreviousBestUrl) |
Variables | |
static const char * | DEFAULT_SERVERLIST_URLS [] |
|
static |
IServerBrowserHttp * CreateServerBrowserHttp | ( | IEngine * | pEngine, |
IStorage * | pStorage, | ||
IHttp * | pHttp, | ||
const char * | pPreviousBestUrl | ||
) |
|
static |
bool ServerbrowserParseUrl | ( | NETADDR * | pOut, |
const char * | pUrl | ||
) |
|
static |