-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Do work before Terraria's
Mainconstructor runs. Currently the injector loads the game assembly and immediately callsgame.EntryPoint.Invoke(). A pre-injection phase could modify the assembly in memory (via Cecil, which is already a dependency) or patch static constructors. Would let the asset system'sTypeExtensionresize arrays before they're first allocated instead of racing against initialization. Requires changing the injection model; currently mods getPrePatch(AssemblyDefinition)but this is underused and the hook ordering is fragile.
- Inidar
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request