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.

39 lines
1.1 KiB

  1. //===== Copyright � 1996-2009, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. //===========================================================================//
  6. #ifndef MM_NETMSGCONTROLLER_H
  7. #define MM_NETMSGCONTROLLER_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "mm_framework.h"
  12. class CMatchNetworkMsgControllerBase : public IMatchNetworkMsgController
  13. {
  14. // Methods of IMatchNetworkMsgController
  15. public:
  16. // To determine host Quality-of-Service
  17. virtual MM_QOS_t GetQOS();
  18. virtual KeyValues * GetActiveServerGameDetails( KeyValues *pRequest );
  19. virtual KeyValues * UnpackGameDetailsFromQOS( MM_GameDetails_QOS_t const *pvQosReply );
  20. virtual KeyValues * UnpackGameDetailsFromSteamLobby( uint64 uiLobbyID );
  21. virtual void PackageGameDetailsForQOS( KeyValues *pSettings, CUtlBuffer &buf );
  22. virtual KeyValues * PackageGameDetailsForReservation( KeyValues *pSettings );
  23. public:
  24. CMatchNetworkMsgControllerBase();
  25. ~CMatchNetworkMsgControllerBase();
  26. };
  27. // Match title singleton
  28. extern CMatchNetworkMsgControllerBase *g_pMatchNetMsgControllerBase;
  29. #endif // MM_NETMSGCONTROLLER_H