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.

44 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #ifndef RULESINFOMSGHANDLERDETAILS_H
  8. #define RULESINFOMSGHANDLERDETAILS_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "Socket.h"
  13. #include "utlvector.h"
  14. class CRulesInfo;
  15. #include <VGUI_PropertyPage.h>
  16. #include <VGUI_Frame.h>
  17. #include <VGUI_ListPanel.h>
  18. #include <VGUI_KeyValues.h>
  19. //-----------------------------------------------------------------------------
  20. // Purpose: Socket handler for pinging internet servers
  21. //-----------------------------------------------------------------------------
  22. class CRulesInfoMsgHandlerDetails : public CMsgHandler
  23. {
  24. public:
  25. CRulesInfoMsgHandlerDetails(CRulesInfo *baseobject, HANDLERTYPE type, void *typeinfo = NULL);
  26. virtual bool Process(netadr_t *from, CMsgBuffer *msg);
  27. private:
  28. // the parent class that we push info back to
  29. CRulesInfo *m_pRulesInfo;
  30. CUtlVector<vgui::KeyValues *> *m_vRules;
  31. };
  32. #endif // RULESINFOMSGHANDLERDETAILS_H