UwUHax/panels.h
2021-08-27 18:58:23 +07:00

17 lines
371 B
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

class IPanel
{
public:
void SetMouseInputEnabled(unsigned int iPanel, bool bState)
{
return (getvfunc<void(__thiscall*)(PVOID, int, bool)>(this, 32))(this, iPanel, bState);
}
const char *GetName(unsigned int vguiPanel)
{
typedef const char* (__thiscall* OriginalFn)(PVOID, unsigned int);
return getvfunc<OriginalFn>(this, 36)(this, vguiPanel);
}
};