SourceHook

From AlliedModders Wiki
Revision as of 22:01, 19 January 2006 by CyberMind (talk | contribs)
Jump to: navigation, search

SourceHook is a versatile library for hooking virtual functions. SourceHook was designed for declaring single hooks against a given virtual function and a specific this pointer.

Features:

  • You can change parent parameters during a hooked call
  • You can hook member functions, both by a pre-existing declaration or given vtable offset
  • You can call the original function and still fire its associated hooks, or you can call it without firing hooks in order to prevent infinite recursion via a CallClass

This article is a stub. Help by expanding it