diff options
| author | JustSomePwner <crotchyalt@gmail.com> | 2018-08-30 14:01:54 +0200 |
|---|---|---|
| committer | JustSomePwner <crotchyalt@gmail.com> | 2018-08-30 14:01:54 +0200 |
| commit | 7ccb819f867493f8ec202ea3b39c94c198c64584 (patch) | |
| tree | 94622e61af0ff359e3d6689cf274d74f60b2492a /tf2/IPanel.h | |
| parent | 564d979b79e8a5aaa5014eba0ecd36c61575934f (diff) | |
first
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 |
