Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static ProjectParams GetParams(BuildCommand Cmd, string ProjectFileName, out FileReference PluginFile)
- {
- Cmd.ParseParamValue("Version", "NOVERSION");
- string paramValue1 = Cmd.ParseParamValue("PluginPath", (string) null);
- if (paramValue1 == null)
- throw new AutomationException("Missing -PluginPath=... argument");
- PluginFile = new FileReference(paramValue1);
- if (!PluginFile.Exists())
- throw new AutomationException("Plugin '{0}' not found", new object[1]
- {
- (object) ((FileSystemReference) PluginFile).FullName
- });
- string paramValue2 = Cmd.ParseParamValue("BasedOnReleaseVersion", "RoboRecallVersion0");
- List<UnrealTargetConfiguration> targetConfigurationList1 = new List<UnrealTargetConfiguration>();
- foreach (UnrealTargetConfiguration targetConfiguration in Enum.GetValues(typeof (UnrealTargetConfiguration)))
- {
- if (File.Exists(TargetReceipt.GetDefaultPath(Path.GetDirectoryName(ProjectFileName), "RoboRecall", (UnrealTargetPlatform) 2, targetConfiguration, "")))
- targetConfigurationList1.Add(targetConfiguration);
- }
- if (targetConfigurationList1.Count == 0)
- throw new AutomationException("Could not find any .target files for RoboRecall Game configurations");
- FileReference fileReference1 = new FileReference(ProjectFileName);
- FileReference fileReference2 = fileReference1;
- BuildCommand buildCommand = Cmd;
- // ISSUE: variable of the null type
- __Null local1 = null;
- // ISSUE: variable of the null type
- __Null local2 = null;
- // ISSUE: variable of the null type
- __Null local3 = null;
- // ISSUE: variable of the null type
- __Null local4 = null;
- // ISSUE: variable of the null type
- __Null local5 = null;
- // ISSUE: variable of the null type
- __Null local6 = null;
- // ISSUE: variable of the null type
- __Null local7 = null;
- // ISSUE: variable of the null type
- __Null local8 = null;
- // ISSUE: variable of the null type
- __Null local9 = null;
- // ISSUE: variable of the null type
- __Null local10 = null;
- List<TargetPlatformDescriptor> platformDescriptorList1 = new List<TargetPlatformDescriptor>();
- TargetPlatformDescriptor platformDescriptor = new TargetPlatformDescriptor((UnrealTargetPlatform) 2);
- platformDescriptorList1.Add(platformDescriptor);
- List<TargetPlatformDescriptor> platformDescriptorList2 = platformDescriptorList1;
- List<UnrealTargetConfiguration> targetConfigurationList2 = targetConfigurationList1;
- // ISSUE: variable of the null type
- __Null local11 = null;
- // ISSUE: variable of the null type
- __Null local12 = null;
- // ISSUE: variable of the null type
- __Null local13 = null;
- // ISSUE: variable of the null type
- __Null local14 = null;
- // ISSUE: variable of the null type
- __Null local15 = null;
- // ISSUE: variable of the null type
- __Null local16 = null;
- // ISSUE: variable of the null type
- __Null local17 = null;
- // ISSUE: variable of the null type
- __Null local18 = null;
- List<TargetPlatformDescriptor> platformDescriptorList3 = platformDescriptorList2;
- // ISSUE: variable of the null type
- __Null local19 = null;
- // ISSUE: variable of the null type
- __Null local20 = null;
- // ISSUE: variable of the null type
- __Null local21 = null;
- string fullName = (string) ((FileSystemReference) DirectoryReference.Combine(fileReference1.get_Directory(), new string[2]
- {
- "Saved",
- "CookMod"
- })).FullName;
- bool? nullable1 = new bool?(false);
- bool? nullable2 = new bool?(true);
- bool? nullable3 = new bool?();
- bool? nullable4 = new bool?();
- bool? nullable5 = new bool?();
- bool? nullable6 = new bool?();
- bool? nullable7 = new bool?();
- bool? nullable8 = new bool?();
- bool? nullable9 = new bool?();
- bool? nullable10 = new bool?();
- bool? nullable11 = new bool?();
- bool? nullable12 = new bool?();
- string str1 = fullName;
- bool? nullable13 = new bool?();
- bool? nullable14 = new bool?();
- bool? nullable15 = new bool?();
- bool? nullable16 = new bool?();
- bool? nullable17 = new bool?();
- bool? nullable18 = new bool?();
- bool? nullable19 = new bool?();
- int? nullable20 = new int?();
- // ISSUE: variable of the null type
- __Null local22 = null;
- bool? nullable21 = new bool?(true);
- bool? nullable22 = new bool?(true);
- bool? nullable23 = new bool?(true);
- bool? nullable24 = new bool?(true);
- string str2 = paramValue2;
- // ISSUE: variable of the null type
- __Null local23 = null;
- // ISSUE: variable of the null type
- __Null local24 = null;
- // ISSUE: variable of the null type
- __Null local25 = null;
- bool? nullable25 = new bool?();
- string withoutAnyExtensions = PluginFile.GetFileNameWithoutAnyExtensions();
- // ISSUE: variable of the null type
- __Null local26 = null;
- bool? nullable26 = nullable24;
- bool? nullable27 = new bool?();
- bool? nullable28 = new bool?();
- bool? nullable29 = new bool?();
- bool? nullable30 = new bool?();
- bool? nullable31 = new bool?();
- bool? nullable32 = new bool?();
- // ISSUE: variable of the null type
- __Null local27 = null;
- bool? nullable33 = new bool?();
- bool? nullable34 = new bool?();
- bool? nullable35 = new bool?();
- bool? nullable36 = new bool?();
- bool? nullable37 = new bool?();
- bool? nullable38 = new bool?();
- bool? nullable39 = new bool?();
- bool? nullable40 = new bool?();
- bool? nullable41 = new bool?();
- bool? nullable42 = nullable22;
- bool? nullable43 = new bool?();
- // ISSUE: variable of the null type
- __Null local28 = null;
- bool? nullable44 = new bool?();
- bool? nullable45 = new bool?();
- bool? nullable46 = new bool?();
- bool? nullable47 = new bool?();
- bool? nullable48 = new bool?();
- bool? nullable49 = new bool?();
- // ISSUE: variable of the null type
- __Null local29 = null;
- int? nullable50 = new int?();
- bool? nullable51 = new bool?();
- bool? nullable52 = new bool?();
- bool? nullable53 = new bool?();
- bool? nullable54 = new bool?();
- bool? nullable55 = nullable21;
- bool? nullable56 = nullable23;
- bool? nullable57 = new bool?();
- bool? nullable58 = new bool?();
- int? nullable59 = new int?();
- bool? nullable60 = new bool?();
- // ISSUE: variable of the null type
- __Null local30 = null;
- bool? nullable61 = new bool?();
- bool? nullable62 = new bool?();
- // ISSUE: variable of the null type
- __Null local31 = null;
- bool? nullable63 = new bool?();
- bool? nullable64 = new bool?();
- int? nullable65 = new int?();
- // ISSUE: variable of the null type
- __Null local32 = null;
- bool? nullable66 = new bool?();
- bool? nullable67 = new bool?();
- bool? nullable68 = new bool?();
- bool? nullable69 = new bool?(true);
- bool? nullable70 = new bool?();
- bool? nullable71 = new bool?();
- // ISSUE: variable of the null type
- __Null local33 = null;
- // ISSUE: variable of the null type
- __Null local34 = null;
- // ISSUE: variable of the null type
- __Null local35 = null;
- // ISSUE: variable of the null type
- __Null local36 = null;
- ProjectParams projectParams = new ProjectParams(fileReference2, buildCommand, (string) local1, (string) local2, (string) local3, (ParamList<string>) local4, (string) local5, (string) local6, (string) local7, (string) local8, (string) local9, (string) local10, targetConfigurationList2, (List<UnrealTargetConfiguration>) local11, (ParamList<string>) local12, (ParamList<string>) local13, (string) local14, (ParamList<string>) local15, (ParamList<string>) local16, (ParamList<string>) local17, (ParamList<string>) local18, platformDescriptorList3, (Dictionary<TargetPlatformDescriptor, TargetPlatformDescriptor>) local19, (List<TargetPlatformDescriptor>) local20, (Dictionary<TargetPlatformDescriptor, TargetPlatformDescriptor>) local21, nullable1, nullable2, nullable3, nullable4, nullable5, nullable6, nullable7, nullable8, nullable9, nullable10, nullable11, nullable12, str1, nullable13, nullable14, nullable15, nullable16, nullable17, nullable18, nullable19, nullable20, (string) local22, str2, (string) local23, (string) local24, (string) local25, nullable25, withoutAnyExtensions, (string) local26, nullable26, nullable27, nullable28, nullable29, nullable30, nullable31, nullable32, (string) local27, nullable33, nullable34, nullable35, nullable36, nullable37, nullable38, nullable39, nullable40, nullable41, nullable42, nullable43, (string) local28, nullable44, nullable45, nullable46, nullable47, nullable48, nullable49, (string) local29, nullable50, nullable51, nullable52, nullable53, nullable54, nullable55, nullable56, nullable57, nullable58, nullable59, nullable60, (string) local30, nullable61, nullable62, (ParamList<string>) local31, nullable63, nullable64, nullable65, (string) local32, nullable66, nullable67, nullable68, nullable69, nullable70, nullable71, (string) local33, (string) local34, (ParamList<string>) local35, (ParamList<string>) local36);
- projectParams.ValidateAndLog();
- return projectParams;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement