![]() |
DDNet documentation
|
#include <serverbrowser.h>
Public Member Functions | |
| CCommunity (const char *pId, const char *pName, std::optional< SHA256_DIGEST > IconSha256, const char *pIconUrl) | |
| const char * | Id () const |
| const char * | Name () const |
| const char * | IconUrl () const |
| const std::optional< SHA256_DIGEST > & | IconSha256 () const |
| const std::vector< CCommunityCountry > & | Countries () const |
| const std::vector< CCommunityType > & | Types () const |
| bool | HasCountry (const char *pCountryName) const |
| bool | HasType (const char *pTypeName) const |
| bool | HasRanks () const |
| CServerInfo::ERankState | HasRank (const char *pMap) const |
| int | NumPlayers () const |
Private Attributes | |
| char | m_aId [CServerInfo::MAX_COMMUNITY_ID_LENGTH] |
| char | m_aName [64] |
| std::optional< SHA256_DIGEST > | m_IconSha256 |
| char | m_aIconUrl [128] |
| std::vector< CCommunityCountry > | m_vCountries |
| std::vector< CCommunityType > | m_vTypes |
| int | m_NumPlayers = 0 |
| bool | m_HasFinishes = false |
| std::unordered_set< CCommunityMap, CCommunityMap::SHash > | m_FinishedMaps |
Friends | |
| class | CServerBrowser |
|
inline |
|
inline |
| bool CCommunity::HasCountry | ( | const char * | pCountryName | ) | const |
| CServerInfo::ERankState CCommunity::HasRank | ( | const char * | pMap | ) | const |
|
inline |
| bool CCommunity::HasType | ( | const char * | pTypeName | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |