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

Method Con_RemoveExcludedType

src/engine/client/serverbrowser.cpp:195–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195void CServerBrowser::Con_RemoveExcludedType(IConsole::IResult *pResult, void *pUserData)
196{
197 CServerBrowser *pThis = static_cast<CServerBrowser *>(pUserData);
198 const char *pCommunityId = pResult->GetString(0);
199 const char *pTypeName = pResult->GetString(1);
200 if(!pThis->ValidateCommunityId(pCommunityId) || !pThis->ValidateTypeName(pTypeName))
201 return;
202 pThis->TypesFilter().Remove(pCommunityId, pTypeName);
203}
204
205void CServerBrowser::Con_LeakIpAddress(IConsole::IResult *pResult, void *pUserData)
206{

Callers

nothing calls this directly

Calls 4

ValidateCommunityIdMethod · 0.80
ValidateTypeNameMethod · 0.80
GetStringMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected