ISource2ModKHook

KHook's virtual hook, with the one thing Source2Mod needs to see that KHook keeps protected: the slot the hook is on.

Header source2mod/ISource2ModKHook.h

Inherits KHook::Virtual<CLASS, RETURN, ARGS...>

Methods

GetIndex

std::int32_t GetIndex() const;

The vtable slot this hook is on: what the member function pointer or the index it was made with came to, or what Configure() set.

On this page