Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
801 B

  1. //========= Copyright � 1996-2001, Valve LLC, All rights reserved. ============
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #include "pch_serverbrowser.h"
  8. CSpectateGames::CSpectateGames( vgui::Panel *parent )
  9. : CInternetGames( parent, "SpectateGames", eSpectatorServer )
  10. {
  11. }
  12. void CSpectateGames::GetNewServerList()
  13. {
  14. m_vecServerFilters.AddToTail( MatchMakingKeyValuePair_t( "proxy", "1" ) );
  15. BaseClass::GetNewServerList();
  16. }
  17. void CSpectateGames::OnPageShow()
  18. {
  19. }
  20. //-----------------------------------------------------------------------------
  21. // Purpose:
  22. //-----------------------------------------------------------------------------
  23. bool CSpectateGames::CheckTagFilter( gameserveritem_t &server )
  24. {
  25. return true;
  26. }