| 127 | } |
| 128 | |
| 129 | void CServerBrowser::Con_AddFavoriteCommunity(IConsole::IResult *pResult, void *pUserData) |
| 130 | { |
| 131 | CServerBrowser *pThis = static_cast<CServerBrowser *>(pUserData); |
| 132 | const char *pCommunityId = pResult->GetString(0); |
| 133 | if(!pThis->ValidateCommunityId(pCommunityId)) |
| 134 | return; |
| 135 | pThis->FavoriteCommunitiesFilter().Add(pCommunityId); |
| 136 | } |
| 137 | |
| 138 | void CServerBrowser::Con_RemoveFavoriteCommunity(IConsole::IResult *pResult, void *pUserData) |
| 139 | { |
nothing calls this directly
no test coverage detected