Skip to main content

Module hook_config

Module hook_config 

Source
Expand description

The merged, resolved redirection config the proxy DLL actually consumes: HookConfig (a flat list of RedirectionRules) and ResolvedAction, the outcome of resolving one requested path against it. Distinct from crate::mod_config::ModConfig, which is the per-mod authored (possibly conditional/templated) shape, see ModConfig::resolved_rules for how one becomes the other.

Structs§

HookConfig
The full set of redirection rules the proxy DLL should apply for a single game session, already merged across every enabled mod. See HookConfig::load_from_mods_dir.
RedirectionRule
A single glob-based redirection rule.

Enums§

RedirectionMode
ResolvedAction
What the hook should do for a given requested path, once a rule has been matched (or not) and the existence of the replacement asset has been checked.
RuleTarget
Where a rule’s replacement content lives.