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.

34 lines
918 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #ifndef SERVERCONFIGPANEL_H
  8. #define SERVERCONFIGPANEL_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "VarListPropertyPage.h"
  13. //-----------------------------------------------------------------------------
  14. // Purpose: Displays and allows modification to variable specific to the game
  15. //-----------------------------------------------------------------------------
  16. class CServerConfigPanel : public CVarListPropertyPage
  17. {
  18. public:
  19. CServerConfigPanel(vgui::Panel *parent, const char *name, const char *mod);
  20. ~CServerConfigPanel();
  21. protected:
  22. // variable updates
  23. virtual void OnResetData();
  24. virtual void OnThink();
  25. private:
  26. float m_flUpdateTime;
  27. typedef CVarListPropertyPage BaseClass;
  28. };
  29. #endif // SERVERCONFIGPANEL_H