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

Method ValidateCommunityId

src/engine/client/serverbrowser.cpp:293–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293bool CServerBrowser::ValidateCommunityId(const char *pCommunityId) const
294{
295 return ValidateIdentifier(pCommunityId, CServerInfo::MAX_COMMUNITY_ID_LENGTH, "Community ID", m_pConsole);
296}
297
298bool CServerBrowser::ValidateCountryName(const char *pCountryName) const
299{

Calls 1

ValidateIdentifierFunction · 0.85

Tested by

no test coverage detected