From 7ccb819f867493f8ec202ea3b39c94c198c64584 Mon Sep 17 00:00:00 2001 From: JustSomePwner Date: Thu, 30 Aug 2018 14:01:54 +0200 Subject: first --- tf2/IPanel.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tf2/IPanel.h (limited to 'tf2/IPanel.h') 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 -- cgit v1.2.3