csgo-2018-source/matchmaking/matchsystem.h

50 lines
877 B
C
Raw Normal View History

2021-07-25 12:11:47 +08:00
//========= Copyright <20> 1996-2009, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=====================================================================================//
#ifndef _MATCHSYSTEM_H_
#define _MATCHSYSTEM_H_
#include "mm_framework.h"
#include "utlvector.h"
enum PacketTargetType
{
PTT_PLAYER = 0,
PTT_GAME,
};
bool IsValidXNKID( XNKID xnkid );
class CMatchSystem : public IMatchSystem
{
public:
CMatchSystem();
~CMatchSystem();
public:
void Update();
//IMatchSystem
public:
virtual IPlayerManager * GetPlayerManager();
virtual IMatchVoice * GetMatchVoice();
virtual IServerManager * GetUserGroupsServerManager();
virtual ISearchManager * CreateGameSearchManager( KeyValues *pParams );
virtual IDatacenter * GetDatacenter();
virtual IDlcManager * GetDlcManager();
};
extern CMatchSystem *g_pMatchSystem;
#endif