private static void Prefix(ref List <LogicWire>[] ___wireGroups, ref List <LogicUtilityNetworkLink>[] ___relevantBridges) { Patch_LogicCircuitNetwork_Reset.UpdateRelevantBridgesLength(ref ___relevantBridges, "AddItem"); Patch_LogicCircuitNetwork_Reset.UpdateWireGroupsLength(ref ___wireGroups, "AddItem"); }
private static IEnumerable <CodeInstruction> Transpiler(IEnumerable <CodeInstruction> instructions) { return(Patch_LogicCircuitNetwork_Reset.TranspileHardcodedIndex(instructions, new CodeInstruction(OpCodes.Ldloc_3), OpCodes.Ldc_I4_2)); }