MCPcopy Create free account
hub / github.com/RussellJerome/UnrealModLoader / InitializeMod

Method InitializeMod

ExampleMod/ExampleMod.cpp:17–27  ·  view source on GitHub ↗

Only Called Once, if you need to hook shit, declare some global non changing values

Source from the content-addressed store, hash-verified

15
16// Only Called Once, if you need to hook shit, declare some global non changing values
17void ExampleMod::InitializeMod()
18{
19 UE4::InitSDK();
20 SetupHooks();
21
22 REGISTER_FUNCTION(WriteToFile);
23
24 //MinHook::Init(); //Uncomment if you plan to do hooks
25
26 //UseMenuButton = true; // Allows Mod Loader To Show Button
27}
28
29void ExampleMod::InitGameState()
30{

Callers

nothing calls this directly

Calls 2

InitSDKFunction · 0.85
SetupHooksFunction · 0.85

Tested by

no test coverage detected