source-engine/serverbrowser/unused/SpectateGames.cpp

34 lines
798 B
C++
Raw Normal View History

2020-04-22 16:56:21 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#include "pch_serverbrowser.h"
CSpectateGames::CSpectateGames( vgui::Panel *parent )
: CInternetGames( parent, "SpectateGames", eSpectatorServer )
{
}
void CSpectateGames::GetNewServerList()
{
m_vecServerFilters.AddToTail( MatchMakingKeyValuePair_t( "proxy", "1" ) );
BaseClass::GetNewServerList();
}
void CSpectateGames::OnPageShow()
{
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
bool CSpectateGames::CheckTagFilter( gameserveritem_t &server )
{
return true;
}