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

Method Con_RemoveExcludedCommunity

src/engine/client/serverbrowser.cpp:156–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void CServerBrowser::Con_RemoveExcludedCommunity(IConsole::IResult *pResult, void *pUserData)
157{
158 CServerBrowser *pThis = static_cast<CServerBrowser *>(pUserData);
159 const char *pCommunityId = pResult->GetString(0);
160 if(!pThis->ValidateCommunityId(pCommunityId))
161 return;
162 pThis->CommunitiesFilter().Remove(pCommunityId);
163}
164
165void CServerBrowser::Con_AddExcludedCountry(IConsole::IResult *pResult, void *pUserData)
166{

Callers

nothing calls this directly

Calls 3

ValidateCommunityIdMethod · 0.80
GetStringMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected