DDraceNetwork Docs
CServerBrowser Class Reference

#include <serverbrowser.h>

Inheritance diagram for CServerBrowser:
[legend]
Collaboration diagram for CServerBrowser:
[legend]

Public Member Functions

 CServerBrowser ()
 
virtual ~CServerBrowser ()
 
void Refresh (int Type, bool Force=false) override
 
bool IsRefreshing () const override
 
bool IsGettingServerlist () const override
 
int LoadingProgression () const override
 
void RequestResort ()
 
int NumServers () const override
 
int Players (const CServerInfo &Item) const override
 
int Max (const CServerInfo &Item) const override
 
int NumSortedServers () const override
 
int NumSortedPlayers () const override
 
const CServerInfoSortedGet (int Index) const override
 
const json_valueLoadDDNetInfo ()
 
void LoadDDNetInfoJson ()
 
void LoadDDNetLocation ()
 
void LoadDDNetServers ()
 
void UpdateServerFilteredPlayers (CServerInfo *pInfo) const
 
void UpdateServerFriends (CServerInfo *pInfo) const
 
void UpdateServerCommunity (CServerInfo *pInfo) const
 
void UpdateServerRank (CServerInfo *pInfo) const
 
const char * GetTutorialServer () override
 
const std::vector< CCommunity > & Communities () const override
 
const CCommunityCommunity (const char *pCommunityId) const override
 
std::vector< const CCommunity * > SelectedCommunities () const override
 
std::vector< const CCommunity * > FavoriteCommunities () const override
 
std::vector< const CCommunity * > CurrentCommunities () const override
 
unsigned CurrentCommunitiesHash () const override
 
bool DDNetInfoAvailable () const override
 
SHA256_DIGEST DDNetInfoSha256 () const override
 
ICommunityCacheCommunityCache () override
 
const ICommunityCacheCommunityCache () const override
 
CFavoriteCommunityFilterListFavoriteCommunitiesFilter () override
 
CExcludedCommunityFilterListCommunitiesFilter () override
 
CExcludedCommunityCountryFilterListCountriesFilter () override
 
CExcludedCommunityTypeFilterListTypesFilter () override
 
const CFavoriteCommunityFilterListFavoriteCommunitiesFilter () const override
 
const CExcludedCommunityFilterListCommunitiesFilter () const override
 
const CExcludedCommunityCountryFilterListCountriesFilter () const override
 
const CExcludedCommunityTypeFilterListTypesFilter () const override
 
void CleanFilters () override
 
void Update ()
 
void OnServerInfoUpdate (const NETADDR &Addr, int Token, const CServerInfo *pInfo)
 
void SetHttpInfo (const CServerInfo *pInfo)
 
void RequestCurrentServer (const NETADDR &Addr) const
 
void RequestCurrentServerWithRandomToken (const NETADDR &Addr, int *pBasicToken, int *pToken) const
 
void SetCurrentServerPing (const NETADDR &Addr, int Ping)
 
void SetBaseInfo (class CNetClient *pClient, const char *pNetVersion)
 
void OnInit ()
 
void QueueRequest (CServerEntry *pEntry)
 
CServerEntryFind (const NETADDR &Addr) override
 
int GetCurrentType () override
 
bool IsRegistered (const NETADDR &Addr)
 
virtual void Refresh (int Type, bool Force=false)=0
 
virtual bool IsGettingServerlist () const =0
 
virtual bool IsRefreshing () const =0
 
virtual int LoadingProgression () const =0
 
virtual int NumServers () const =0
 
virtual int Players (const CServerInfo &Item) const =0
 
virtual int Max (const CServerInfo &Item) const =0
 
virtual int NumSortedServers () const =0
 
virtual int NumSortedPlayers () const =0
 
virtual const CServerInfoSortedGet (int Index) const =0
 
virtual const std::vector< CCommunity > & Communities () const =0
 
virtual const CCommunityCommunity (const char *pCommunityId) const =0
 
virtual std::vector< const CCommunity * > SelectedCommunities () const =0
 
virtual std::vector< const CCommunity * > FavoriteCommunities () const =0
 
virtual std::vector< const CCommunity * > CurrentCommunities () const =0
 
virtual unsigned CurrentCommunitiesHash () const =0
 
virtual bool DDNetInfoAvailable () const =0
 
virtual SHA256_DIGEST DDNetInfoSha256 () const =0
 
virtual ICommunityCacheCommunityCache ()=0
 
virtual const ICommunityCacheCommunityCache () const =0
 
virtual IFilterListFavoriteCommunitiesFilter ()=0
 
virtual IFilterListCommunitiesFilter ()=0
 
virtual IFilterListCountriesFilter ()=0
 
virtual IFilterListTypesFilter ()=0
 
virtual const IFilterListFavoriteCommunitiesFilter () const =0
 
virtual const IFilterListCommunitiesFilter () const =0
 
virtual const IFilterListCountriesFilter () const =0
 
virtual const IFilterListTypesFilter () const =0
 
virtual void CleanFilters ()=0
 
virtual CServerEntryFind (const NETADDR &Addr)=0
 
virtual int GetCurrentType ()=0
 
virtual const char * GetTutorialServer ()=0
 
- Public Member Functions inherited from IInterface
 IInterface ()
 
virtual void Shutdown ()
 
virtual ~IInterface ()
 

Private Member Functions

int GenerateToken (const NETADDR &Addr) const
 
bool SortCompareName (int Index1, int Index2) const
 
bool SortCompareMap (int Index1, int Index2) const
 
bool SortComparePing (int Index1, int Index2) const
 
bool SortCompareGametype (int Index1, int Index2) const
 
bool SortCompareNumPlayers (int Index1, int Index2) const
 
bool SortCompareNumClients (int Index1, int Index2) const
 
bool SortCompareNumFriends (int Index1, int Index2) const
 
bool SortCompareNumPlayersAndPing (int Index1, int Index2) const
 
void Filter ()
 
void Sort ()
 
int SortHash () const
 
void CleanUp ()
 
void UpdateFromHttp ()
 
CServerEntryAdd (const NETADDR *pAddrs, int NumAddrs)
 
void RemoveRequest (CServerEntry *pEntry)
 
void RequestImpl (const NETADDR &Addr, CServerEntry *pEntry, int *pBasicToken, int *pToken, bool RandomToken) const
 
void RegisterCommands ()
 
bool ValidateCommunityId (const char *pCommunityId) const
 
bool ValidateCountryName (const char *pCountryName) const
 
bool ValidateTypeName (const char *pTypeName) const
 
void SetInfo (CServerEntry *pEntry, const CServerInfo &Info) const
 
void SetLatency (NETADDR Addr, int Latency)
 

Static Private Member Functions

static int GetBasicToken (int Token)
 
static int GetExtraToken (int Token)
 
static void ConfigSaveCallback (IConfigManager *pConfigManager, void *pUserData)
 
static void Con_AddFavoriteCommunity (IConsole::IResult *pResult, void *pUserData)
 
static void Con_RemoveFavoriteCommunity (IConsole::IResult *pResult, void *pUserData)
 
static void Con_AddExcludedCommunity (IConsole::IResult *pResult, void *pUserData)
 
static void Con_RemoveExcludedCommunity (IConsole::IResult *pResult, void *pUserData)
 
static void Con_AddExcludedCountry (IConsole::IResult *pResult, void *pUserData)
 
static void Con_RemoveExcludedCountry (IConsole::IResult *pResult, void *pUserData)
 
static void Con_AddExcludedType (IConsole::IResult *pResult, void *pUserData)
 
static void Con_RemoveExcludedType (IConsole::IResult *pResult, void *pUserData)
 
static void Con_LeakIpAddress (IConsole::IResult *pResult, void *pUserData)
 
static bool ParseCommunityFinishes (CCommunity *pCommunity, const json_value &Finishes)
 
static bool ParseCommunityServers (CCommunity *pCommunity, const json_value &Servers)
 

Private Attributes

CNetClientm_pNetClient = nullptr
 
IConfigManagerm_pConfigManager = nullptr
 
IConsolem_pConsole = nullptr
 
IEnginem_pEngine = nullptr
 
IFriendsm_pFriends = nullptr
 
IFavoritesm_pFavorites = nullptr
 
IStoragem_pStorage = nullptr
 
IHttpm_pHttpClient = nullptr
 
char m_aNetVersion [128]
 
bool m_RefreshingHttp = false
 
IServerBrowserHttpm_pHttp = nullptr
 
IServerBrowserPingCachem_pPingCache = nullptr
 
const char * m_pHttpPrevBestUrl = nullptr
 
CHeap m_ServerlistHeap
 
CServerEntry ** m_ppServerlist
 
int * m_pSortedServerlist
 
std::unordered_map< NETADDR, int > m_ByAddr
 
std::vector< CCommunitym_vCommunities
 
std::unordered_map< NETADDR, CCommunityServerm_CommunityServersByAddr
 
int m_OwnLocation = CServerInfo::LOC_UNKNOWN
 
CCommunityCache m_CommunityCache
 
CFavoriteCommunityFilterList m_FavoriteCommunitiesFilter
 
CExcludedCommunityFilterList m_CommunitiesFilter
 
CExcludedCommunityCountryFilterList m_CountriesFilter
 
CExcludedCommunityTypeFilterList m_TypesFilter
 
json_valuem_pDDNetInfo = nullptr
 
SHA256_DIGEST m_DDNetInfoSha256 = SHA256_ZEROED
 
CServerEntrym_pFirstReqServer
 
CServerEntrym_pLastReqServer
 
int m_NumRequests
 
bool m_NeedResort
 
int m_Sorthash
 
int m_CurrentMaxRequests
 
int m_NumSortedServers
 
int m_NumSortedServersCapacity
 
int m_NumSortedPlayers
 
int m_NumServers
 
int m_NumServerCapacity
 
int m_ServerlistType
 
int64_t m_BroadcastTime
 
unsigned char m_aTokenSeed [16]
 

Additional Inherited Members

- Public Types inherited from IServerBrowser
enum  {
  SORT_NAME = 0 , SORT_PING , SORT_MAP , SORT_GAMETYPE ,
  SORT_NUMPLAYERS , SORT_NUMFRIENDS , QUICK_SERVERNAME = 1 , QUICK_PLAYER = 2 ,
  QUICK_MAPNAME = 4 , TYPE_INTERNET = 0 , TYPE_LAN , TYPE_FAVORITES ,
  TYPE_FAVORITE_COMMUNITY_1 , TYPE_FAVORITE_COMMUNITY_2 , TYPE_FAVORITE_COMMUNITY_3 , TYPE_FAVORITE_COMMUNITY_4 ,
  TYPE_FAVORITE_COMMUNITY_5 , NUM_TYPES , LAN_PORT_BEGIN = 8303 , LAN_PORT_END = 8310
}
 
- Static Public Member Functions inherited from IServerBrowser
static const char * InterfaceName ()
 
- Static Public Attributes inherited from IServerBrowser
static constexpr const char * COMMUNITY_DDNET = "ddnet"
 
static constexpr const char * COMMUNITY_NONE = "none"
 
static constexpr const char * COMMUNITY_COUNTRY_NONE = "none"
 
static constexpr const char * COMMUNITY_TYPE_NONE = "None"
 
static constexpr const char * COMMUNITY_ALL = "all"
 
static constexpr const char * SEARCH_EXCLUDE_TOKEN = ";"
 
- Protected Member Functions inherited from IInterface
IKernelKernel ()
 

Constructor & Destructor Documentation

◆ CServerBrowser()

CServerBrowser::CServerBrowser ( )

◆ ~CServerBrowser()

CServerBrowser::~CServerBrowser ( )
virtual

Member Function Documentation

◆ Add()

CServerBrowser::CServerEntry * CServerBrowser::Add ( const NETADDR pAddrs,
int  NumAddrs 
)
private

◆ CleanFilters()

void CServerBrowser::CleanFilters ( )
overridevirtual

Implements IServerBrowser.

◆ CleanUp()

void CServerBrowser::CleanUp ( )
private

◆ Communities()

const std::vector< CCommunity > & CServerBrowser::Communities ( ) const
overridevirtual

Implements IServerBrowser.

◆ CommunitiesFilter() [1/2]

const CExcludedCommunityFilterList & CServerBrowser::CommunitiesFilter ( ) const
inlineoverridevirtual

Implements IServerBrowser.

◆ CommunitiesFilter() [2/2]

CExcludedCommunityFilterList & CServerBrowser::CommunitiesFilter ( )
inlineoverridevirtual

Implements IServerBrowser.

◆ Community()

const CCommunity * CServerBrowser::Community ( const char *  pCommunityId) const
overridevirtual

Implements IServerBrowser.

◆ CommunityCache() [1/2]

const ICommunityCache & CServerBrowser::CommunityCache ( ) const
inlineoverridevirtual

Implements IServerBrowser.

◆ CommunityCache() [2/2]

ICommunityCache & CServerBrowser::CommunityCache ( )
inlineoverridevirtual

Implements IServerBrowser.

◆ Con_AddExcludedCommunity()

void CServerBrowser::Con_AddExcludedCommunity ( IConsole::IResult pResult,
void *  pUserData 
)
staticprivate

◆ Con_AddExcludedCountry()

void CServerBrowser::Con_AddExcludedCountry ( IConsole::IResult pResult,
void *  pUserData 
)
staticprivate

◆ Con_AddExcludedType()

void CServerBrowser::Con_AddExcludedType ( IConsole::IResult pResult,
void *  pUserData 
)
staticprivate

◆ Con_AddFavoriteCommunity()

void CServerBrowser::Con_AddFavoriteCommunity ( IConsole::IResult pResult,
void *  pUserData 
)
staticprivate

◆ Con_LeakIpAddress()

void CServerBrowser::Con_LeakIpAddress ( IConsole::IResult pResult,
void *  pUserData 
)
staticprivate

◆ Con_RemoveExcludedCommunity()

void CServerBrowser::Con_RemoveExcludedCommunity ( IConsole::IResult pResult,
void *  pUserData 
)
staticprivate

◆ Con_RemoveExcludedCountry()

void CServerBrowser::Con_RemoveExcludedCountry ( IConsole::IResult pResult,
void *  pUserData 
)
staticprivate

◆ Con_RemoveExcludedType()

void CServerBrowser::Con_RemoveExcludedType ( IConsole::IResult pResult,
void *  pUserData 
)
staticprivate

◆ Con_RemoveFavoriteCommunity()

void CServerBrowser::Con_RemoveFavoriteCommunity ( IConsole::IResult pResult,
void *  pUserData 
)
staticprivate

◆ ConfigSaveCallback()

void CServerBrowser::ConfigSaveCallback ( IConfigManager pConfigManager,
void *  pUserData 
)
staticprivate

◆ CountriesFilter() [1/2]

const CExcludedCommunityCountryFilterList & CServerBrowser::CountriesFilter ( ) const
inlineoverridevirtual

Implements IServerBrowser.

◆ CountriesFilter() [2/2]

CExcludedCommunityCountryFilterList & CServerBrowser::CountriesFilter ( )
inlineoverridevirtual

Implements IServerBrowser.

◆ CurrentCommunities()

std::vector< const CCommunity * > CServerBrowser::CurrentCommunities ( ) const
overridevirtual

Implements IServerBrowser.

◆ CurrentCommunitiesHash()

unsigned CServerBrowser::CurrentCommunitiesHash ( ) const
overridevirtual

Implements IServerBrowser.

◆ DDNetInfoAvailable()

bool CServerBrowser::DDNetInfoAvailable ( ) const
inlineoverridevirtual

Implements IServerBrowser.

◆ DDNetInfoSha256()

SHA256_DIGEST CServerBrowser::DDNetInfoSha256 ( ) const
inlineoverridevirtual

Implements IServerBrowser.

◆ FavoriteCommunities()

std::vector< const CCommunity * > CServerBrowser::FavoriteCommunities ( ) const
overridevirtual

Implements IServerBrowser.

◆ FavoriteCommunitiesFilter() [1/2]

const CFavoriteCommunityFilterList & CServerBrowser::FavoriteCommunitiesFilter ( ) const
inlineoverridevirtual

Implements IServerBrowser.

◆ FavoriteCommunitiesFilter() [2/2]

CFavoriteCommunityFilterList & CServerBrowser::FavoriteCommunitiesFilter ( )
inlineoverridevirtual

Implements IServerBrowser.

◆ Filter()

void CServerBrowser::Filter ( )
private

◆ Find()

CServerBrowser::CServerEntry * CServerBrowser::Find ( const NETADDR Addr)
overridevirtual

Implements IServerBrowser.

◆ GenerateToken()

int CServerBrowser::GenerateToken ( const NETADDR Addr) const
private

◆ GetBasicToken()

int CServerBrowser::GetBasicToken ( int  Token)
staticprivate

◆ GetCurrentType()

int CServerBrowser::GetCurrentType ( )
inlineoverridevirtual

Implements IServerBrowser.

◆ GetExtraToken()

int CServerBrowser::GetExtraToken ( int  Token)
staticprivate

◆ GetTutorialServer()

const char * CServerBrowser::GetTutorialServer ( )
overridevirtual

Implements IServerBrowser.

◆ IsGettingServerlist()

bool CServerBrowser::IsGettingServerlist ( ) const
overridevirtual

Implements IServerBrowser.

◆ IsRefreshing()

bool CServerBrowser::IsRefreshing ( ) const
overridevirtual

Implements IServerBrowser.

◆ IsRegistered()

bool CServerBrowser::IsRegistered ( const NETADDR Addr)

◆ LoadDDNetInfo()

const json_value * CServerBrowser::LoadDDNetInfo ( )

◆ LoadDDNetInfoJson()

void CServerBrowser::LoadDDNetInfoJson ( )

◆ LoadDDNetLocation()

void CServerBrowser::LoadDDNetLocation ( )

◆ LoadDDNetServers()

void CServerBrowser::LoadDDNetServers ( )

◆ LoadingProgression()

int CServerBrowser::LoadingProgression ( ) const
overridevirtual

Implements IServerBrowser.

◆ Max()

int CServerBrowser::Max ( const CServerInfo Item) const
overridevirtual

Implements IServerBrowser.

◆ NumServers()

int CServerBrowser::NumServers ( ) const
inlineoverridevirtual

Implements IServerBrowser.

◆ NumSortedPlayers()

int CServerBrowser::NumSortedPlayers ( ) const
inlineoverridevirtual

Implements IServerBrowser.

◆ NumSortedServers()

int CServerBrowser::NumSortedServers ( ) const
inlineoverridevirtual

Implements IServerBrowser.

◆ OnInit()

void CServerBrowser::OnInit ( )

◆ OnServerInfoUpdate()

void CServerBrowser::OnServerInfoUpdate ( const NETADDR Addr,
int  Token,
const CServerInfo pInfo 
)

◆ ParseCommunityFinishes()

bool CServerBrowser::ParseCommunityFinishes ( CCommunity pCommunity,
const json_value Finishes 
)
staticprivate

◆ ParseCommunityServers()

bool CServerBrowser::ParseCommunityServers ( CCommunity pCommunity,
const json_value Servers 
)
staticprivate

◆ Players()

int CServerBrowser::Players ( const CServerInfo Item) const
overridevirtual

Implements IServerBrowser.

◆ QueueRequest()

void CServerBrowser::QueueRequest ( CServerEntry pEntry)

◆ Refresh()

void CServerBrowser::Refresh ( int  Type,
bool  Force = false 
)
overridevirtual

Implements IServerBrowser.

◆ RegisterCommands()

void CServerBrowser::RegisterCommands ( )
private

◆ RemoveRequest()

void CServerBrowser::RemoveRequest ( CServerEntry pEntry)
private

◆ RequestCurrentServer()

void CServerBrowser::RequestCurrentServer ( const NETADDR Addr) const

◆ RequestCurrentServerWithRandomToken()

void CServerBrowser::RequestCurrentServerWithRandomToken ( const NETADDR Addr,
int *  pBasicToken,
int *  pToken 
) const

◆ RequestImpl()

void CServerBrowser::RequestImpl ( const NETADDR Addr,
CServerEntry pEntry,
int *  pBasicToken,
int *  pToken,
bool  RandomToken 
) const
private

◆ RequestResort()

void CServerBrowser::RequestResort ( )
inline

◆ SelectedCommunities()

std::vector< const CCommunity * > CServerBrowser::SelectedCommunities ( ) const
overridevirtual

Implements IServerBrowser.

◆ SetBaseInfo()

void CServerBrowser::SetBaseInfo ( class CNetClient pClient,
const char *  pNetVersion 
)

◆ SetCurrentServerPing()

void CServerBrowser::SetCurrentServerPing ( const NETADDR Addr,
int  Ping 
)

◆ SetHttpInfo()

void CServerBrowser::SetHttpInfo ( const CServerInfo pInfo)

◆ SetInfo()

void CServerBrowser::SetInfo ( CServerEntry pEntry,
const CServerInfo Info 
) const
private

◆ SetLatency()

void CServerBrowser::SetLatency ( NETADDR  Addr,
int  Latency 
)
private

◆ Sort()

void CServerBrowser::Sort ( )
private

◆ SortCompareGametype()

bool CServerBrowser::SortCompareGametype ( int  Index1,
int  Index2 
) const
private

◆ SortCompareMap()

bool CServerBrowser::SortCompareMap ( int  Index1,
int  Index2 
) const
private

◆ SortCompareName()

bool CServerBrowser::SortCompareName ( int  Index1,
int  Index2 
) const
private

◆ SortCompareNumClients()

bool CServerBrowser::SortCompareNumClients ( int  Index1,
int  Index2 
) const
private

◆ SortCompareNumFriends()

bool CServerBrowser::SortCompareNumFriends ( int  Index1,
int  Index2 
) const
private

◆ SortCompareNumPlayers()

bool CServerBrowser::SortCompareNumPlayers ( int  Index1,
int  Index2 
) const
private

◆ SortCompareNumPlayersAndPing()

bool CServerBrowser::SortCompareNumPlayersAndPing ( int  Index1,
int  Index2 
) const
private

◆ SortComparePing()

bool CServerBrowser::SortComparePing ( int  Index1,
int  Index2 
) const
private

◆ SortedGet()

const CServerInfo * CServerBrowser::SortedGet ( int  Index) const
overridevirtual

Implements IServerBrowser.

◆ SortHash()

int CServerBrowser::SortHash ( ) const
private

◆ TypesFilter() [1/2]

const CExcludedCommunityTypeFilterList & CServerBrowser::TypesFilter ( ) const
inlineoverridevirtual

Implements IServerBrowser.

◆ TypesFilter() [2/2]

CExcludedCommunityTypeFilterList & CServerBrowser::TypesFilter ( )
inlineoverridevirtual

Implements IServerBrowser.

◆ Update()

void CServerBrowser::Update ( )

◆ UpdateFromHttp()

void CServerBrowser::UpdateFromHttp ( )
private

◆ UpdateServerCommunity()

void CServerBrowser::UpdateServerCommunity ( CServerInfo pInfo) const

◆ UpdateServerFilteredPlayers()

void CServerBrowser::UpdateServerFilteredPlayers ( CServerInfo pInfo) const

◆ UpdateServerFriends()

void CServerBrowser::UpdateServerFriends ( CServerInfo pInfo) const

◆ UpdateServerRank()

void CServerBrowser::UpdateServerRank ( CServerInfo pInfo) const

◆ ValidateCommunityId()

bool CServerBrowser::ValidateCommunityId ( const char *  pCommunityId) const
private

◆ ValidateCountryName()

bool CServerBrowser::ValidateCountryName ( const char *  pCountryName) const
private

◆ ValidateTypeName()

bool CServerBrowser::ValidateTypeName ( const char *  pTypeName) const
private

Member Data Documentation

◆ m_aNetVersion

char CServerBrowser::m_aNetVersion[128]
private

◆ m_aTokenSeed

unsigned char CServerBrowser::m_aTokenSeed[16]
private

◆ m_BroadcastTime

int64_t CServerBrowser::m_BroadcastTime
private

◆ m_ByAddr

std::unordered_map<NETADDR, int> CServerBrowser::m_ByAddr
private

◆ m_CommunitiesFilter

CExcludedCommunityFilterList CServerBrowser::m_CommunitiesFilter
private

◆ m_CommunityCache

CCommunityCache CServerBrowser::m_CommunityCache
private

◆ m_CommunityServersByAddr

std::unordered_map<NETADDR, CCommunityServer> CServerBrowser::m_CommunityServersByAddr
private

◆ m_CountriesFilter

CExcludedCommunityCountryFilterList CServerBrowser::m_CountriesFilter
private

◆ m_CurrentMaxRequests

int CServerBrowser::m_CurrentMaxRequests
private

◆ m_DDNetInfoSha256

SHA256_DIGEST CServerBrowser::m_DDNetInfoSha256 = SHA256_ZEROED
private

◆ m_FavoriteCommunitiesFilter

CFavoriteCommunityFilterList CServerBrowser::m_FavoriteCommunitiesFilter
private

◆ m_NeedResort

bool CServerBrowser::m_NeedResort
private

◆ m_NumRequests

int CServerBrowser::m_NumRequests
private

◆ m_NumServerCapacity

int CServerBrowser::m_NumServerCapacity
private

◆ m_NumServers

int CServerBrowser::m_NumServers
private

◆ m_NumSortedPlayers

int CServerBrowser::m_NumSortedPlayers
private

◆ m_NumSortedServers

int CServerBrowser::m_NumSortedServers
private

◆ m_NumSortedServersCapacity

int CServerBrowser::m_NumSortedServersCapacity
private

◆ m_OwnLocation

int CServerBrowser::m_OwnLocation = CServerInfo::LOC_UNKNOWN
private

◆ m_pConfigManager

IConfigManager* CServerBrowser::m_pConfigManager = nullptr
private

◆ m_pConsole

IConsole* CServerBrowser::m_pConsole = nullptr
private

◆ m_pDDNetInfo

json_value* CServerBrowser::m_pDDNetInfo = nullptr
private

◆ m_pEngine

IEngine* CServerBrowser::m_pEngine = nullptr
private

◆ m_pFavorites

IFavorites* CServerBrowser::m_pFavorites = nullptr
private

◆ m_pFirstReqServer

CServerEntry* CServerBrowser::m_pFirstReqServer
private

◆ m_pFriends

IFriends* CServerBrowser::m_pFriends = nullptr
private

◆ m_pHttp

IServerBrowserHttp* CServerBrowser::m_pHttp = nullptr
private

◆ m_pHttpClient

IHttp* CServerBrowser::m_pHttpClient = nullptr
private

◆ m_pHttpPrevBestUrl

const char* CServerBrowser::m_pHttpPrevBestUrl = nullptr
private

◆ m_pLastReqServer

CServerEntry* CServerBrowser::m_pLastReqServer
private

◆ m_pNetClient

CNetClient* CServerBrowser::m_pNetClient = nullptr
private

◆ m_pPingCache

IServerBrowserPingCache* CServerBrowser::m_pPingCache = nullptr
private

◆ m_ppServerlist

CServerEntry** CServerBrowser::m_ppServerlist
private

◆ m_pSortedServerlist

int* CServerBrowser::m_pSortedServerlist
private

◆ m_pStorage

IStorage* CServerBrowser::m_pStorage = nullptr
private

◆ m_RefreshingHttp

bool CServerBrowser::m_RefreshingHttp = false
private

◆ m_ServerlistHeap

CHeap CServerBrowser::m_ServerlistHeap
private

◆ m_ServerlistType

int CServerBrowser::m_ServerlistType
private

◆ m_Sorthash

int CServerBrowser::m_Sorthash
private

◆ m_TypesFilter

CExcludedCommunityTypeFilterList CServerBrowser::m_TypesFilter
private

◆ m_vCommunities

std::vector<CCommunity> CServerBrowser::m_vCommunities
private

The documentation for this class was generated from the following files: