summaryrefslogtreecommitdiff
path: root/tf2/IPanel.h
diff options
context:
space:
mode:
authorJustSomePwner <crotchyalt@gmail.com>2018-08-30 14:01:54 +0200
committerJustSomePwner <crotchyalt@gmail.com>2018-08-30 14:01:54 +0200
commit7ccb819f867493f8ec202ea3b39c94c198c64584 (patch)
tree94622e61af0ff359e3d6689cf274d74f60b2492a /tf2/IPanel.h
parent564d979b79e8a5aaa5014eba0ecd36c61575934f (diff)
first
Diffstat (limited to 'tf2/IPanel.h')
-rw-r--r--tf2/IPanel.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/tf2/IPanel.h b/tf2/IPanel.h
new file mode 100644
index 0000000..5252642
--- /dev/null
+++ b/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