Constructor DetourConfig
- Namespace
- MonoMod.RuntimeDetour
- Assembly
- MonoMod.RuntimeDetour.dll
DetourConfig(string, int?, IEnumerable<string>?, IEnumerable<string>?)
Constructs a DetourConfig with a specific ID, and any of the ordering options.
public DetourConfig(string id, int? priority = null, IEnumerable<string>? before = null, IEnumerable<string>? after = null)
Parameters
id
string- The ID of the detour config.
priority
int?- The priority of the detour config. Refer to Priority for details.
before
IEnumerable<string>- An enumerable containing the list of IDs of detours to run before detours with this config.
after
IEnumerable<string>- An enumerable containing the list of IDs of detours to run after detours with this config.