Ejemplo n.º 1
0
 private static IEnumerable <CodeInstruction> Transform(IEnumerable <CodeInstruction> instructions)
 => CodeProcessor.ReplaceOperands(instructions, 1024, 4096);
Ejemplo n.º 2
0
 private static IEnumerable <CodeInstruction> Transform(IEnumerable <CodeInstruction> instructions)
 => CodeProcessor.ReplaceOperands(instructions, VanillaMaxVehicleCount, ModdedMaxVehicleCount);
Ejemplo n.º 3
0
            private static IEnumerable <CodeInstruction> Transform(IEnumerable <CodeInstruction> instructions)
            {
                var replacedVehicleCount = CodeProcessor.ReplaceOperands(instructions, VanillaMaxVehicleCount, ModdedMaxVehicleCount);

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