#pragma once enum ButtonCode_t; class IInputSystem { public: bool IsButtonDown(ButtonCode_t button) { return GetVirtualFunction(this, 11)(this, button); } }; extern IInputSystem* inputsystem;