summaryrefslogtreecommitdiff
path: root/tracker/AdminServer/ServerConfigPanel.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /tracker/AdminServer/ServerConfigPanel.h
downloadarchived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.tar.xz
archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.zip
Diffstat (limited to 'tracker/AdminServer/ServerConfigPanel.h')
-rw-r--r--tracker/AdminServer/ServerConfigPanel.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/tracker/AdminServer/ServerConfigPanel.h b/tracker/AdminServer/ServerConfigPanel.h
new file mode 100644
index 0000000..4701104
--- /dev/null
+++ b/tracker/AdminServer/ServerConfigPanel.h
@@ -0,0 +1,35 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================
+
+#ifndef SERVERCONFIGPANEL_H
+#define SERVERCONFIGPANEL_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "VarListPropertyPage.h"
+
+//-----------------------------------------------------------------------------
+// Purpose: Displays and allows modification to variable specific to the game
+//-----------------------------------------------------------------------------
+class CServerConfigPanel : public CVarListPropertyPage
+{
+public:
+ CServerConfigPanel(vgui::Panel *parent, const char *name, const char *mod);
+ ~CServerConfigPanel();
+
+protected:
+ // variable updates
+ virtual void OnResetData();
+ virtual void OnThink();
+
+private:
+ float m_flUpdateTime;
+ typedef CVarListPropertyPage BaseClass;
+};
+
+#endif // SERVERCONFIGPANEL_H \ No newline at end of file