MCPcopy Create free account
hub / github.com/Lovrom8/RSMods / InitializeMods

Function InitializeMods

DLL/ModManager.cpp:108–120  ·  view source on GitHub ↗

Initializes all core mods and hooks.

Source from the content-addressed store, hash-verified

106 /// Initializes all core mods and hooks.
107 /// </summary>
108 void InitializeMods(bool debug) {
109 D3DHooks::debug = debug;
110 Offsets::Initialize();
111 BugPrevention::FixModifyingFunctions();
112 Settings::Initialize();
113 UpdateSettings();
114 ERMode::Initialize();
115 GUI();
116 Midi::InitMidi();
117 Enumeration::HookEnumerationService();
118
119 CrowdControl::StartServer();
120 }
121
122 /// <summary>
123 /// Applies all mods and fixes that must run at startup.

Callers 1

MainThreadFunction · 0.85

Calls 6

InitializeFunction · 0.85
FixModifyingFunctionsFunction · 0.85
UpdateSettingsFunction · 0.85
InitMidiFunction · 0.85
StartServerFunction · 0.85
GUIFunction · 0.70

Tested by

no test coverage detected