summaryrefslogtreecommitdiff
path: root/cheat/tf2/IPanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'cheat/tf2/IPanel.h')
-rw-r--r--cheat/tf2/IPanel.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/cheat/tf2/IPanel.h b/cheat/tf2/IPanel.h
new file mode 100644
index 0000000..5252642
--- /dev/null
+++ b/cheat/tf2/IPanel.h
@@ -0,0 +1,13 @@
+#pragma once
+
+class IPanel {
+public:
+ const char* GetName( int iPanel ) {
+ return call_vfunc< const char*( __thiscall* )( void*, int ) >( this, 36 )( this, iPanel );
+ }
+
+ void SetMouseInputEnabled( unsigned int iPanel, bool state ) {
+ return call_vfunc< void( __thiscall* )( void*, unsigned int, bool ) >( this, 32 )( this, iPanel, state );
+ }
+
+}; \ No newline at end of file