DDraceNetwork Documentation
Loading...
Searching...
No Matches
CCommunityCache Class Reference

#include <serverbrowser.h>

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

Public Member Functions

 CCommunityCache (IServerBrowser *pServerBrowser)
void Update (bool Force) override
const std::vector< const CCommunity * > & SelectedCommunities () const override
const std::vector< const CCommunityCountry * > & SelectableCountries () const override
const std::vector< const CCommunityType * > & SelectableTypes () const override
bool AnyRanksAvailable () const override
bool CountriesTypesFilterAvailable () const override
const char * CountryTypeFilterKey () const override
Public Member Functions inherited from ICommunityCache
virtual ~ICommunityCache ()=default

Private Attributes

IServerBrowserm_pServerBrowser
std::optional< SHA256_DIGESTm_InfoSha256
int m_LastType = IServerBrowser::NUM_TYPES
unsigned m_SelectedCommunitiesHash = 0
std::vector< const CCommunity * > m_vpSelectedCommunities
std::vector< const CCommunityCountry * > m_vpSelectableCountries
std::vector< const CCommunityType * > m_vpSelectableTypes
bool m_AnyRanksAvailable = false
bool m_CountryTypesFilterAvailable = false
const char * m_pCountryTypeFilterKey = IServerBrowser::COMMUNITY_ALL

Constructor & Destructor Documentation

◆ CCommunityCache()

CCommunityCache::CCommunityCache ( IServerBrowser * pServerBrowser)
inline

Member Function Documentation

◆ AnyRanksAvailable()

bool CCommunityCache::AnyRanksAvailable ( ) const
inlineoverridevirtual

Implements ICommunityCache.

◆ CountriesTypesFilterAvailable()

bool CCommunityCache::CountriesTypesFilterAvailable ( ) const
inlineoverridevirtual

Implements ICommunityCache.

◆ CountryTypeFilterKey()

const char * CCommunityCache::CountryTypeFilterKey ( ) const
inlineoverridevirtual

Implements ICommunityCache.

◆ SelectableCountries()

const std::vector< const CCommunityCountry * > & CCommunityCache::SelectableCountries ( ) const
inlineoverridevirtual

Implements ICommunityCache.

◆ SelectableTypes()

const std::vector< const CCommunityType * > & CCommunityCache::SelectableTypes ( ) const
inlineoverridevirtual

Implements ICommunityCache.

◆ SelectedCommunities()

const std::vector< const CCommunity * > & CCommunityCache::SelectedCommunities ( ) const
inlineoverridevirtual

Implements ICommunityCache.

◆ Update()

void CCommunityCache::Update ( bool Force)
overridevirtual

Implements ICommunityCache.

Member Data Documentation

◆ m_AnyRanksAvailable

bool CCommunityCache::m_AnyRanksAvailable = false
private

◆ m_CountryTypesFilterAvailable

bool CCommunityCache::m_CountryTypesFilterAvailable = false
private

◆ m_InfoSha256

std::optional<SHA256_DIGEST> CCommunityCache::m_InfoSha256
private

◆ m_LastType

int CCommunityCache::m_LastType = IServerBrowser::NUM_TYPES
private

◆ m_pCountryTypeFilterKey

const char* CCommunityCache::m_pCountryTypeFilterKey = IServerBrowser::COMMUNITY_ALL
private

◆ m_pServerBrowser

IServerBrowser* CCommunityCache::m_pServerBrowser
private

◆ m_SelectedCommunitiesHash

unsigned CCommunityCache::m_SelectedCommunitiesHash = 0
private

◆ m_vpSelectableCountries

std::vector<const CCommunityCountry *> CCommunityCache::m_vpSelectableCountries
private

◆ m_vpSelectableTypes

std::vector<const CCommunityType *> CCommunityCache::m_vpSelectableTypes
private

◆ m_vpSelectedCommunities

std::vector<const CCommunity *> CCommunityCache::m_vpSelectedCommunities
private

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