public static void DoAllMpPatches(this HarmonyInstance harmony) { foreach (Type type in Assembly.GetCallingAssembly().GetTypes()) { harmony.DoMpPatches(type); } }