Skip to content
CreepSore edited this page Apr 14, 2020 · 2 revisions

Introduction

Usage

Using this library is as easy as adding #include "k-framework.h" to the top of your project! The most important Part is the kfw::core namespace, which handles everything from Hooking, Patching and Hacks.

Getting Started

After compiling and adding the library to your project, it's as simple as registering Hacks to the default Hack-Manager. To access the default managers, you can use the Factory.

Factory intialization / deinitialization example:

auto hackManager = kfw::core::Factory::getDefaultHackManager();
auto hookManager = kfw::core::Factory::getDefaultHookManager();
logger.log("Initialized managers", "main");

... hack loop here

kfw::core::Factory::cleanup();
logger.log("Cleaned up. Exiting ..", "main");
Clone this wiki locally