mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 06:36:54 +00:00
34 lines
798 B
C++
34 lines
798 B
C++
|
//========= 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;
|
||
|
}
|
||
|
|