Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.50 KB | None | 0 0
  1. public static ProjectParams GetParams(BuildCommand Cmd, string ProjectFileName, out FileReference PluginFile)
  2. {
  3. Cmd.ParseParamValue("Version", "NOVERSION");
  4. string paramValue1 = Cmd.ParseParamValue("PluginPath", (string) null);
  5. if (paramValue1 == null)
  6. throw new AutomationException("Missing -PluginPath=... argument");
  7. PluginFile = new FileReference(paramValue1);
  8. if (!PluginFile.Exists())
  9. throw new AutomationException("Plugin '{0}' not found", new object[1]
  10. {
  11. (object) ((FileSystemReference) PluginFile).FullName
  12. });
  13. string paramValue2 = Cmd.ParseParamValue("BasedOnReleaseVersion", "RoboRecallVersion0");
  14. List<UnrealTargetConfiguration> targetConfigurationList1 = new List<UnrealTargetConfiguration>();
  15. foreach (UnrealTargetConfiguration targetConfiguration in Enum.GetValues(typeof (UnrealTargetConfiguration)))
  16. {
  17. if (File.Exists(TargetReceipt.GetDefaultPath(Path.GetDirectoryName(ProjectFileName), "RoboRecall", (UnrealTargetPlatform) 2, targetConfiguration, "")))
  18. targetConfigurationList1.Add(targetConfiguration);
  19. }
  20. if (targetConfigurationList1.Count == 0)
  21. throw new AutomationException("Could not find any .target files for RoboRecall Game configurations");
  22. FileReference fileReference1 = new FileReference(ProjectFileName);
  23. FileReference fileReference2 = fileReference1;
  24. BuildCommand buildCommand = Cmd;
  25. // ISSUE: variable of the null type
  26. __Null local1 = null;
  27. // ISSUE: variable of the null type
  28. __Null local2 = null;
  29. // ISSUE: variable of the null type
  30. __Null local3 = null;
  31. // ISSUE: variable of the null type
  32. __Null local4 = null;
  33. // ISSUE: variable of the null type
  34. __Null local5 = null;
  35. // ISSUE: variable of the null type
  36. __Null local6 = null;
  37. // ISSUE: variable of the null type
  38. __Null local7 = null;
  39. // ISSUE: variable of the null type
  40. __Null local8 = null;
  41. // ISSUE: variable of the null type
  42. __Null local9 = null;
  43. // ISSUE: variable of the null type
  44. __Null local10 = null;
  45. List<TargetPlatformDescriptor> platformDescriptorList1 = new List<TargetPlatformDescriptor>();
  46. TargetPlatformDescriptor platformDescriptor = new TargetPlatformDescriptor((UnrealTargetPlatform) 2);
  47. platformDescriptorList1.Add(platformDescriptor);
  48. List<TargetPlatformDescriptor> platformDescriptorList2 = platformDescriptorList1;
  49. List<UnrealTargetConfiguration> targetConfigurationList2 = targetConfigurationList1;
  50. // ISSUE: variable of the null type
  51. __Null local11 = null;
  52. // ISSUE: variable of the null type
  53. __Null local12 = null;
  54. // ISSUE: variable of the null type
  55. __Null local13 = null;
  56. // ISSUE: variable of the null type
  57. __Null local14 = null;
  58. // ISSUE: variable of the null type
  59. __Null local15 = null;
  60. // ISSUE: variable of the null type
  61. __Null local16 = null;
  62. // ISSUE: variable of the null type
  63. __Null local17 = null;
  64. // ISSUE: variable of the null type
  65. __Null local18 = null;
  66. List<TargetPlatformDescriptor> platformDescriptorList3 = platformDescriptorList2;
  67. // ISSUE: variable of the null type
  68. __Null local19 = null;
  69. // ISSUE: variable of the null type
  70. __Null local20 = null;
  71. // ISSUE: variable of the null type
  72. __Null local21 = null;
  73. string fullName = (string) ((FileSystemReference) DirectoryReference.Combine(fileReference1.get_Directory(), new string[2]
  74. {
  75. "Saved",
  76. "CookMod"
  77. })).FullName;
  78. bool? nullable1 = new bool?(false);
  79. bool? nullable2 = new bool?(true);
  80. bool? nullable3 = new bool?();
  81. bool? nullable4 = new bool?();
  82. bool? nullable5 = new bool?();
  83. bool? nullable6 = new bool?();
  84. bool? nullable7 = new bool?();
  85. bool? nullable8 = new bool?();
  86. bool? nullable9 = new bool?();
  87. bool? nullable10 = new bool?();
  88. bool? nullable11 = new bool?();
  89. bool? nullable12 = new bool?();
  90. string str1 = fullName;
  91. bool? nullable13 = new bool?();
  92. bool? nullable14 = new bool?();
  93. bool? nullable15 = new bool?();
  94. bool? nullable16 = new bool?();
  95. bool? nullable17 = new bool?();
  96. bool? nullable18 = new bool?();
  97. bool? nullable19 = new bool?();
  98. int? nullable20 = new int?();
  99. // ISSUE: variable of the null type
  100. __Null local22 = null;
  101. bool? nullable21 = new bool?(true);
  102. bool? nullable22 = new bool?(true);
  103. bool? nullable23 = new bool?(true);
  104. bool? nullable24 = new bool?(true);
  105. string str2 = paramValue2;
  106. // ISSUE: variable of the null type
  107. __Null local23 = null;
  108. // ISSUE: variable of the null type
  109. __Null local24 = null;
  110. // ISSUE: variable of the null type
  111. __Null local25 = null;
  112. bool? nullable25 = new bool?();
  113. string withoutAnyExtensions = PluginFile.GetFileNameWithoutAnyExtensions();
  114. // ISSUE: variable of the null type
  115. __Null local26 = null;
  116. bool? nullable26 = nullable24;
  117. bool? nullable27 = new bool?();
  118. bool? nullable28 = new bool?();
  119. bool? nullable29 = new bool?();
  120. bool? nullable30 = new bool?();
  121. bool? nullable31 = new bool?();
  122. bool? nullable32 = new bool?();
  123. // ISSUE: variable of the null type
  124. __Null local27 = null;
  125. bool? nullable33 = new bool?();
  126. bool? nullable34 = new bool?();
  127. bool? nullable35 = new bool?();
  128. bool? nullable36 = new bool?();
  129. bool? nullable37 = new bool?();
  130. bool? nullable38 = new bool?();
  131. bool? nullable39 = new bool?();
  132. bool? nullable40 = new bool?();
  133. bool? nullable41 = new bool?();
  134. bool? nullable42 = nullable22;
  135. bool? nullable43 = new bool?();
  136. // ISSUE: variable of the null type
  137. __Null local28 = null;
  138. bool? nullable44 = new bool?();
  139. bool? nullable45 = new bool?();
  140. bool? nullable46 = new bool?();
  141. bool? nullable47 = new bool?();
  142. bool? nullable48 = new bool?();
  143. bool? nullable49 = new bool?();
  144. // ISSUE: variable of the null type
  145. __Null local29 = null;
  146. int? nullable50 = new int?();
  147. bool? nullable51 = new bool?();
  148. bool? nullable52 = new bool?();
  149. bool? nullable53 = new bool?();
  150. bool? nullable54 = new bool?();
  151. bool? nullable55 = nullable21;
  152. bool? nullable56 = nullable23;
  153. bool? nullable57 = new bool?();
  154. bool? nullable58 = new bool?();
  155. int? nullable59 = new int?();
  156. bool? nullable60 = new bool?();
  157. // ISSUE: variable of the null type
  158. __Null local30 = null;
  159. bool? nullable61 = new bool?();
  160. bool? nullable62 = new bool?();
  161. // ISSUE: variable of the null type
  162. __Null local31 = null;
  163. bool? nullable63 = new bool?();
  164. bool? nullable64 = new bool?();
  165. int? nullable65 = new int?();
  166. // ISSUE: variable of the null type
  167. __Null local32 = null;
  168. bool? nullable66 = new bool?();
  169. bool? nullable67 = new bool?();
  170. bool? nullable68 = new bool?();
  171. bool? nullable69 = new bool?(true);
  172. bool? nullable70 = new bool?();
  173. bool? nullable71 = new bool?();
  174. // ISSUE: variable of the null type
  175. __Null local33 = null;
  176. // ISSUE: variable of the null type
  177. __Null local34 = null;
  178. // ISSUE: variable of the null type
  179. __Null local35 = null;
  180. // ISSUE: variable of the null type
  181. __Null local36 = null;
  182. 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);
  183. projectParams.ValidateAndLog();
  184. return projectParams;
  185. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement