MCPcopy Create free account
hub / github.com/ddnet/ddnet / CCommunityServer

Class CCommunityServer

src/engine/client/serverbrowser.h:126–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124};
125
126class CCommunityServer
127{
128 char m_aCommunityId[CServerInfo::MAX_COMMUNITY_ID_LENGTH];
129 char m_aCountryName[CServerInfo::MAX_COMMUNITY_COUNTRY_LENGTH];
130 char m_aTypeName[CServerInfo::MAX_COMMUNITY_TYPE_LENGTH];
131
132public:
133 CCommunityServer(const char *pCommunityId, const char *pCountryName, const char *pTypeName)
134 {
135 str_copy(m_aCommunityId, pCommunityId);
136 str_copy(m_aCountryName, pCountryName);
137 str_copy(m_aTypeName, pTypeName);
138 }
139
140 const char *CommunityId() const { return m_aCommunityId; }
141 const char *CountryName() const { return m_aCountryName; }
142 const char *TypeName() const { return m_aTypeName; }
143};
144
145class CFavoriteCommunityFilterList : public IFilterList
146{

Callers 1

LoadDDNetServersMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected