You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***PreInit** is called before any of the game's global variables are initialized. You only need to use this if you want to hook into C++ static initializers.
118
120
***Init** is called after the game's global variables are initialized. This is likely going to be the function where you initialize your mod and inject code. You cannot hook into C++ static initializers from this function as they have been called already.
119
-
***PostInit** is called after every DLL mod is initialized. This is a pretty niche use case and you probably won't need it.
121
+
***PostInit** is called after every DLL mod is initialized. This is a pretty niche use case and you probably won't need it.
122
+
***D3DInit** is called in **D3D11CreateDeviceAndSwapChain** after the device gets initialized. You could use this (along with **OnFrame**) to hook ImGui into the game.
120
123
***OnFrame** is called before the game's frame is presented to the screen. You can use this to execute logic per frame.
121
124
122
125
You can omit functions that you don't need to use. They are not required to be declared.
0 commit comments