| 183 | } |
| 184 | |
| 185 | void CServerBrowser::Con_AddExcludedType(IConsole::IResult *pResult, void *pUserData) |
| 186 | { |
| 187 | CServerBrowser *pThis = static_cast<CServerBrowser *>(pUserData); |
| 188 | const char *pCommunityId = pResult->GetString(0); |
| 189 | const char *pTypeName = pResult->GetString(1); |
| 190 | if(!pThis->ValidateCommunityId(pCommunityId) || !pThis->ValidateTypeName(pTypeName)) |
| 191 | return; |
| 192 | pThis->TypesFilter().Add(pCommunityId, pTypeName); |
| 193 | } |
| 194 | |
| 195 | void CServerBrowser::Con_RemoveExcludedType(IConsole::IResult *pResult, void *pUserData) |
| 196 | { |
nothing calls this directly
no test coverage detected