コード例 #1
0
 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");
 }
コード例 #2
0
 private static IEnumerable <CodeInstruction> Transpiler(IEnumerable <CodeInstruction> instructions)
 {
     return(Patch_LogicCircuitNetwork_Reset.TranspileHardcodedIndex(instructions, new CodeInstruction(OpCodes.Ldloc_3), OpCodes.Ldc_I4_2));
 }