Counter Strike : Global Offensive Source Code
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.
 
 
 
 
 
 

49 lines
877 B

//========= Copyright © 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