public static MethodBase TargetMethod() => StartPathFindCommons.TargetMethod <BusAI>();
 [HarmonyPriority(Priority.Low)] // so that if this code is redundant, it would result in warning log.
 public static IEnumerable <CodeInstruction> Transpiler(ILGenerator il, IEnumerable <CodeInstruction> instructions)
 {
     return(StartPathFindCommons.ReplaceMaxPosTranspiler(instructions));
 }
示例#3
0
 public static MethodBase TargetMethod() => StartPathFindCommons.TargetMethod <PassengerCarAI>();
 public static MethodBase TargetMethod() => StartPathFindCommons.TargetMethod <CargoTruckAI>();
 public static MethodBase TargetMethod() => StartPathFindCommons.TargetMethod <AmbulanceAI>();
 public static MethodBase TargetMethod() => StartPathFindCommons.GetCitizenAITargetMethod();
示例#7
0
 public static MethodBase TargetMethod() => StartPathFindCommons.TargetMethod2 <TramBaseAI>();
 public static MethodBase TargetMethod() => StartPathFindCommons.TargetMethod2 <TrolleybusAI>();