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.

36 lines
916 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #ifndef SERVERINFOMSGHANDLERDETAILS_H
  8. #define SERVERINFOMSGHANDLERDETAILS_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "Socket.h"
  13. class CServerInfo;
  14. //-----------------------------------------------------------------------------
  15. // Purpose: Socket handler for pinging internet servers
  16. //-----------------------------------------------------------------------------
  17. class CServerInfoMsgHandlerDetails : public CMsgHandler
  18. {
  19. public:
  20. CServerInfoMsgHandlerDetails(CServerInfo *baseobject, HANDLERTYPE type, void *typeinfo = NULL);
  21. virtual bool Process(netadr_t *from, CMsgBuffer *msg);
  22. private:
  23. // the parent class that we push info back to
  24. CServerInfo *m_pServerInfo;
  25. };
  26. #endif // SERVERINFOMSGHANDLERDETAILS_H