TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ DetourPass()

static void Terraria.WorldGen.DetourPass ( PassLegacy pass,
GenPassDetour hookDelegate )
inlinestatic

Definition at line 80652 of file WorldGen.cs.

80653 {
80654 MonoModHooks.Add(pass._method.Method, hookDelegate);
80655 }
static void Add(MethodBase method, Delegate hookDelegate)
Adds a hook (implemented by hookDelegate ) to method .

References Terraria.ModLoader.MonoModHooks.Add().

+ Here is the call graph for this function: