102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
loaded_mod Struct Reference

#include <mods_private.h>

Data Fields

HMODULE handle
voidhook_owner
DTTR_Mods_Contextcontext
char filename [MAX_PATH]
char source_path [MAX_PATH]
char shadow_path [MAX_PATH]
char display_name [MAX_PATH]
mod_file_id source_file
mod_file_id pending_file
DTTR_Mods_InitFn init
DTTR_Mods_CleanupFn cleanup
DTTR_Mods_TickFn tick
DTTR_Mods_EventFn event
DTTR_Mods_InfoFn info
DTTR_Mods_LateInitFn late_init
DTTR_Mods_BeforeUnloadFn before_unload
DTTR_Mods_FrameBeginFn frame_begin
DTTR_Mods_BeforeGameFrameFn before_game_frame
DTTR_Mods_AfterGameFrameFn after_game_frame
DTTR_Mods_BeforePresentFn before_present
DTTR_Mods_AfterPresentFn after_present
DTTR_Mods_FrameEndFn frame_end
DTTR_Mods_ImGuiBeginFn imgui_begin
DTTR_Mods_ImGuiEndFn imgui_end
DTTR_Mods_OverlayVisibleChangedFn overlay_visible_changed
DTTR_Mods_WindowCreatedFn window_created
DTTR_Mods_WindowResizedFn window_resized
DTTR_Mods_WindowDestroyingFn window_destroying
DTTR_Mods_GraphicsDeviceCreatedFn graphics_device_created
DTTR_Mods_GraphicsDeviceLostFn graphics_device_lost
DTTR_Mods_GraphicsDeviceRestoredFn graphics_device_restored
DTTR_Mods_GraphicsDeviceDestroyingFn graphics_device_destroying
DTTR_Mods_BeforeEventFn before_event
DTTR_Mods_AfterEventFn after_event
DTTR_Mods_InputModeChangedFn input_mode_changed
DTTR_Mods_RenderGameFn render_game
DTTR_Mods_RenderFn render
DTTR_Mods_ShouldAdvanceGameFrameFn should_advance_game_frame
DTTR_Mods_GameFrameAdvancedFn game_frame_advanced
DTTR_Mods_GameFrameBlockedFn game_frame_blocked
DWORD pending_since_ms
DWORD loaded_at_ms
bool reload_pending
bool initialized

Detailed Description

Definition at line 54 of file mods_private.h.

Field Documentation

◆ after_event

DTTR_Mods_AfterEventFn loaded_mod::after_event

Definition at line 88 of file mods_private.h.

◆ after_game_frame

DTTR_Mods_AfterGameFrameFn loaded_mod::after_game_frame

Definition at line 73 of file mods_private.h.

◆ after_present

DTTR_Mods_AfterPresentFn loaded_mod::after_present

Definition at line 75 of file mods_private.h.

◆ before_event

DTTR_Mods_BeforeEventFn loaded_mod::before_event

Definition at line 87 of file mods_private.h.

Referenced by dispatch_event_until_consumed().

◆ before_game_frame

DTTR_Mods_BeforeGameFrameFn loaded_mod::before_game_frame

Definition at line 72 of file mods_private.h.

◆ before_present

DTTR_Mods_BeforePresentFn loaded_mod::before_present

Definition at line 74 of file mods_private.h.

◆ before_unload

DTTR_Mods_BeforeUnloadFn loaded_mod::before_unload

Definition at line 70 of file mods_private.h.

Referenced by unload_mod().

◆ cleanup

DTTR_Mods_CleanupFn loaded_mod::cleanup

Definition at line 65 of file mods_private.h.

Referenced by prepare_mod(), and unload_mod().

◆ context

DTTR_Mods_Context* loaded_mod::context

Definition at line 57 of file mods_private.h.

Referenced by destroy_mod_context(), init_mod(), and refresh_mod_context().

◆ display_name

char loaded_mod::display_name[MAX_PATH]

Definition at line 61 of file mods_private.h.

Referenced by dttr_mods_loaded_name(), and set_mod_display_name().

◆ event

DTTR_Mods_EventFn loaded_mod::event

Definition at line 67 of file mods_private.h.

Referenced by dispatch_event_until_consumed().

◆ filename

◆ frame_begin

DTTR_Mods_FrameBeginFn loaded_mod::frame_begin

Definition at line 71 of file mods_private.h.

◆ frame_end

DTTR_Mods_FrameEndFn loaded_mod::frame_end

Definition at line 76 of file mods_private.h.

◆ game_frame_advanced

DTTR_Mods_GameFrameAdvancedFn loaded_mod::game_frame_advanced

Definition at line 93 of file mods_private.h.

◆ game_frame_blocked

DTTR_Mods_GameFrameBlockedFn loaded_mod::game_frame_blocked

Definition at line 94 of file mods_private.h.

◆ graphics_device_created

DTTR_Mods_GraphicsDeviceCreatedFn loaded_mod::graphics_device_created

Definition at line 83 of file mods_private.h.

◆ graphics_device_destroying

DTTR_Mods_GraphicsDeviceDestroyingFn loaded_mod::graphics_device_destroying

Definition at line 86 of file mods_private.h.

◆ graphics_device_lost

DTTR_Mods_GraphicsDeviceLostFn loaded_mod::graphics_device_lost

Definition at line 84 of file mods_private.h.

◆ graphics_device_restored

DTTR_Mods_GraphicsDeviceRestoredFn loaded_mod::graphics_device_restored

Definition at line 85 of file mods_private.h.

◆ handle

HMODULE loaded_mod::handle

Definition at line 55 of file mods_private.h.

Referenced by prepare_mod(), and unload_mod().

◆ hook_owner

void* loaded_mod::hook_owner

Definition at line 56 of file mods_private.h.

Referenced by init_mod(), prepare_mod(), and unload_mod().

◆ imgui_begin

DTTR_Mods_ImGuiBeginFn loaded_mod::imgui_begin

Definition at line 77 of file mods_private.h.

◆ imgui_end

DTTR_Mods_ImGuiEndFn loaded_mod::imgui_end

Definition at line 78 of file mods_private.h.

◆ info

DTTR_Mods_InfoFn loaded_mod::info

Definition at line 68 of file mods_private.h.

Referenced by init_mod().

◆ init

DTTR_Mods_InitFn loaded_mod::init

Definition at line 64 of file mods_private.h.

Referenced by init_mod(), and prepare_mod().

◆ initialized

bool loaded_mod::initialized

Definition at line 98 of file mods_private.h.

Referenced by init_mod(), and unload_mod().

◆ input_mode_changed

DTTR_Mods_InputModeChangedFn loaded_mod::input_mode_changed

Definition at line 89 of file mods_private.h.

◆ late_init

DTTR_Mods_LateInitFn loaded_mod::late_init

Definition at line 69 of file mods_private.h.

◆ loaded_at_ms

DWORD loaded_mod::loaded_at_ms

Definition at line 96 of file mods_private.h.

Referenced by init_mod().

◆ overlay_visible_changed

DTTR_Mods_OverlayVisibleChangedFn loaded_mod::overlay_visible_changed

Definition at line 79 of file mods_private.h.

◆ pending_file

mod_file_id loaded_mod::pending_file

Definition at line 63 of file mods_private.h.

Referenced by should_reload_now().

◆ pending_since_ms

DWORD loaded_mod::pending_since_ms

Definition at line 95 of file mods_private.h.

Referenced by should_reload_now().

◆ reload_pending

bool loaded_mod::reload_pending

Definition at line 97 of file mods_private.h.

Referenced by init_mod(), and should_reload_now().

◆ render

DTTR_Mods_RenderFn loaded_mod::render

Definition at line 91 of file mods_private.h.

◆ render_game

DTTR_Mods_RenderGameFn loaded_mod::render_game

Definition at line 90 of file mods_private.h.

◆ shadow_path

char loaded_mod::shadow_path[MAX_PATH]

Definition at line 60 of file mods_private.h.

Referenced by delete_shadow_copy(), make_shadow_path(), and prepare_mod().

◆ should_advance_game_frame

DTTR_Mods_ShouldAdvanceGameFrameFn loaded_mod::should_advance_game_frame

Definition at line 92 of file mods_private.h.

Referenced by dttr_mods_should_advance_game_frame().

◆ source_file

mod_file_id loaded_mod::source_file

Definition at line 62 of file mods_private.h.

Referenced by prepare_mod(), and should_reload_now().

◆ source_path

char loaded_mod::source_path[MAX_PATH]

Definition at line 59 of file mods_private.h.

Referenced by make_shadow_path(), and prepare_mod().

◆ tick

DTTR_Mods_TickFn loaded_mod::tick

Definition at line 66 of file mods_private.h.

Referenced by dttr_mods_tick().

◆ window_created

DTTR_Mods_WindowCreatedFn loaded_mod::window_created

Definition at line 80 of file mods_private.h.

◆ window_destroying

DTTR_Mods_WindowDestroyingFn loaded_mod::window_destroying

Definition at line 82 of file mods_private.h.

◆ window_resized

DTTR_Mods_WindowResizedFn loaded_mod::window_resized

Definition at line 81 of file mods_private.h.


The documentation for this struct was generated from the following file: