![]() |
DDNet documentation
|
#include <serverbrowser.h>
Public Member Functions | |
| CExcludedCommunityCountryFilterList (const ICommunityCache *pCommunityCache) | |
| void | Add (const char *pCountryName) override |
| void | Add (const char *pCommunityId, const char *pCountryName) |
| void | Remove (const char *pCountryName) override |
| void | Remove (const char *pCommunityId, const char *pCountryName) |
| void | Clear () override |
| bool | Filtered (const char *pCountryName) const override |
| bool | Empty () const override |
| void | Clean (const std::vector< CCommunity > &vAllowedCommunities) |
| void | Save (IConfigManager *pConfigManager) const |
| Public Member Functions inherited from IFilterList | |
| virtual | ~IFilterList ()=default |
Private Attributes | |
| const ICommunityCache * | m_pCommunityCache |
| std::map< CCommunityId, std::set< CCommunityCountryName > > | m_Entries |
|
inline |
| void CExcludedCommunityCountryFilterList::Add | ( | const char * | pCommunityId, |
| const char * | pCountryName ) |
|
overridevirtual |
Implements IFilterList.
| void CExcludedCommunityCountryFilterList::Clean | ( | const std::vector< CCommunity > & | vAllowedCommunities | ) |
|
overridevirtual |
Implements IFilterList.
|
overridevirtual |
Implements IFilterList.
|
overridevirtual |
Implements IFilterList.
| void CExcludedCommunityCountryFilterList::Remove | ( | const char * | pCommunityId, |
| const char * | pCountryName ) |
|
overridevirtual |
Implements IFilterList.
| void CExcludedCommunityCountryFilterList::Save | ( | IConfigManager * | pConfigManager | ) | const |
|
private |
|
private |