summaryrefslogtreecommitdiff
path: root/cheat/tf2/IPanel.h
blob: 5252642eedb7f4081d248ebf54efce2f2564582c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 );
	}

};