|
GearLoader 1.1.0
Mod loader for GGXXACPR
|
Public Member Functions | |
| uint32_t | RemoveHook (HookId id) |
| Removes a hook from the registry. | |
| HookId | AfterPeekMessage (BaseMod_PeekMessageHook hookFn, void *userData) |
| Registers a hook to the PeekMessage hook. | |
| template<typename T> | |
| HookId | AfterPeekMessage (PeekMessageHook< T > hookFn, T *userData) |
| Registers a hook to the PeekMessage hook. | |
| HookId | BeforeGameUpdate (BaseMod_GameUpdateHook hookFn, void *userData) |
| Registers a hook to run before the game state updates. | |
| template<typename T> | |
| HookId | BeforeGameUpdate (GameUpdateHook< T > hookFn, T *userData) |
| Registers a hook to run before the game state updates. | |
| HookId | AfterGameUpdate (BaseMod_GameUpdateHook hookFn, void *userData) |
| Registers a hook to run after the game state updates. | |
| template<typename T> | |
| HookId | AfterGameUpdate (GameUpdateHook< T > hookFn, T *userData) |
| Registers a hook to run after the game state updates. | |
| HookId | BeforeEndScene (BaseMod_DrawHook hookFn, void *userData) |
| Registers a hook to run before the call to IDirect3DDevice9::EndScene. | |
| template<typename T> | |
| HookId | BeforeEndScene (DrawHook< T > hookFn, T *userData) |
| Registers a hook to run before the call to IDirect3DDevice9::EndScene. | |
| HookId | BeforePresent (BaseMod_DrawHook hookFn, void *userData) |
| Registers a hook to run before the call to IDirect3DDevice9::Present. | |
| template<typename T> | |
| HookId | BeforePresent (DrawHook< T > hookFn, T *userData) |
| Registers a hook to run before the call to IDirect3DDevice9::Present. | |
| HookId | AfterSaveGame (BaseMod_SaveGameHook hookFn, void *userData) |
| Registers a hook to run when the game saves such as on "Saving..." auto saving screens Or when selecting the menu option: "Main Menu > HELP & OPTIONS > SAVE / LOAD > SAVE". | |
| template<typename T> | |
| HookId | AfterSaveGame (SaveGameHook< T > hookFn, T *userData) |
| Registers a hook to run when the game saves such as on "Saving..." auto saving screens Or when selecting the menu option: "Main Menu > HELP & OPTIONS > SAVE / LOAD > SAVE". | |
| Public Member Functions inherited from BaseMod::ApiWrapper< BaseMod_HookApi > | |
| bool | VersionError () |
| bool | IsValid () |
| const BaseMod_HookApi * | GetCApi () |
Additional Inherited Members | |
| Protected Attributes inherited from BaseMod::ApiWrapper< BaseMod_HookApi > | |
| const BaseMod_HookApi * | _ref |
|
inline |
Registers a hook to run after the game state updates.
Use this to read game state as soon as it updates or to overwrite the game state right after the game updates it.
| hookFn | The callback function, see type BaseMod_GameUpdateHook. |
| userData | A generic pointer to state data that will be forwarded to hookFn. |
|
inline |
Registers a hook to run after the game state updates.
Use this to read game state as soon as it updates or to overwrite the game state right after the game updates it. Template version for type safety on the userData pointer.
| hookFn | The callback function, see type GameUpdateHook<T>. |
| userData | A generic pointer to state data that will be forwarded to hookFn. |
|
inline |
Registers a hook to the PeekMessage hook.
Use this to read windows message such as low level keyboard inputs. This hook is a call replacement and not a direct PeekMessage hook so callbacks are only called for messages retrieved by the game window. The parameters used to call PeekMessage are provided in the BaseMod_PeekMessageInfo parameter of BaseMod_PeekMessageHook.
| hookFn | The callback function, see type BaseMod_PeekMessageHook. |
| userData | A generic pointer to state data that will be forwarded to hookFn. |
|
inline |
Registers a hook to the PeekMessage hook.
Use this to read windows message such as low level keyboard inputs. This hook is a call replacement and not a direct PeekMessage hook so callbacks are only called for messages retrieved by the game window. The parameters used to call PeekMessage are provided in the BaseMod_PeekMessageInfo parameter of BaseMod::PeekMessageHook<T>. Template version for type safety on the userData pointer.
| hookFn | The callback function, see type PeekMessageHook<T>. |
| userData | A generic pointer to state data that will be forwarded to hookFn. |
|
inline |
Registers a hook to run when the game saves such as on "Saving..." auto saving screens Or when selecting the menu option: "Main Menu > HELP & OPTIONS > SAVE / LOAD > SAVE".
Use this hook to trigger saving mod data.
| hookFn | The callback function, see type BaseMod_SaveGameHook. |
| userData | A generic pointer to state data that will be forwarded to hookFn. |
|
inline |
Registers a hook to run when the game saves such as on "Saving..." auto saving screens Or when selecting the menu option: "Main Menu > HELP & OPTIONS > SAVE / LOAD > SAVE".
Use this hook to trigger saving mod data.
| hookFn | The callback function, see type SaveGameHook<T>. |
| userData | A generic pointer to state data that will be forwarded to hookFn. |
|
inline |
Registers a hook to run before the call to IDirect3DDevice9::EndScene.
Use this to add additional graphics logic to the game's main scene.
| hookFn | The callback function, see type BaseMod_DrawHook. |
| userData | A generic pointer to state data that will be forwarded to hookFn. |
|
inline |
Registers a hook to run before the call to IDirect3DDevice9::EndScene.
Use this to add additional graphics logic to the game's main scene. Template version for type safety on the userData pointer.
| hookFn | The callback function, see type DrawHook<T>. |
| userData | A generic pointer to state data that will be forwarded to hookFn. |
|
inline |
Registers a hook to run before the game state updates.
Use this to apply changes to the game state right before it runs an update.
| hookFn | The callback function, see type BaseMod_GameUpdateHook. |
| userData | A generic pointer to state data that will be forwarded to hookFn. |
|
inline |
Registers a hook to run before the game state updates.
Use this to apply changes to the game state right before it runs an update. Template version for type safety on the userData pointer.
| hookFn | The callback function, see type GameUpdateHook<T>. |
| userData | A generic pointer to state data that will be forwarded to hookFn. |
|
inline |
Registers a hook to run before the call to IDirect3DDevice9::Present.
Use this to add a new scene to the current frame. Hooks registered must start and end their own scene with IDirect3DDevice9::BeginScene and IDirect3DDevice9::EndScene.
| hookFn | The callback function, see type BaseMod_DrawHook. |
| userData | A generic pointer to state data that will be forwarded to hookFn. |
|
inline |
Registers a hook to run before the call to IDirect3DDevice9::Present.
Use this to add a new scene to the current frame. Hooks registered must start and end their own scene with IDirect3DDevice9::BeginScene and IDirect3DDevice9::EndScene. Template version for type safety on the userData pointer.
| hookFn | The callback function, see type DrawHook<T>. |
| userData | A generic pointer to state data that will be forwarded to hookFn. |
|
inline |
Removes a hook from the registry.
| id | The BaseMod::HookId of the hook to be removed. |