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

  1. //========= Copyright � 1996-2009, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=====================================================================================//
  6. #ifndef _MATCHSYSTEM_H_
  7. #define _MATCHSYSTEM_H_
  8. #include "mm_framework.h"
  9. #include "utlvector.h"
  10. enum PacketTargetType
  11. {
  12. PTT_PLAYER = 0,
  13. PTT_GAME,
  14. };
  15. bool IsValidXNKID( XNKID xnkid );
  16. class CMatchSystem : public IMatchSystem
  17. {
  18. public:
  19. CMatchSystem();
  20. ~CMatchSystem();
  21. public:
  22. void Update();
  23. //IMatchSystem
  24. public:
  25. virtual IPlayerManager * GetPlayerManager();
  26. virtual IMatchVoice * GetMatchVoice();
  27. virtual IServerManager * GetUserGroupsServerManager();
  28. virtual ISearchManager * CreateGameSearchManager( KeyValues *pParams );
  29. virtual IDatacenter * GetDatacenter();
  30. virtual IDlcManager * GetDlcManager();
  31. };
  32. extern CMatchSystem *g_pMatchSystem;
  33. #endif