public static void PatchType(string strde) { foreach (var str in PatchUtils.GetSplitString(strde)) { PatchUtils.PatchType(str, pre, post); } }
public static void ProfilePatch() { var go = new HarmonyMethod(typeof(H_JobAI), nameof(Prefix)); var biff = new HarmonyMethod(typeof(H_JobAI), nameof(Postfix)); PatchUtils.PatchType("Pawn_JobTracker", go, biff, false); }