Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.

34 lines
798 B

5 years ago
//========= 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;
}