Team Fortress 2 Source Code as on 22/4/2020
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.

32 lines
786 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #ifndef MASTERMSGHANDLER_H
  8. #define MASTERMSGHANDLER_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "Socket.h"
  13. //-----------------------------------------------------------------------------
  14. // Purpose: Socket handler for lan broadcast pings
  15. //-----------------------------------------------------------------------------
  16. class CMasterMsgHandler : public CMsgHandler
  17. {
  18. public:
  19. CMasterMsgHandler( IGameList *baseobject, HANDLERTYPE type, void *typeinfo = NULL );
  20. virtual bool Process( netadr_t *from, CMsgBuffer *msg );
  21. private:
  22. IGameList *m_pGameList;
  23. };
  24. #endif // MASTERMSGHANDLER_H