diff options
Diffstat (limited to 'tf2/IPanel.h')
| -rw-r--r-- | tf2/IPanel.h | 13 |
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 |
