void RegisterHook(IHook hook) { hook.OnRegister(this); hook.GetRegisterTypes().Do(t => { Harmony.CreateAndPatchAll(t); Console.WriteLine("Patch " + t.Name); }); hooks.Add(hook); }