private static IEnumerable <CodeInstruction> Transform(IEnumerable <CodeInstruction> instructions)
 => CodeProcessor.ReplaceOperands(instructions, 1024, 4096);
示例#2
0
 private static IEnumerable <CodeInstruction> Transform(IEnumerable <CodeInstruction> instructions)
 => CodeProcessor.ReplaceOperands(instructions, VanillaMaxVehicleCount, ModdedMaxVehicleCount);
            private static IEnumerable <CodeInstruction> Transform(IEnumerable <CodeInstruction> instructions)
            {
                var replacedVehicleCount = CodeProcessor.ReplaceOperands(instructions, VanillaMaxVehicleCount, ModdedMaxVehicleCount);

                return(CodeProcessor.ReplaceOperands(replacedVehicleCount, VanillaMaxParkedVehicleCount, ModdedMaxVehicleCount));
            }