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

Method ValidateCountryName

src/engine/client/serverbrowser.cpp:298–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298bool CServerBrowser::ValidateCountryName(const char *pCountryName) const
299{
300 return ValidateIdentifier(pCountryName, CServerInfo::MAX_COMMUNITY_COUNTRY_LENGTH, "Country name", m_pConsole);
301}
302
303bool CServerBrowser::ValidateTypeName(const char *pTypeName) const
304{

Callers 2

Calls 1

ValidateIdentifierFunction · 0.85

Tested by

no test coverage detected