DDraceNetwork Docs
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
 
virtual void Update (bool Force)=0
 
virtual const std::vector< const CCommunity * > & SelectedCommunities () const =0
 
virtual const std::vector< const CCommunityCountry * > & SelectableCountries () const =0
 
virtual const std::vector< const CCommunityType * > & SelectableTypes () const =0
 
virtual bool AnyRanksAvailable () const =0
 
virtual bool CountriesTypesFilterAvailable () const =0
 
virtual const char * CountryTypeFilterKey () const =0
 

Private Attributes

IServerBrowserm_pServerBrowser
 
SHA256_DIGEST m_InfoSha256 = SHA256_ZEROED
 
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

SHA256_DIGEST CCommunityCache::m_InfoSha256 = SHA256_ZEROED
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: