mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
WIP: Begin rewriting serverbrowser
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
//========= 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user