@etothepii/satisfactory-file-parser 2.0.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (593) hide show
  1. package/CHANGELOG.md +12 -1
  2. package/GUIDE.md +81 -0
  3. package/README.md +86 -41
  4. package/build/parser/satisfactory/blueprint/blueprint-reader.d.ts.map +1 -1
  5. package/build/parser/satisfactory/blueprint/blueprint-reader.js +5 -6
  6. package/build/parser/satisfactory/blueprint/blueprint-reader.js.map +1 -1
  7. package/build/parser/satisfactory/blueprint/blueprint-writer.d.ts.map +1 -1
  8. package/build/parser/satisfactory/blueprint/blueprint-writer.js +3 -4
  9. package/build/parser/satisfactory/blueprint/blueprint-writer.js.map +1 -1
  10. package/build/parser/satisfactory/blueprint/blueprint.types.d.ts +3 -2
  11. package/build/parser/satisfactory/blueprint/blueprint.types.d.ts.map +1 -1
  12. package/build/parser/satisfactory/blueprint/blueprint.types.js.map +1 -1
  13. package/build/parser/satisfactory/edit/edit-constants.d.ts +4 -0
  14. package/build/parser/satisfactory/edit/edit-constants.d.ts.map +1 -1
  15. package/build/parser/satisfactory/edit/edit-constants.js +4 -0
  16. package/build/parser/satisfactory/edit/edit-constants.js.map +1 -1
  17. package/build/parser/satisfactory/types/property/PropertiesList.js.map +1 -1
  18. package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.d.ts +6 -4
  19. package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.d.ts.map +1 -1
  20. package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.js +10 -19
  21. package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.js.map +1 -1
  22. package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.d.ts.map +1 -1
  23. package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.js +3 -5
  24. package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.js.map +1 -1
  25. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.d.ts.map +1 -1
  26. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.js +3 -5
  27. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.js.map +1 -1
  28. package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.d.ts.map +1 -1
  29. package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.js +3 -5
  30. package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.js.map +1 -1
  31. package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.d.ts.map +1 -1
  32. package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.js +3 -5
  33. package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.js.map +1 -1
  34. package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.d.ts.map +1 -1
  35. package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.js +3 -5
  36. package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.js.map +1 -1
  37. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.d.ts.map +1 -1
  38. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.js +3 -5
  39. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.js.map +1 -1
  40. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.d.ts.map +1 -1
  41. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.js +3 -5
  42. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.js.map +1 -1
  43. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.d.ts.map +1 -1
  44. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.js +3 -5
  45. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.js.map +1 -1
  46. package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.d.ts.map +1 -1
  47. package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.js +3 -5
  48. package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.js.map +1 -1
  49. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.d.ts.map +1 -1
  50. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.js +3 -5
  51. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.js.map +1 -1
  52. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.d.ts.map +1 -1
  53. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.js +10 -7
  54. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.js.map +1 -1
  55. package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.d.ts.map +1 -1
  56. package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.js +3 -5
  57. package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.js.map +1 -1
  58. package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts +9 -8
  59. package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts.map +1 -1
  60. package/build/parser/satisfactory/types/property/generic/BoolProperty.js +18 -18
  61. package/build/parser/satisfactory/types/property/generic/BoolProperty.js.map +1 -1
  62. package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts +9 -8
  63. package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts.map +1 -1
  64. package/build/parser/satisfactory/types/property/generic/ByteProperty.js +18 -19
  65. package/build/parser/satisfactory/types/property/generic/ByteProperty.js.map +1 -1
  66. package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts +9 -8
  67. package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts.map +1 -1
  68. package/build/parser/satisfactory/types/property/generic/DoubleProperty.js +18 -18
  69. package/build/parser/satisfactory/types/property/generic/DoubleProperty.js.map +1 -1
  70. package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts +9 -11
  71. package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts.map +1 -1
  72. package/build/parser/satisfactory/types/property/generic/EnumProperty.js +18 -19
  73. package/build/parser/satisfactory/types/property/generic/EnumProperty.js.map +1 -1
  74. package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts +9 -8
  75. package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts.map +1 -1
  76. package/build/parser/satisfactory/types/property/generic/FloatProperty.js +18 -18
  77. package/build/parser/satisfactory/types/property/generic/FloatProperty.js.map +1 -1
  78. package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts +9 -8
  79. package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts.map +1 -1
  80. package/build/parser/satisfactory/types/property/generic/Int32Property.js +18 -18
  81. package/build/parser/satisfactory/types/property/generic/Int32Property.js.map +1 -1
  82. package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts +9 -8
  83. package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts.map +1 -1
  84. package/build/parser/satisfactory/types/property/generic/Int64Property.js +18 -18
  85. package/build/parser/satisfactory/types/property/generic/Int64Property.js.map +1 -1
  86. package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts +9 -8
  87. package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts.map +1 -1
  88. package/build/parser/satisfactory/types/property/generic/Int8Property.js +18 -18
  89. package/build/parser/satisfactory/types/property/generic/Int8Property.js.map +1 -1
  90. package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts +7 -5
  91. package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts.map +1 -1
  92. package/build/parser/satisfactory/types/property/generic/MapProperty.js +22 -20
  93. package/build/parser/satisfactory/types/property/generic/MapProperty.js.map +1 -1
  94. package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts +9 -8
  95. package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts.map +1 -1
  96. package/build/parser/satisfactory/types/property/generic/ObjectProperty.js +18 -18
  97. package/build/parser/satisfactory/types/property/generic/ObjectProperty.js.map +1 -1
  98. package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts +1 -1
  99. package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts.map +1 -1
  100. package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.js +5 -7
  101. package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.js.map +1 -1
  102. package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.d.ts.map +1 -1
  103. package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.js +3 -5
  104. package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.js.map +1 -1
  105. package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.d.ts.map +1 -1
  106. package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.js +3 -5
  107. package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.js.map +1 -1
  108. package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.d.ts.map +1 -1
  109. package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js +3 -5
  110. package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js.map +1 -1
  111. package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.d.ts.map +1 -1
  112. package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.js +3 -5
  113. package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.js.map +1 -1
  114. package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts +9 -8
  115. package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts.map +1 -1
  116. package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js +20 -20
  117. package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js.map +1 -1
  118. package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts +9 -8
  119. package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts.map +1 -1
  120. package/build/parser/satisfactory/types/property/generic/StrProperty.js +18 -18
  121. package/build/parser/satisfactory/types/property/generic/StrProperty.js.map +1 -1
  122. package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts +9 -8
  123. package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts.map +1 -1
  124. package/build/parser/satisfactory/types/property/generic/StructProperty.js +21 -19
  125. package/build/parser/satisfactory/types/property/generic/StructProperty.js.map +1 -1
  126. package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts +9 -8
  127. package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts.map +1 -1
  128. package/build/parser/satisfactory/types/property/generic/TextProperty.js +18 -18
  129. package/build/parser/satisfactory/types/property/generic/TextProperty.js.map +1 -1
  130. package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts +9 -8
  131. package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts.map +1 -1
  132. package/build/parser/satisfactory/types/property/generic/Uint32Property.js +18 -18
  133. package/build/parser/satisfactory/types/property/generic/Uint32Property.js.map +1 -1
  134. package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts +9 -8
  135. package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts.map +1 -1
  136. package/build/parser/satisfactory/types/property/generic/Uint64Property.js +18 -18
  137. package/build/parser/satisfactory/types/property/generic/Uint64Property.js.map +1 -1
  138. package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts +9 -8
  139. package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts.map +1 -1
  140. package/build/parser/satisfactory/types/property/generic/Uint8Property.js +18 -18
  141. package/build/parser/satisfactory/types/property/generic/Uint8Property.js.map +1 -1
  142. package/docs/assets/highlight.css +7 -0
  143. package/docs/assets/navigation.js +1 -1
  144. package/docs/assets/search.js +1 -1
  145. package/docs/classes/BlueprintConfigReader.html +3 -3
  146. package/docs/classes/BlueprintConfigWriter.html +3 -3
  147. package/docs/classes/BlueprintReader.html +3 -3
  148. package/docs/classes/BlueprintWriter.html +3 -3
  149. package/docs/classes/CompressionLibraryError.html +2 -2
  150. package/docs/classes/CorruptSaveError.html +2 -2
  151. package/docs/classes/Parser.html +6 -6
  152. package/docs/classes/ParserError.html +2 -2
  153. package/docs/classes/ReadableStreamParser.html +2 -2
  154. package/docs/classes/SatisfactorySave.html +2 -2
  155. package/docs/classes/SaveComponent.html +2 -2
  156. package/docs/classes/SaveEntity.html +2 -2
  157. package/docs/classes/SaveObject.html +2 -2
  158. package/docs/classes/SaveReader.html +3 -3
  159. package/docs/classes/SaveStreamJsonStringifier.html +2 -2
  160. package/docs/classes/SaveStreamWriter.html +2 -2
  161. package/docs/classes/SaveWriter.html +3 -3
  162. package/docs/classes/TimeoutError.html +2 -2
  163. package/docs/classes/UnimplementedError.html +2 -2
  164. package/docs/classes/UnsupportedVersionError.html +2 -2
  165. package/docs/functions/AbstractBaseProperty.Create.html +1 -0
  166. package/docs/functions/ArrayProperty.CalcOverhead.html +1 -1
  167. package/docs/functions/ArrayProperty.Parse.html +1 -1
  168. package/docs/functions/ArrayProperty.Serialize.html +1 -1
  169. package/docs/functions/BoolArrayProperty.Parse.html +1 -1
  170. package/docs/functions/BoolArrayProperty.Serialize.html +1 -1
  171. package/docs/functions/BoolProperty.CalcOverhead.html +1 -0
  172. package/docs/functions/BoolProperty.Parse.html +1 -0
  173. package/docs/functions/BoolProperty.ReadValue.html +1 -0
  174. package/docs/functions/BoolProperty.Serialize.html +1 -0
  175. package/docs/functions/BoolProperty.SerializeValue.html +1 -0
  176. package/docs/functions/BuildableSubsystemSpecialProperties.Parse.html +1 -1
  177. package/docs/functions/BuildableSubsystemSpecialProperties.Serialize.html +1 -1
  178. package/docs/functions/ByteArrayProperty.Parse.html +1 -1
  179. package/docs/functions/ByteArrayProperty.Serialize.html +1 -1
  180. package/docs/functions/ByteProperty.CalcOverhead.html +1 -0
  181. package/docs/functions/ByteProperty.Parse.html +1 -0
  182. package/docs/functions/ByteProperty.ReadValue.html +1 -0
  183. package/docs/functions/ByteProperty.Serialize.html +1 -0
  184. package/docs/functions/ByteProperty.SerializeValue.html +1 -0
  185. package/docs/functions/CircuitSpecialProperties.Parse.html +1 -1
  186. package/docs/functions/CircuitSpecialProperties.Serialize.html +1 -1
  187. package/docs/functions/ConveyorChainActorSpecialProperties.Parse.html +1 -1
  188. package/docs/functions/ConveyorChainActorSpecialProperties.Serialize.html +1 -1
  189. package/docs/functions/ConveyorSpecialProperties.Parse.html +1 -1
  190. package/docs/functions/ConveyorSpecialProperties.Serialize.html +1 -1
  191. package/docs/functions/DoubleArrayProperty.Parse.html +1 -1
  192. package/docs/functions/DoubleArrayProperty.Serialize.html +1 -1
  193. package/docs/functions/DoubleProperty.CalcOverhead.html +1 -0
  194. package/docs/functions/DoubleProperty.Parse.html +1 -0
  195. package/docs/functions/DoubleProperty.ReadValue.html +1 -0
  196. package/docs/functions/DoubleProperty.Serialize.html +1 -0
  197. package/docs/functions/DoubleProperty.SerializeValue.html +1 -0
  198. package/docs/functions/DynamicStructPropertyValue.read.html +1 -1
  199. package/docs/functions/DynamicStructPropertyValue.write.html +1 -1
  200. package/docs/functions/EmptySpecialProperties.Parse.html +1 -1
  201. package/docs/functions/EmptySpecialProperties.Serialize.html +1 -1
  202. package/docs/functions/EnumArrayProperty.Parse.html +1 -1
  203. package/docs/functions/EnumArrayProperty.Serialize.html +1 -1
  204. package/docs/functions/EnumProperty.CalcOverhead.html +1 -0
  205. package/docs/functions/EnumProperty.Parse.html +1 -0
  206. package/docs/functions/EnumProperty.ReadValue.html +1 -0
  207. package/docs/functions/EnumProperty.Serialize.html +1 -0
  208. package/docs/functions/EnumProperty.SerializeValue.html +1 -0
  209. package/docs/functions/FICFrameRange.Parse.html +1 -1
  210. package/docs/functions/FICFrameRange.Serialize.html +1 -1
  211. package/docs/functions/FloatArrayProperty.Parse.html +1 -1
  212. package/docs/functions/FloatArrayProperty.Serialize.html +1 -1
  213. package/docs/functions/FloatProperty.CalcOverhead.html +1 -0
  214. package/docs/functions/FloatProperty.Parse.html +1 -0
  215. package/docs/functions/FloatProperty.ReadValue.html +1 -0
  216. package/docs/functions/FloatProperty.Serialize.html +1 -0
  217. package/docs/functions/FloatProperty.SerializeValue.html +1 -0
  218. package/docs/functions/GUID.read.html +1 -1
  219. package/docs/functions/GUID.write.html +1 -1
  220. package/docs/functions/GUIDInfo.read.html +1 -1
  221. package/docs/functions/GUIDInfo.write.html +1 -1
  222. package/docs/functions/Int32ArrayProperty.Parse.html +1 -1
  223. package/docs/functions/Int32ArrayProperty.Serialize.html +1 -1
  224. package/docs/functions/Int32Property.CalcOverhead.html +1 -0
  225. package/docs/functions/Int32Property.Parse.html +1 -0
  226. package/docs/functions/Int32Property.ReadValue.html +1 -0
  227. package/docs/functions/Int32Property.Serialize.html +1 -0
  228. package/docs/functions/Int32Property.SerializeValue.html +1 -0
  229. package/docs/functions/Int32SetProperty.Parse.html +1 -1
  230. package/docs/functions/Int32SetProperty.Serialize.html +1 -1
  231. package/docs/functions/Int64ArrayProperty.Parse.html +1 -1
  232. package/docs/functions/Int64ArrayProperty.Serialize.html +1 -1
  233. package/docs/functions/Int64Property.CalcOverhead.html +1 -0
  234. package/docs/functions/Int64Property.Parse.html +1 -0
  235. package/docs/functions/Int64Property.ReadValue.html +1 -0
  236. package/docs/functions/Int64Property.Serialize.html +1 -0
  237. package/docs/functions/Int64Property.SerializeValue.html +1 -0
  238. package/docs/functions/Int8Property.CalcOverhead.html +1 -0
  239. package/docs/functions/Int8Property.Parse.html +1 -0
  240. package/docs/functions/Int8Property.ReadValue.html +1 -0
  241. package/docs/functions/Int8Property.Serialize.html +1 -0
  242. package/docs/functions/Int8Property.SerializeValue.html +1 -0
  243. package/docs/functions/Level.ReadAllObjectContents.html +1 -1
  244. package/docs/functions/Level.ReadAllObjectHeaders.html +1 -1
  245. package/docs/functions/Level.ReadLevel.html +1 -1
  246. package/docs/functions/Level.ReadNObjectContents.html +1 -1
  247. package/docs/functions/Level.ReadNObjectHeaders.html +1 -1
  248. package/docs/functions/Level.SerializeAllObjectContents.html +1 -1
  249. package/docs/functions/Level.SerializeAllObjectHeaders.html +1 -1
  250. package/docs/functions/Level.SerializeLevel.html +1 -1
  251. package/docs/functions/MD5Hash.read.html +1 -1
  252. package/docs/functions/MD5Hash.write.html +1 -1
  253. package/docs/functions/MapProperty.CalcOverhead.html +1 -0
  254. package/docs/functions/MapProperty.Parse.html +1 -0
  255. package/docs/functions/MapProperty.Serialize.html +1 -0
  256. package/docs/functions/ObjectArrayProperty.Parse.html +1 -1
  257. package/docs/functions/ObjectArrayProperty.Serialize.html +1 -1
  258. package/docs/functions/ObjectProperty.CalcOverhead.html +1 -0
  259. package/docs/functions/ObjectProperty.Parse.html +1 -0
  260. package/docs/functions/ObjectProperty.ReadValue.html +1 -0
  261. package/docs/functions/ObjectProperty.Serialize.html +1 -0
  262. package/docs/functions/ObjectProperty.SerializeValue.html +1 -0
  263. package/docs/functions/ObjectReference.read.html +1 -1
  264. package/docs/functions/ObjectReference.write.html +1 -1
  265. package/docs/functions/ObjectSetProperty.Parse.html +1 -1
  266. package/docs/functions/ObjectSetProperty.Serialize.html +1 -1
  267. package/docs/functions/ObjectsListSpecialProperties.Parse.html +1 -1
  268. package/docs/functions/ObjectsListSpecialProperties.Serialize.html +1 -1
  269. package/docs/functions/PlayerSpecialProperties.Parse.html +1 -1
  270. package/docs/functions/PlayerSpecialProperties.Serialize.html +1 -1
  271. package/docs/functions/PowerLineSpecialProperties.Parse.html +1 -1
  272. package/docs/functions/PowerLineSpecialProperties.Serialize.html +1 -1
  273. package/docs/functions/PropertiesList.ParseList.html +1 -1
  274. package/docs/functions/PropertiesList.ParseSingleProperty.html +1 -1
  275. package/docs/functions/PropertiesList.SerializeList.html +1 -1
  276. package/docs/functions/PropertiesList.SerializeSingleProperty.html +1 -1
  277. package/docs/functions/SetProperty.CalcOverhead.html +1 -1
  278. package/docs/functions/SetProperty.Parse.html +1 -1
  279. package/docs/functions/SetProperty.Serialize.html +1 -1
  280. package/docs/functions/SoftObjectArrayProperty.Parse.html +1 -1
  281. package/docs/functions/SoftObjectArrayProperty.Serialize.html +1 -1
  282. package/docs/functions/SoftObjectReference.read.html +1 -1
  283. package/docs/functions/SoftObjectReference.write.html +1 -1
  284. package/docs/functions/SpecialDroneActionProperties.Parse.html +1 -1
  285. package/docs/functions/SpecialDroneActionProperties.Serialize.html +1 -1
  286. package/docs/functions/SpecialProperties.ParseClassSpecificSpecialProperties.html +1 -1
  287. package/docs/functions/SpecialProperties.SerializeClassSpecificSpecialProperties.html +1 -1
  288. package/docs/functions/StrArrayProperty.Parse.html +1 -1
  289. package/docs/functions/StrArrayProperty.Serialize.html +1 -1
  290. package/docs/functions/StrProperty.CalcOverhead.html +1 -0
  291. package/docs/functions/StrProperty.Parse.html +1 -0
  292. package/docs/functions/StrProperty.ReadValue.html +1 -0
  293. package/docs/functions/StrProperty.Serialize.html +1 -0
  294. package/docs/functions/StrProperty.SerializeValue.html +1 -0
  295. package/docs/functions/StrSetProperty.Parse.html +1 -1
  296. package/docs/functions/StrSetProperty.Serialize.html +1 -1
  297. package/docs/functions/StructArrayProperty.Parse.html +1 -1
  298. package/docs/functions/StructArrayProperty.Serialize.html +1 -1
  299. package/docs/functions/StructProperty.CalcOverhead.html +1 -0
  300. package/docs/functions/StructProperty.Parse.html +1 -0
  301. package/docs/functions/StructProperty.ParseValue.html +1 -0
  302. package/docs/functions/StructProperty.Serialize.html +1 -0
  303. package/docs/functions/StructProperty.SerializeValue.html +1 -0
  304. package/docs/functions/StructSetProperty.Parse.html +1 -1
  305. package/docs/functions/StructSetProperty.Serialize.html +1 -1
  306. package/docs/functions/TextArrayProperty.Parse.html +1 -1
  307. package/docs/functions/TextArrayProperty.Serialize.html +1 -1
  308. package/docs/functions/TextProperty.CalcOverhead.html +1 -0
  309. package/docs/functions/TextProperty.Parse.html +1 -0
  310. package/docs/functions/TextProperty.ReadValue.html +1 -0
  311. package/docs/functions/TextProperty.Serialize.html +1 -0
  312. package/docs/functions/TextProperty.SerializeValue.html +1 -0
  313. package/docs/functions/Transform.Parse.html +1 -1
  314. package/docs/functions/Transform.ParseF.html +1 -1
  315. package/docs/functions/Transform.Serialize.html +1 -1
  316. package/docs/functions/Transform.SerializeF.html +1 -1
  317. package/docs/functions/Uint32Property.CalcOverhead.html +1 -0
  318. package/docs/functions/Uint32Property.Parse.html +1 -0
  319. package/docs/functions/Uint32Property.ReadValue.html +1 -0
  320. package/docs/functions/Uint32Property.Serialize.html +1 -0
  321. package/docs/functions/Uint32Property.SerializeValue.html +1 -0
  322. package/docs/functions/Uint32SetProperty.Parse.html +1 -1
  323. package/docs/functions/Uint32SetProperty.Serialize.html +1 -1
  324. package/docs/functions/Uint64Property.CalcOverhead.html +1 -0
  325. package/docs/functions/Uint64Property.Parse.html +1 -0
  326. package/docs/functions/Uint64Property.ReadValue.html +1 -0
  327. package/docs/functions/Uint64Property.Serialize.html +1 -0
  328. package/docs/functions/Uint64Property.SerializeValue.html +1 -0
  329. package/docs/functions/Uint8Property.CalcOverhead.html +1 -0
  330. package/docs/functions/Uint8Property.Parse.html +1 -0
  331. package/docs/functions/Uint8Property.ReadValue.html +1 -0
  332. package/docs/functions/Uint8Property.Serialize.html +1 -0
  333. package/docs/functions/Uint8Property.SerializeValue.html +1 -0
  334. package/docs/functions/VehicleSpecialProperties.Parse.html +1 -1
  335. package/docs/functions/VehicleSpecialProperties.Serialize.html +1 -1
  336. package/docs/functions/col4.ParseBGRA.html +1 -1
  337. package/docs/functions/col4.ParseRGBA.html +1 -1
  338. package/docs/functions/col4.SerializeBGRA.html +1 -1
  339. package/docs/functions/col4.SerializeRGBA.html +1 -1
  340. package/docs/functions/isArrayProperty.html +1 -1
  341. package/docs/functions/isBoolArrayProperty.html +1 -1
  342. package/docs/functions/isBoolProperty.html +1 -1
  343. package/docs/functions/isBuildableSubsystemSpecialProperties.html +1 -1
  344. package/docs/functions/isByteArrayProperty.html +1 -1
  345. package/docs/functions/isByteProperty.html +1 -1
  346. package/docs/functions/isCircuitSpecialProperties.html +1 -1
  347. package/docs/functions/isConveyorChainActorSpecialProperties.html +1 -1
  348. package/docs/functions/isConveyorSpecialProperties.html +1 -1
  349. package/docs/functions/isDoubleArrayProperty.html +1 -1
  350. package/docs/functions/isDoubleProperty.html +1 -1
  351. package/docs/functions/isEmptySpecialProperties.html +1 -1
  352. package/docs/functions/isEnumArrayProperty.html +1 -1
  353. package/docs/functions/isEnumProperty.html +1 -1
  354. package/docs/functions/isFloatArrayProperty.html +1 -1
  355. package/docs/functions/isFloatProperty.html +1 -1
  356. package/docs/functions/isInt32ArrayProperty.html +1 -1
  357. package/docs/functions/isInt32Property.html +1 -1
  358. package/docs/functions/isInt32SetProperty.html +1 -1
  359. package/docs/functions/isInt64ArrayProperty.html +1 -1
  360. package/docs/functions/isInt64Property.html +1 -1
  361. package/docs/functions/isInt8Property.html +1 -1
  362. package/docs/functions/isMapProperty.html +1 -1
  363. package/docs/functions/isObjectArrayProperty.html +1 -1
  364. package/docs/functions/isObjectProperty.html +1 -1
  365. package/docs/functions/isObjectSetProperty.html +1 -1
  366. package/docs/functions/isObjectsListSpecialProperties.html +1 -1
  367. package/docs/functions/isPlayerSpecialProperties.html +1 -1
  368. package/docs/functions/isPowerLineSpecialProperties.html +1 -1
  369. package/docs/functions/isSaveComponent.html +1 -1
  370. package/docs/functions/isSaveEntity.html +1 -1
  371. package/docs/functions/isSetProperty.html +1 -1
  372. package/docs/functions/isSoftObjectArrayProperty.html +1 -1
  373. package/docs/functions/isSpecialDroneActionProperties.html +1 -1
  374. package/docs/functions/isStrArrayProperty.html +1 -1
  375. package/docs/functions/isStrProperty.html +1 -1
  376. package/docs/functions/isStrSetProperty.html +1 -1
  377. package/docs/functions/isStructArrayProperty.html +1 -1
  378. package/docs/functions/isStructProperty.html +1 -1
  379. package/docs/functions/isStructSetProperty.html +1 -1
  380. package/docs/functions/isTextArrayProperty.html +1 -1
  381. package/docs/functions/isTextProperty.html +1 -1
  382. package/docs/functions/isUInt64Property.html +1 -1
  383. package/docs/functions/isUint32Property.html +1 -1
  384. package/docs/functions/isUint32SetProperty.html +1 -1
  385. package/docs/functions/isUint8Property.html +1 -1
  386. package/docs/functions/isVehicleSpecialProperties.html +1 -1
  387. package/docs/functions/vec2.Parse.html +1 -1
  388. package/docs/functions/vec2.ParseF.html +1 -1
  389. package/docs/functions/vec2.Serialize.html +1 -1
  390. package/docs/functions/vec2.SerializeF.html +1 -1
  391. package/docs/functions/vec3.Parse.html +1 -1
  392. package/docs/functions/vec3.ParseF.html +1 -1
  393. package/docs/functions/vec3.ParseInt.html +1 -1
  394. package/docs/functions/vec3.Serialize.html +1 -1
  395. package/docs/functions/vec3.SerializeF.html +1 -1
  396. package/docs/functions/vec3.SerializeInt.html +1 -1
  397. package/docs/functions/vec3.add.html +1 -1
  398. package/docs/functions/vec3.length.html +1 -1
  399. package/docs/functions/vec3.mult.html +1 -1
  400. package/docs/functions/vec3.norm.html +1 -1
  401. package/docs/functions/vec3.sub.html +1 -1
  402. package/docs/functions/vec4.Parse.html +1 -1
  403. package/docs/functions/vec4.ParseF.html +1 -1
  404. package/docs/functions/vec4.Serialize.html +1 -1
  405. package/docs/functions/vec4.SerializeF.html +1 -1
  406. package/docs/hierarchy.html +1 -1
  407. package/docs/index.html +24 -29
  408. package/docs/interfaces/Blueprint.html +2 -2
  409. package/docs/interfaces/BlueprintConfig.html +2 -2
  410. package/docs/interfaces/ModData.html +2 -2
  411. package/docs/interfaces/SatisfactoryModMetadata.html +2 -2
  412. package/docs/interfaces/SatisfactorySaveHeader.html +2 -2
  413. package/docs/interfaces/SaveComponentHeader.html +2 -2
  414. package/docs/interfaces/SaveEntityHeader.html +2 -2
  415. package/docs/interfaces/SaveObjectHeader.html +2 -2
  416. package/docs/modules/AbstractBaseProperty.html +2 -0
  417. package/docs/modules/ArrayProperty.html +1 -1
  418. package/docs/modules/BoolArrayProperty.html +1 -1
  419. package/docs/modules/BoolProperty.html +6 -0
  420. package/docs/modules/BuildableSubsystemSpecialProperties.html +1 -1
  421. package/docs/modules/ByteArrayProperty.html +1 -1
  422. package/docs/modules/ByteProperty.html +6 -0
  423. package/docs/modules/CircuitSpecialProperties.html +1 -1
  424. package/docs/modules/ConveyorChainActorSpecialProperties.html +1 -1
  425. package/docs/modules/ConveyorSpecialProperties.html +1 -1
  426. package/docs/modules/DoubleArrayProperty.html +1 -1
  427. package/docs/modules/DoubleProperty.html +6 -0
  428. package/docs/modules/DynamicStructPropertyValue.html +1 -1
  429. package/docs/modules/EmptySpecialProperties.html +1 -1
  430. package/docs/modules/EnumArrayProperty.html +1 -1
  431. package/docs/modules/EnumProperty.html +6 -0
  432. package/docs/modules/FICFrameRange.html +1 -1
  433. package/docs/modules/FloatArrayProperty.html +1 -1
  434. package/docs/modules/FloatProperty.html +6 -0
  435. package/docs/modules/GUID.html +1 -1
  436. package/docs/modules/GUIDInfo.html +1 -1
  437. package/docs/modules/Int32ArrayProperty.html +1 -1
  438. package/docs/modules/Int32Property.html +6 -0
  439. package/docs/modules/Int32SetProperty.html +1 -1
  440. package/docs/modules/Int64ArrayProperty.html +1 -1
  441. package/docs/modules/Int64Property.html +6 -0
  442. package/docs/modules/Int8Property.html +6 -0
  443. package/docs/modules/Level.html +1 -1
  444. package/docs/modules/MD5Hash.html +1 -1
  445. package/docs/modules/MapProperty.html +4 -0
  446. package/docs/modules/ObjectArrayProperty.html +1 -1
  447. package/docs/modules/ObjectProperty.html +6 -0
  448. package/docs/modules/ObjectReference.html +1 -1
  449. package/docs/modules/ObjectSetProperty.html +1 -1
  450. package/docs/modules/ObjectsListSpecialProperties.html +1 -1
  451. package/docs/modules/PlayerSpecialProperties.html +1 -1
  452. package/docs/modules/PowerLineSpecialProperties.html +1 -1
  453. package/docs/modules/PropertiesList.html +1 -1
  454. package/docs/modules/SetProperty.html +1 -1
  455. package/docs/modules/SoftObjectArrayProperty.html +1 -1
  456. package/docs/modules/SoftObjectReference.html +1 -1
  457. package/docs/modules/SpecialDroneActionProperties.html +1 -1
  458. package/docs/modules/SpecialProperties.html +1 -1
  459. package/docs/modules/StrArrayProperty.html +1 -1
  460. package/docs/modules/StrProperty.html +6 -0
  461. package/docs/modules/StrSetProperty.html +1 -1
  462. package/docs/modules/StructArrayProperty.html +1 -1
  463. package/docs/modules/StructProperty.html +6 -0
  464. package/docs/modules/StructSetProperty.html +1 -1
  465. package/docs/modules/TextArrayProperty.html +1 -1
  466. package/docs/modules/TextProperty.html +6 -0
  467. package/docs/modules/Transform.html +1 -1
  468. package/docs/modules/Uint32Property.html +6 -0
  469. package/docs/modules/Uint32SetProperty.html +1 -1
  470. package/docs/modules/Uint64Property.html +6 -0
  471. package/docs/modules/Uint8Property.html +6 -0
  472. package/docs/modules/VehicleSpecialProperties.html +1 -1
  473. package/docs/modules/col4.html +1 -1
  474. package/docs/modules/vec2.html +1 -1
  475. package/docs/modules/vec3.html +1 -1
  476. package/docs/modules/vec4.html +1 -1
  477. package/docs/modules.html +37 -20
  478. package/docs/types/AbstractBaseProperty-1.html +1 -0
  479. package/docs/types/ArrayProperty.AvailableArrayPropertyTypes.html +1 -1
  480. package/docs/types/ArrayPropertyStructValueFields.html +1 -1
  481. package/docs/types/BasicMultipleStructPropertyValue.html +1 -1
  482. package/docs/types/BasicStructPropertyValue.html +1 -1
  483. package/docs/types/BlueprintHeader.html +1 -1
  484. package/docs/types/BoolArrayProperty-1.html +1 -1
  485. package/docs/types/BoolProperty-1.html +1 -0
  486. package/docs/types/BoxStructPropertyValue.html +1 -1
  487. package/docs/types/BuildableSubsystemSpecialProperties-1.html +1 -1
  488. package/docs/types/BuildableTypeInstance.html +1 -1
  489. package/docs/types/ByteArrayProperty-1.html +1 -1
  490. package/docs/types/ByteProperty-1.html +1 -0
  491. package/docs/types/BytePropertyValue.html +1 -1
  492. package/docs/types/CircuitSpecialProperties-1.html +1 -1
  493. package/docs/types/ClientIdentityInfo.html +1 -1
  494. package/docs/types/ConveyorChainActorSpecialProperties-1.html +1 -1
  495. package/docs/types/ConveyorChainSegmentSpecialProperties.html +1 -1
  496. package/docs/types/ConveyorItemSpecialProperties.html +1 -1
  497. package/docs/types/ConveyorSpecialProperties-1.html +1 -1
  498. package/docs/types/DoubleArrayProperty-1.html +1 -1
  499. package/docs/types/DoubleProperty-1.html +1 -0
  500. package/docs/types/DynamicStructPropertyValue-1.html +1 -1
  501. package/docs/types/EmptySpecialProperties-1.html +1 -1
  502. package/docs/types/EnumArrayProperty-1.html +1 -1
  503. package/docs/types/EnumProperty-1.html +1 -0
  504. package/docs/types/FICFrameRange-1.html +1 -1
  505. package/docs/types/FICFrameRangeStructPropertyValue.html +1 -1
  506. package/docs/types/FloatArrayProperty-1.html +1 -1
  507. package/docs/types/FloatProperty-1.html +1 -0
  508. package/docs/types/GENERIC_MAP_KEY_TYPE.html +1 -1
  509. package/docs/types/GENERIC_MAP_VALUE_TYPE.html +1 -1
  510. package/docs/types/GENERIC_STRUCT_PROPERTY_VALUE.html +1 -1
  511. package/docs/types/GUID-1.html +1 -1
  512. package/docs/types/GUIDInfo-1.html +1 -1
  513. package/docs/types/Int32ArrayProperty-1.html +1 -1
  514. package/docs/types/Int32Property-1.html +1 -0
  515. package/docs/types/Int32SetProperty-1.html +1 -1
  516. package/docs/types/Int64ArrayProperty-1.html +1 -1
  517. package/docs/types/Int64Property-1.html +1 -0
  518. package/docs/types/Int8Property-1.html +1 -0
  519. package/docs/types/InventoryItemStructPropertyValue.html +1 -1
  520. package/docs/types/Level-1.html +1 -1
  521. package/docs/types/MAP_STRUCT_KEY_PROXY.html +1 -1
  522. package/docs/types/MD5Hash-1.html +1 -1
  523. package/docs/types/MapProperty-1.html +1 -0
  524. package/docs/types/ObjectArrayProperty-1.html +1 -1
  525. package/docs/types/ObjectProperty-1.html +1 -0
  526. package/docs/types/ObjectReference-1.html +1 -1
  527. package/docs/types/ObjectSetProperty-1.html +1 -1
  528. package/docs/types/ObjectsListSpecialProperties-1.html +1 -1
  529. package/docs/types/PlayerSpecialProperties-1.html +1 -1
  530. package/docs/types/PowerLineSpecialProperties-1.html +1 -1
  531. package/docs/types/PropertiesMap.html +1 -1
  532. package/docs/types/RailroadTrackPositionStructPropertyValue.html +1 -1
  533. package/docs/types/RoughSaveVersion.html +1 -1
  534. package/docs/types/SetProperty.AvailableSetPropertyTypes.html +1 -1
  535. package/docs/types/SoftObjectArrayProperty-1.html +1 -1
  536. package/docs/types/SoftObjectReference-1.html +1 -1
  537. package/docs/types/SpecialDroneAction.html +1 -1
  538. package/docs/types/SpecialDroneActionProperties-1.html +1 -1
  539. package/docs/types/SpecialProperties.AvailableSpecialPropertiesTypes.html +1 -1
  540. package/docs/types/StrArrayProperty-1.html +1 -1
  541. package/docs/types/StrProperty-1.html +1 -0
  542. package/docs/types/StrSetProperty-1.html +1 -1
  543. package/docs/types/StructArrayProperty-1.html +1 -1
  544. package/docs/types/StructProperty-1.html +1 -0
  545. package/docs/types/StructSetProperty-1.html +1 -1
  546. package/docs/types/TextArrayProperty-1.html +1 -1
  547. package/docs/types/TextProperty-1.html +1 -0
  548. package/docs/types/TextPropertyValue.html +1 -1
  549. package/docs/types/Transform-1.html +1 -1
  550. package/docs/types/Uint32Property-1.html +1 -0
  551. package/docs/types/Uint32SetProperty-1.html +1 -1
  552. package/docs/types/Uint64Property-1.html +1 -0
  553. package/docs/types/Uint8Property-1.html +1 -0
  554. package/docs/types/VehicleSpecialProperties-1.html +1 -1
  555. package/docs/types/col4-1.html +1 -1
  556. package/docs/types/vec2-1.html +1 -1
  557. package/docs/types/vec3-1.html +1 -1
  558. package/docs/types/vec4-1.html +1 -1
  559. package/docs/variables/EDIT.html +1 -1
  560. package/package.json +2 -2
  561. package/build/parser/satisfactory/types/property/generic/ArrayProperty.d.ts +0 -23
  562. package/build/parser/satisfactory/types/property/generic/ArrayProperty.d.ts.map +0 -1
  563. package/build/parser/satisfactory/types/property/generic/ArrayProperty.js +0 -172
  564. package/build/parser/satisfactory/types/property/generic/ArrayProperty.js.map +0 -1
  565. package/build/parser/satisfactory/types/property/generic/BasicProperty.d.ts +0 -26
  566. package/build/parser/satisfactory/types/property/generic/BasicProperty.d.ts.map +0 -1
  567. package/build/parser/satisfactory/types/property/generic/BasicProperty.js +0 -29
  568. package/build/parser/satisfactory/types/property/generic/BasicProperty.js.map +0 -1
  569. package/build/parser/satisfactory/types/property/generic/SetProperty.d.ts +0 -13
  570. package/build/parser/satisfactory/types/property/generic/SetProperty.d.ts.map +0 -1
  571. package/build/parser/satisfactory/types/property/generic/SetProperty.js +0 -95
  572. package/build/parser/satisfactory/types/property/generic/SetProperty.js.map +0 -1
  573. package/build/parser/satisfactory/types/property/special/SpecialAnyProperties.d.ts +0 -55
  574. package/build/parser/satisfactory/types/property/special/SpecialAnyProperties.d.ts.map +0 -1
  575. package/build/parser/satisfactory/types/property/special/SpecialAnyProperties.js +0 -3
  576. package/build/parser/satisfactory/types/property/special/SpecialAnyProperties.js.map +0 -1
  577. package/docs/classes/AbstractBaseProperty.html +0 -7
  578. package/docs/classes/BoolProperty.html +0 -13
  579. package/docs/classes/ByteProperty.html +0 -13
  580. package/docs/classes/DoubleProperty.html +0 -13
  581. package/docs/classes/EnumProperty.html +0 -13
  582. package/docs/classes/FloatProperty.html +0 -13
  583. package/docs/classes/Int32Property.html +0 -13
  584. package/docs/classes/Int64Property.html +0 -13
  585. package/docs/classes/Int8Property.html +0 -13
  586. package/docs/classes/MapProperty.html +0 -17
  587. package/docs/classes/ObjectProperty.html +0 -13
  588. package/docs/classes/StrProperty.html +0 -13
  589. package/docs/classes/StructProperty.html +0 -18
  590. package/docs/classes/TextProperty.html +0 -13
  591. package/docs/classes/Uint32Property.html +0 -13
  592. package/docs/classes/Uint64Property.html +0 -13
  593. package/docs/classes/Uint8Property.html +0 -13
@@ -1 +1 @@
1
- {"version":3,"file":"PropertiesList.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/property/PropertiesList.ts"],"names":[],"mappings":";;;AAEA,8DAA0D;AAE1D,yEAAsE;AACtE,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAC1D,yDAAsD;AACtD,2DAAwD;AACxD,2DAAwD;AACxD,2DAAwD;AACxD,yDAAsD;AACtD,uDAAoD;AACpD,6DAA0D;AAC1D,mEAAgE;AAChE,qEAAkE;AAClE,uDAAoD;AACpD,6DAA0D;AAC1D,yDAAsD;AACtD,6DAA0D;AAC1D,6DAA0D;AAC1D,2DAAwD;AAGxD,IAAiB,cAAc,CA4R9B;AA5RD,WAAiB,cAAc;IAEjB,wBAAS,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAiB,EAAE;QAExF,MAAM,UAAU,GAAkB,EAAE,CAAC;QACrC,IAAI,YAAY,GAAW,MAAM,CAAC,UAAU,EAAE,CAAC;QAC/C,OAAO,YAAY,KAAK,MAAM,EAAE,CAAC;YAChC,MAAM,cAAc,GAAG,cAAc,CAAC,mBAAmB,CAAC,MAAM,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;YAG9F,IAAI,UAAU,CAAC,YAAY,CAAC,EAAE,CAAC;gBAC9B,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC;oBAC9C,UAAU,CAAC,YAAY,CAAC,GAAG,CAAC,UAAU,CAAC,YAAY,CAAyB,CAAC,CAAC;gBAC/E,CAAC;gBACA,UAAU,CAAC,YAAY,CAA4B,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YAC3E,CAAC;iBAAM,CAAC;gBACP,UAAU,CAAC,YAAY,CAAC,GAAG,cAAc,CAAC;YAC3C,CAAC;YAED,YAAY,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;QACpC,CAAC;QAED,OAAO,UAAU,CAAC;IACnB,CAAC,CAAA;IAEY,4BAAa,GAAG,CA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;gBACjB,QAAQ,GAAG,yBAAW,CAAC,YAAY,CAAC,QAAiD,CAAC,CAAC;gBACvF,yBAAW,CAAC,SAAS,CAAC,MAAM,EAAE,QAAiD,CAAC,CAAC;gBACjF,MAAM;YAEP;gBACC,MAAM,IAAI,KAAK,CAAC,sBAAsB,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;QACzD,CAAC;QAGD,MAAM,CAAC,2BAA2B,CAAC,YAAY,EAAE,KAAK,GAAG,QAAQ,CAAC,CAAC;IACpE,CAAC,CAAA;AACF,CAAC,EA5RgB,cAAc,8BAAd,cAAc,QA4R9B","sourcesContent":["import { BinaryReadable } from '../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../byte/byte-writer.class';\nimport { ParserError } from '../../../error/parser.error';\nimport { AbstractBaseProperty, PropertiesMap } from './generic/AbstractBaseProperty';\nimport { ArrayProperty } from './generic/ArrayProperty/ArrayProperty';\nimport { BoolProperty } from './generic/BoolProperty';\nimport { ByteProperty } from './generic/ByteProperty';\nimport { DoubleProperty } from './generic/DoubleProperty';\nimport { EnumProperty } from './generic/EnumProperty';\nimport { FloatProperty } from './generic/FloatProperty';\nimport { Int32Property } from './generic/Int32Property';\nimport { Int64Property } from './generic/Int64Property';\nimport { Int8Property } from './generic/Int8Property';\nimport { MapProperty } from './generic/MapProperty';\nimport { ObjectProperty } from './generic/ObjectProperty';\nimport { SetProperty } from './generic/SetProperty/SetProperty';\nimport { SoftObjectProperty } from './generic/SoftObjectProperty';\nimport { StrProperty } from './generic/StrProperty';\nimport { StructProperty } from './generic/StructProperty';\nimport { TextProperty } from './generic/TextProperty';\nimport { Uint32Property } from './generic/Uint32Property';\nimport { Uint64Property } from './generic/Uint64Property';\nimport { Uint8Property } from './generic/Uint8Property';\n\n\nexport namespace PropertiesList {\n\n\texport const ParseList = (reader: BinaryReadable, buildVersion: number): PropertiesMap => {\n\n\t\tconst properties: PropertiesMap = {};\n\t\tlet propertyName: string = reader.readString();\n\t\twhile (propertyName !== 'None') {\n\t\t\tconst parsedProperty = PropertiesList.ParseSingleProperty(reader, buildVersion, propertyName);\n\n\t\t\t// if it already exists, make it an array.\n\t\t\tif (properties[propertyName]) {\n\t\t\t\tif (!Array.isArray(properties[propertyName])) {\n\t\t\t\t\tproperties[propertyName] = [properties[propertyName] as AbstractBaseProperty];\n\t\t\t\t}\n\t\t\t\t(properties[propertyName] as AbstractBaseProperty[]).push(parsedProperty);\n\t\t\t} else {\n\t\t\t\tproperties[propertyName] = parsedProperty;\n\t\t\t}\n\n\t\t\tpropertyName = reader.readString();\n\t\t}\n\n\t\treturn properties;\n\t}\n\n\texport const SerializeList = (properties: PropertiesMap, writer: ByteWriter, buildVersion: number): void => {\n\t\tfor (const property of Object.values(properties).flatMap(val => Array.isArray(val) ? val : [val])) {\n\t\t\twriter.writeString(property.name);\n\t\t\tPropertiesList.SerializeSingleProperty(writer, property, buildVersion);\n\t\t}\n\t\twriter.writeString('None');\n\t}\n\n\texport const ParseSingleProperty = (reader: BinaryReadable, buildVersion: number, propertyName: string): AbstractBaseProperty => {\n\t\tlet currentProperty: any = {};\n\n\t\t//TODO assign type and index after parsing.\n\t\tconst propertyType = reader.readString();\n\t\tconst binarySize = reader.readInt32();\n\n\t\tconst index = reader.readInt32();\n\t\tconst before = reader.getBufferPosition();\n\n\t\tlet overhead = 0;\n\t\tswitch (propertyType) {\n\t\t\tcase 'BoolProperty':\n\t\t\t\tcurrentProperty = BoolProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = BoolProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ByteProperty':\n\t\t\t\tcurrentProperty = ByteProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = ByteProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'Int8Property':\n\t\t\t\tcurrentProperty = Int8Property.Parse(reader, propertyType, index);\n\t\t\t\toverhead = Int8Property.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\n\t\t\tcase 'UInt8Property':\n\t\t\t\tcurrentProperty = Uint8Property.Parse(reader, propertyType, index);\n\t\t\t\toverhead = Uint8Property.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'IntProperty':\n\t\t\tcase 'Int32Property':\n\t\t\t\tcurrentProperty = Int32Property.Parse(reader, propertyType, index);\n\t\t\t\toverhead = Int32Property.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'UInt32Property':\n\t\t\t\tcurrentProperty = Uint32Property.Parse(reader, propertyType, index);\n\t\t\t\toverhead = Uint32Property.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'Int64Property':\n\t\t\t\tcurrentProperty = Int64Property.Parse(reader, propertyType, index);\n\t\t\t\toverhead = Int64Property.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'UInt64Property':\n\t\t\t\tcurrentProperty = Uint64Property.Parse(reader, propertyType, index);\n\t\t\t\tbreak;\n\n\t\t\tcase 'SingleProperty':\n\t\t\tcase 'FloatProperty':\n\t\t\t\tcurrentProperty = FloatProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = FloatProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'DoubleProperty':\n\t\t\t\tcurrentProperty = DoubleProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = DoubleProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'StrProperty':\n\t\t\tcase 'NameProperty':\n\t\t\t\tcurrentProperty = StrProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = StrProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ObjectProperty':\n\t\t\tcase 'InterfaceProperty':\n\t\t\t\tcurrentProperty = ObjectProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = ObjectProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'SoftObjectProperty':\n\t\t\t\tcurrentProperty = SoftObjectProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = SoftObjectProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'EnumProperty':\n\t\t\t\tcurrentProperty = EnumProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = EnumProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'StructProperty':\n\t\t\t\tcurrentProperty = StructProperty.Parse(reader, propertyType, index, binarySize);\n\t\t\t\toverhead = StructProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ArrayProperty':\n\t\t\t\tcurrentProperty = ArrayProperty.Parse(reader, propertyType, index, binarySize);\n\t\t\t\toverhead = ArrayProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'MapProperty':\n\t\t\t\tcurrentProperty = MapProperty.Parse(reader, propertyName, buildVersion, binarySize);\n\t\t\t\toverhead = MapProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'TextProperty':\n\t\t\t\tcurrentProperty = TextProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = TextProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'SetProperty':\n\t\t\t\tcurrentProperty = SetProperty.Parse(reader, propertyType, index, propertyName);\n\t\t\t\toverhead = SetProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tthrow new Error(`Unimplemented type ${propertyType}`);\n\t\t}\n\n\t\tcurrentProperty.name = propertyName;\n\n\t\tconst readBytes = reader.getBufferPosition() - before - overhead;\n\t\tif (readBytes !== binarySize) {\n\t\t\tconsole.warn(`possibly corrupt. Read ${readBytes} for ${propertyType} ${propertyName}, but ${binarySize} were indicated.`);\n\t\t\tthrow new ParserError('ParserError', `possibly corrupt. Read ${readBytes} bytes for ${propertyType} ${propertyName}, but ${binarySize} bytes were indicated.`);\n\t\t}\n\n\t\treturn currentProperty;\n\t}\n\n\texport const SerializeSingleProperty = (writer: ByteWriter, property: AbstractBaseProperty, buildVersion: number): void => {\n\n\t\twriter.writeString(property.ueType);\n\n\t\t// binary length indicator\n\t\tconst lenIndicator = writer.getBufferPosition();\n\t\twriter.writeInt32(0);\n\n\t\t// write index if it is not 0. Since it normally is.\n\t\twriter.writeInt32(property.index ?? 0);\n\n\t\tconst start = writer.getBufferPosition();\n\t\tlet overhead = 0;\n\t\tswitch (property.ueType) {\n\t\t\tcase 'BoolProperty':\n\t\t\t\toverhead = BoolProperty.CalcOverhead(property as BoolProperty);\n\t\t\t\tBoolProperty.Serialize(writer, property as BoolProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ByteProperty':\n\t\t\t\toverhead = ByteProperty.CalcOverhead(property as ByteProperty);\n\t\t\t\tByteProperty.Serialize(writer, property as ByteProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'Int8Property':\n\t\t\t\toverhead = Int8Property.CalcOverhead(property as Int8Property);\n\t\t\t\tInt8Property.Serialize(writer, property as Int8Property);\n\t\t\t\tbreak;\n\n\t\t\tcase 'UInt8Property':\n\t\t\t\toverhead = Uint8Property.CalcOverhead(property as Uint8Property);\n\t\t\t\tUint8Property.Serialize(writer, property as Uint8Property);\n\t\t\t\tbreak;\n\n\t\t\tcase 'IntProperty':\n\t\t\tcase 'Int32Property':\n\t\t\t\toverhead = Int32Property.CalcOverhead(property as Int32Property);\n\t\t\t\tInt32Property.Serialize(writer, property as Int32Property);\n\t\t\t\tbreak;\n\n\t\t\tcase 'UInt32Property':\n\t\t\t\toverhead = Uint32Property.CalcOverhead(property as Uint32Property);\n\t\t\t\tUint32Property.Serialize(writer, property as Uint32Property);\n\t\t\t\tbreak;\n\n\t\t\tcase 'Int64Property':\n\t\t\t\toverhead = Int64Property.CalcOverhead(property as Int64Property);\n\t\t\t\tInt64Property.Serialize(writer, property as Int64Property);\n\t\t\t\tbreak;\n\n\t\t\tcase 'UInt64PRoperty':\n\t\t\t\toverhead = Uint64Property.CalcOverhead(property as Int64Property);\n\t\t\t\tUint64Property.Serialize(writer, property as Int64Property);\n\t\t\t\tbreak;\n\n\t\t\tcase 'SingleProperty':\n\t\t\tcase 'FloatProperty':\n\t\t\t\toverhead = FloatProperty.CalcOverhead(property as FloatProperty);\n\t\t\t\tFloatProperty.Serialize(writer, property as FloatProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'DoubleProperty':\n\t\t\t\toverhead = DoubleProperty.CalcOverhead(property as DoubleProperty);\n\t\t\t\tDoubleProperty.Serialize(writer, property as DoubleProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'StrProperty':\n\t\t\tcase 'NameProperty':\n\t\t\t\toverhead = StrProperty.CalcOverhead(property as StrProperty);\n\t\t\t\tStrProperty.Serialize(writer, property as StrProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ObjectProperty':\n\t\t\tcase 'InterfaceProperty':\n\t\t\t\toverhead = ObjectProperty.CalcOverhead(property as ObjectProperty);\n\t\t\t\tObjectProperty.Serialize(writer, property as ObjectProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'SoftObjectProperty':\n\t\t\t\toverhead = SoftObjectProperty.CalcOverhead(property as SoftObjectProperty);\n\t\t\t\tSoftObjectProperty.Serialize(writer, property as SoftObjectProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'EnumProperty':\n\t\t\t\toverhead = EnumProperty.CalcOverhead(property as EnumProperty);\n\t\t\t\tEnumProperty.Serialize(writer, property as EnumProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ByteProperty':\n\t\t\t\toverhead = ByteProperty.CalcOverhead(property as ByteProperty);\n\t\t\t\tByteProperty.Serialize(writer, property as ByteProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'StructProperty':\n\t\t\t\toverhead = StructProperty.CalcOverhead(property as StructProperty);\n\t\t\t\tStructProperty.Serialize(writer, property as StructProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ArrayProperty':\n\t\t\t\toverhead = ArrayProperty.CalcOverhead(property as ArrayProperty.AvailableArrayPropertyTypes);\n\t\t\t\tArrayProperty.Serialize(writer, property as ArrayProperty.AvailableArrayPropertyTypes);\n\t\t\t\tbreak;\n\n\t\t\tcase 'MapProperty':\n\t\t\t\toverhead = MapProperty.CalcOverhead(property as MapProperty);\n\t\t\t\tMapProperty.Serialize(writer, property as MapProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'TextProperty':\n\t\t\t\toverhead = TextProperty.CalcOverhead(property as TextProperty);\n\t\t\t\tTextProperty.Serialize(writer, property as TextProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'SetProperty':\n\t\t\t\toverhead = SetProperty.CalcOverhead(property as SetProperty.AvailableSetPropertyTypes);\n\t\t\t\tSetProperty.Serialize(writer, property as SetProperty.AvailableSetPropertyTypes);\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tthrow new Error(`Unimplemented type ${property.type}`);\n\t\t}\n\n\t\t// replace len indicator.\n\t\twriter.writeBinarySizeFromPosition(lenIndicator, start + overhead);\n\t}\n}\n\n"]}
1
+ {"version":3,"file":"PropertiesList.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/property/PropertiesList.ts"],"names":[],"mappings":";;;AAEA,8DAA0D;AAE1D,yEAAsE;AACtE,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAC1D,yDAAsD;AACtD,2DAAwD;AACxD,2DAAwD;AACxD,2DAAwD;AACxD,yDAAsD;AACtD,uDAAoD;AACpD,6DAA0D;AAC1D,mEAAgE;AAChE,qEAAkE;AAClE,uDAAoD;AACpD,6DAA0D;AAC1D,yDAAsD;AACtD,6DAA0D;AAC1D,6DAA0D;AAC1D,2DAAwD;AAGxD,IAAiB,cAAc,CA4R9B;AA5RD,WAAiB,cAAc;IAEjB,wBAAS,GAAG,CAAC,MAAsB,EAA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AwB,CAAC,CAAC;gBAC/D,2BAAY,CAAC,SAAS,CAAC,MAAM,EAAE,QAAwB,CAAC,CAAC;gBACzD,MAAM;YAEP,KAAK,gBAAgB;gBACpB,QAAQ,GAAG,+BAAc,CAAC,YAAY,CAAC,QAA0B,CAAC,CAAC;gBACnE,+BAAc,CAAC,SAAS,CAAC,MAAM,EAAE,QAA0B,CAAC,CAAC;gBAC7D,MAAM;YAEP,KAAK,eAAe;gBACnB,QAAQ,GAAG,6BAAa,CAAC,YAAY,CAAC,QAAqD,CAAC,CAAC;gBAC7F,6BAAa,CAAC,SAAS,CAAC,MAAM,EAAE,QAAqD,CAAC,CAAC;gBACvF,MAAM;YAEP,KAAK,aAAa;gBACjB,QAAQ,GAAG,yBAAW,CAAC,YAAY,CAAC,QAAuB,CAAC,CAAC;gBAC7D,yBAAW,CAAC,SAAS,CAAC,MAAM,EAAE,QAAuB,CAAC,CAAC;gBACvD,MAAM;YAEP,KAAK,cAAc;gBAClB,QAAQ,GAAG,2BAAY,CAAC,YAAY,CAAC,QAAwB,CAAC,CAAC;gBAC/D,2BAAY,CAAC,SAAS,CAAC,MAAM,EAAE,QAAwB,CAAC,CAAC;gBACzD,MAAM;YAEP,KAAK,aAAa;gBACjB,QAAQ,GAAG,yBAAW,CAAC,YAAY,CAAC,QAAiD,CAAC,CAAC;gBACvF,yBAAW,CAAC,SAAS,CAAC,MAAM,EAAE,QAAiD,CAAC,CAAC;gBACjF,MAAM;YAEP;gBACC,MAAM,IAAI,KAAK,CAAC,sBAAsB,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;QACzD,CAAC;QAGD,MAAM,CAAC,2BAA2B,CAAC,YAAY,EAAE,KAAK,GAAG,QAAQ,CAAC,CAAC;IACpE,CAAC,CAAA;AACF,CAAC,EA5RgB,cAAc,8BAAd,cAAc,QA4R9B","sourcesContent":["import { BinaryReadable } from '../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../byte/byte-writer.class';\nimport { ParserError } from '../../../error/parser.error';\nimport { AbstractBaseProperty, PropertiesMap } from './generic/AbstractBaseProperty';\nimport { ArrayProperty } from './generic/ArrayProperty/ArrayProperty';\nimport { BoolProperty } from './generic/BoolProperty';\nimport { ByteProperty } from './generic/ByteProperty';\nimport { DoubleProperty } from './generic/DoubleProperty';\nimport { EnumProperty } from './generic/EnumProperty';\nimport { FloatProperty } from './generic/FloatProperty';\nimport { Int32Property } from './generic/Int32Property';\nimport { Int64Property } from './generic/Int64Property';\nimport { Int8Property } from './generic/Int8Property';\nimport { MapProperty } from './generic/MapProperty';\nimport { ObjectProperty } from './generic/ObjectProperty';\nimport { SetProperty } from './generic/SetProperty/SetProperty';\nimport { SoftObjectProperty } from './generic/SoftObjectProperty';\nimport { StrProperty } from './generic/StrProperty';\nimport { StructProperty } from './generic/StructProperty';\nimport { TextProperty } from './generic/TextProperty';\nimport { Uint32Property } from './generic/Uint32Property';\nimport { Uint64Property } from './generic/Uint64Property';\nimport { Uint8Property } from './generic/Uint8Property';\n\n\nexport namespace PropertiesList {\n\n\texport const ParseList = (reader: BinaryReadable, buildVersion: number): PropertiesMap => {\n\n\t\tconst properties: PropertiesMap = {};\n\t\tlet propertyName: string = reader.readString();\n\t\twhile (propertyName !== 'None') {\n\t\t\tconst parsedProperty = PropertiesList.ParseSingleProperty(reader, buildVersion, propertyName);\n\n\t\t\t// if it already exists, make it an array.\n\t\t\tif (properties[propertyName]) {\n\t\t\t\tif (!Array.isArray(properties[propertyName])) {\n\t\t\t\t\tproperties[propertyName] = [properties[propertyName] as AbstractBaseProperty];\n\t\t\t\t}\n\t\t\t\t(properties[propertyName] as AbstractBaseProperty[]).push(parsedProperty);\n\t\t\t} else {\n\t\t\t\tproperties[propertyName] = parsedProperty;\n\t\t\t}\n\n\t\t\tpropertyName = reader.readString();\n\t\t}\n\n\t\treturn properties;\n\t}\n\n\texport const SerializeList = (properties: PropertiesMap, writer: ByteWriter, buildVersion: number): void => {\n\t\tfor (const property of Object.values(properties).flatMap(val => Array.isArray(val) ? val : [val])) {\n\t\t\twriter.writeString(property.name);\n\t\t\tPropertiesList.SerializeSingleProperty(writer, property, buildVersion);\n\t\t}\n\t\twriter.writeString('None');\n\t}\n\n\texport const ParseSingleProperty = (reader: BinaryReadable, buildVersion: number, propertyName: string): AbstractBaseProperty => {\n\t\tlet currentProperty: any = {};\n\n\t\t//TODO assign type and index after parsing.\n\t\tconst propertyType = reader.readString();\n\t\tconst binarySize = reader.readInt32();\n\n\t\tconst index = reader.readInt32();\n\t\tconst before = reader.getBufferPosition();\n\n\t\tlet overhead = 0;\n\t\tswitch (propertyType) {\n\t\t\tcase 'BoolProperty':\n\t\t\t\tcurrentProperty = BoolProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = BoolProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ByteProperty':\n\t\t\t\tcurrentProperty = ByteProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = ByteProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'Int8Property':\n\t\t\t\tcurrentProperty = Int8Property.Parse(reader, propertyType, index);\n\t\t\t\toverhead = Int8Property.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\n\t\t\tcase 'UInt8Property':\n\t\t\t\tcurrentProperty = Uint8Property.Parse(reader, propertyType, index);\n\t\t\t\toverhead = Uint8Property.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'IntProperty':\n\t\t\tcase 'Int32Property':\n\t\t\t\tcurrentProperty = Int32Property.Parse(reader, propertyType, index);\n\t\t\t\toverhead = Int32Property.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'UInt32Property':\n\t\t\t\tcurrentProperty = Uint32Property.Parse(reader, propertyType, index);\n\t\t\t\toverhead = Uint32Property.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'Int64Property':\n\t\t\t\tcurrentProperty = Int64Property.Parse(reader, propertyType, index);\n\t\t\t\toverhead = Int64Property.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'UInt64Property':\n\t\t\t\tcurrentProperty = Uint64Property.Parse(reader, propertyType, index);\n\t\t\t\tbreak;\n\n\t\t\tcase 'SingleProperty':\n\t\t\tcase 'FloatProperty':\n\t\t\t\tcurrentProperty = FloatProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = FloatProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'DoubleProperty':\n\t\t\t\tcurrentProperty = DoubleProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = DoubleProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'StrProperty':\n\t\t\tcase 'NameProperty':\n\t\t\t\tcurrentProperty = StrProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = StrProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ObjectProperty':\n\t\t\tcase 'InterfaceProperty':\n\t\t\t\tcurrentProperty = ObjectProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = ObjectProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'SoftObjectProperty':\n\t\t\t\tcurrentProperty = SoftObjectProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = SoftObjectProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'EnumProperty':\n\t\t\t\tcurrentProperty = EnumProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = EnumProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'StructProperty':\n\t\t\t\tcurrentProperty = StructProperty.Parse(reader, propertyType, index, binarySize);\n\t\t\t\toverhead = StructProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ArrayProperty':\n\t\t\t\tcurrentProperty = ArrayProperty.Parse(reader, propertyType, index, binarySize);\n\t\t\t\toverhead = ArrayProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'MapProperty':\n\t\t\t\tcurrentProperty = MapProperty.Parse(reader, propertyName, buildVersion, binarySize);\n\t\t\t\toverhead = MapProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'TextProperty':\n\t\t\t\tcurrentProperty = TextProperty.Parse(reader, propertyType, index);\n\t\t\t\toverhead = TextProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'SetProperty':\n\t\t\t\tcurrentProperty = SetProperty.Parse(reader, propertyType, index, propertyName);\n\t\t\t\toverhead = SetProperty.CalcOverhead(currentProperty);\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tthrow new Error(`Unimplemented type ${propertyType}`);\n\t\t}\n\n\t\tcurrentProperty.name = propertyName;\n\n\t\tconst readBytes = reader.getBufferPosition() - before - overhead;\n\t\tif (readBytes !== binarySize) {\n\t\t\tconsole.warn(`possibly corrupt. Read ${readBytes} for ${propertyType} ${propertyName}, but ${binarySize} were indicated.`);\n\t\t\tthrow new ParserError('ParserError', `possibly corrupt. Read ${readBytes} bytes for ${propertyType} ${propertyName}, but ${binarySize} bytes were indicated.`);\n\t\t}\n\n\t\treturn currentProperty;\n\t}\n\n\texport const SerializeSingleProperty = (writer: ByteWriter, property: AbstractBaseProperty, buildVersion: number): void => {\n\n\t\twriter.writeString(property.ueType);\n\n\t\t// binary length indicator\n\t\tconst lenIndicator = writer.getBufferPosition();\n\t\twriter.writeInt32(0);\n\n\t\t// write index if it is not 0. Since it normally is.\n\t\twriter.writeInt32(property.index ?? 0);\n\n\t\tconst start = writer.getBufferPosition();\n\t\tlet overhead = 0;\n\t\tswitch (property.ueType) {\n\t\t\tcase 'BoolProperty':\n\t\t\t\toverhead = BoolProperty.CalcOverhead(property as BoolProperty);\n\t\t\t\tBoolProperty.Serialize(writer, property as BoolProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ByteProperty':\n\t\t\t\toverhead = ByteProperty.CalcOverhead(property as ByteProperty);\n\t\t\t\tByteProperty.Serialize(writer, property as ByteProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'Int8Property':\n\t\t\t\toverhead = Int8Property.CalcOverhead(property as Int8Property);\n\t\t\t\tInt8Property.Serialize(writer, property as Int8Property);\n\t\t\t\tbreak;\n\n\t\t\tcase 'UInt8Property':\n\t\t\t\toverhead = Uint8Property.CalcOverhead(property as Uint8Property);\n\t\t\t\tUint8Property.Serialize(writer, property as Uint8Property);\n\t\t\t\tbreak;\n\n\t\t\tcase 'IntProperty':\n\t\t\tcase 'Int32Property':\n\t\t\t\toverhead = Int32Property.CalcOverhead(property as Int32Property);\n\t\t\t\tInt32Property.Serialize(writer, property as Int32Property);\n\t\t\t\tbreak;\n\n\t\t\tcase 'UInt32Property':\n\t\t\t\toverhead = Uint32Property.CalcOverhead(property as Uint32Property);\n\t\t\t\tUint32Property.Serialize(writer, property as Uint32Property);\n\t\t\t\tbreak;\n\n\t\t\tcase 'Int64Property':\n\t\t\t\toverhead = Int64Property.CalcOverhead(property as Int64Property);\n\t\t\t\tInt64Property.Serialize(writer, property as Int64Property);\n\t\t\t\tbreak;\n\n\t\t\tcase 'UInt64PRoperty':\n\t\t\t\toverhead = Uint64Property.CalcOverhead(property as Uint64Property);\n\t\t\t\tUint64Property.Serialize(writer, property as Uint64Property);\n\t\t\t\tbreak;\n\n\t\t\tcase 'SingleProperty':\n\t\t\tcase 'FloatProperty':\n\t\t\t\toverhead = FloatProperty.CalcOverhead(property as FloatProperty);\n\t\t\t\tFloatProperty.Serialize(writer, property as FloatProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'DoubleProperty':\n\t\t\t\toverhead = DoubleProperty.CalcOverhead(property as DoubleProperty);\n\t\t\t\tDoubleProperty.Serialize(writer, property as DoubleProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'StrProperty':\n\t\t\tcase 'NameProperty':\n\t\t\t\toverhead = StrProperty.CalcOverhead(property as StrProperty);\n\t\t\t\tStrProperty.Serialize(writer, property as StrProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ObjectProperty':\n\t\t\tcase 'InterfaceProperty':\n\t\t\t\toverhead = ObjectProperty.CalcOverhead(property as ObjectProperty);\n\t\t\t\tObjectProperty.Serialize(writer, property as ObjectProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'SoftObjectProperty':\n\t\t\t\toverhead = SoftObjectProperty.CalcOverhead(property as SoftObjectProperty);\n\t\t\t\tSoftObjectProperty.Serialize(writer, property as SoftObjectProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'EnumProperty':\n\t\t\t\toverhead = EnumProperty.CalcOverhead(property as EnumProperty);\n\t\t\t\tEnumProperty.Serialize(writer, property as EnumProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ByteProperty':\n\t\t\t\toverhead = ByteProperty.CalcOverhead(property as ByteProperty);\n\t\t\t\tByteProperty.Serialize(writer, property as ByteProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'StructProperty':\n\t\t\t\toverhead = StructProperty.CalcOverhead(property as StructProperty);\n\t\t\t\tStructProperty.Serialize(writer, property as StructProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ArrayProperty':\n\t\t\t\toverhead = ArrayProperty.CalcOverhead(property as ArrayProperty.AvailableArrayPropertyTypes);\n\t\t\t\tArrayProperty.Serialize(writer, property as ArrayProperty.AvailableArrayPropertyTypes);\n\t\t\t\tbreak;\n\n\t\t\tcase 'MapProperty':\n\t\t\t\toverhead = MapProperty.CalcOverhead(property as MapProperty);\n\t\t\t\tMapProperty.Serialize(writer, property as MapProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'TextProperty':\n\t\t\t\toverhead = TextProperty.CalcOverhead(property as TextProperty);\n\t\t\t\tTextProperty.Serialize(writer, property as TextProperty);\n\t\t\t\tbreak;\n\n\t\t\tcase 'SetProperty':\n\t\t\t\toverhead = SetProperty.CalcOverhead(property as SetProperty.AvailableSetPropertyTypes);\n\t\t\t\tSetProperty.Serialize(writer, property as SetProperty.AvailableSetPropertyTypes);\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tthrow new Error(`Unimplemented type ${property.type}`);\n\t\t}\n\n\t\t// replace len indicator.\n\t\twriter.writeBinarySizeFromPosition(lenIndicator, start + overhead);\n\t}\n}\n\n"]}
@@ -9,13 +9,15 @@ type AbstractBasePropertyOptions = {
9
9
  guidInfo?: GUIDInfo;
10
10
  index?: number;
11
11
  };
12
- export declare abstract class AbstractBaseProperty {
12
+ export type AbstractBaseProperty = {
13
13
  type: string;
14
14
  ueType: string;
15
15
  name: string;
16
- index: number | undefined;
17
- guidInfo: GUIDInfo;
18
- constructor(options: AbstractBasePropertyOptions);
16
+ index?: number;
17
+ guidInfo?: GUIDInfo;
18
+ };
19
+ export declare namespace AbstractBaseProperty {
20
+ const Create: (options: AbstractBasePropertyOptions) => AbstractBaseProperty;
19
21
  }
20
22
  export {};
21
23
  //# sourceMappingURL=AbstractBaseProperty.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractBaseProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAGlD,MAAM,MAAM,aAAa,GAAG;IAC3B,CAAC,IAAI,EAAE,MAAM,GAAG,oBAAoB,GAAG,oBAAoB,EAAE,CAAC;CAC9D,CAAC;AAUF,KAAK,2BAA2B,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,8BAAsB,oBAAoB;IAElC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAM;IAClB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAa;IACtC,QAAQ,EAAE,QAAQ,CAAa;gBAE1B,OAAO,EAAE,2BAA2B;CAahD"}
1
+ {"version":3,"file":"AbstractBaseProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAGlD,MAAM,MAAM,aAAa,GAAG;IAC3B,CAAC,IAAI,EAAE,MAAM,GAAG,oBAAoB,GAAG,oBAAoB,EAAE,CAAC;CAC9D,CAAC;AAUF,KAAK,2BAA2B,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACpB,CAAA;AAED,yBAAiB,oBAAoB,CAAC;IAC9B,MAAM,MAAM,YAAa,2BAA2B,KAAG,oBAS7D,CAAC;CACF"}
@@ -1,23 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AbstractBaseProperty = void 0;
4
- class AbstractBaseProperty {
5
- constructor(options) {
6
- this.name = '';
7
- this.index = undefined;
8
- this.guidInfo = undefined;
9
- this.type = options.type;
10
- this.ueType = options.ueType;
11
- if (options.name !== undefined && options.name !== null) {
12
- this.name = options.name;
13
- }
14
- if (options.index !== undefined && options.index !== null && options.index !== 0) {
15
- this.index = options.index;
16
- }
17
- if (options.guidInfo !== undefined) {
18
- this.guidInfo = options.guidInfo;
19
- }
20
- }
21
- }
22
- exports.AbstractBaseProperty = AbstractBaseProperty;
4
+ var AbstractBaseProperty;
5
+ (function (AbstractBaseProperty) {
6
+ AbstractBaseProperty.Create = (options) => ({
7
+ type: options.type,
8
+ ueType: options.ueType,
9
+ name: (options.name !== undefined && options.name !== null) ? options.name : '',
10
+ ...((options.index !== undefined && options.index !== null && options.index !== 0) ? { index: options.index } : {}),
11
+ ...((options.guidInfo !== undefined) ? { guidInfo: options.guidInfo } : {})
12
+ });
13
+ })(AbstractBaseProperty || (exports.AbstractBaseProperty = AbstractBaseProperty = {}));
23
14
  //# sourceMappingURL=AbstractBaseProperty.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractBaseProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts"],"names":[],"mappings":";;;AAuBA,MAAsB,oBAAoB;IAQzC,YAAY,OAAoC;QAJzC,SAAI,GAAW,EAAE,CAAC;QAClB,UAAK,GAAuB,SAAS,CAAC;QACtC,aAAQ,GAAa,SAAS,CAAC;QAGrC,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QACzB,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;QAC7B,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS,IAAI,OAAO,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;YACzD,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QAC1B,CAAC;QACD,IAAI,OAAO,CAAC,KAAK,KAAK,SAAS,IAAI,OAAO,CAAC,KAAK,KAAK,IAAI,IAAI,OAAO,CAAC,KAAK,KAAK,CAAC,EAAE,CAAC;YAClF,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAC5B,CAAC;QACD,IAAI,OAAO,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;YACpC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,CAAC;IACF,CAAC;CACD;AArBD,oDAqBC","sourcesContent":["import { GUIDInfo } from '../../structs/GUIDInfo';\n\n\nexport type PropertiesMap = {\n\t[name: string]: AbstractBaseProperty | AbstractBaseProperty[];\n};\n\n\n/**\n * @type denotes our internal type.\n * @ueType denotes the type like Unreal Engine calls it, like IntProperty\n * @name property name\n * @guidInfo denotes the GUID info of this property, i think there never was one observed. they always were not defined.\n * @index index of a property, in case it is part of an array.\n */\ntype AbstractBasePropertyOptions = {\n\ttype: string;\n\tueType: string;\n\tname?: string;\n\tguidInfo?: GUIDInfo;\n\tindex?: number;\n};\n\nexport abstract class AbstractBaseProperty {\n\n\tpublic type: string;\n\tpublic ueType: string;\n\tpublic name: string = '';\n\tpublic index: number | undefined = undefined;\n\tpublic guidInfo: GUIDInfo = undefined;\n\n\tconstructor(options: AbstractBasePropertyOptions) {\n\t\tthis.type = options.type;\n\t\tthis.ueType = options.ueType;\n\t\tif (options.name !== undefined && options.name !== null) {\n\t\t\tthis.name = options.name;\n\t\t}\n\t\tif (options.index !== undefined && options.index !== null && options.index !== 0) {\n\t\t\tthis.index = options.index;\n\t\t}\n\t\tif (options.guidInfo !== undefined) {\n\t\t\tthis.guidInfo = options.guidInfo;\n\t\t}\n\t}\n}"]}
1
+ {"version":3,"file":"AbstractBaseProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts"],"names":[],"mappings":";;;AA+BA,IAAiB,oBAAoB,CAWpC;AAXD,WAAiB,oBAAoB;IACvB,2BAAM,GAAG,CAAC,OAAoC,EAAwB,EAAE,CAAC,CACrF;QACC,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,IAAI,EAAE,CAAC,OAAO,CAAC,IAAI,KAAK,SAAS,IAAI,OAAO,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;QAC/E,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,KAAK,SAAS,IAAI,OAAO,CAAC,KAAK,KAAK,IAAI,IAAI,OAAO,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACnH,GAAG,CAAC,CAAC,OAAO,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAG5E,CAAA,CAAC;AACH,CAAC,EAXgB,oBAAoB,oCAApB,oBAAoB,QAWpC","sourcesContent":["import { GUIDInfo } from '../../structs/GUIDInfo';\n\n\nexport type PropertiesMap = {\n\t[name: string]: AbstractBaseProperty | AbstractBaseProperty[];\n};\n\n\n/**\n * @type denotes the parser's internal type.\n * @ueType denotes the type like Unreal Engine calls it, like IntProperty. Several UE Types can be mapped to a single type in the parsers view.\n * @name property name\n * @guidInfo denotes the GUID info of this property, i think there never was one observed. they always were not defined.\n * @index index of a property, in case it is part of an array.\n */\ntype AbstractBasePropertyOptions = {\n\ttype: string;\n\tueType: string;\n\tname?: string;\n\tguidInfo?: GUIDInfo;\n\tindex?: number;\n};\n\nexport type AbstractBaseProperty = {\n\ttype: string;\n\tueType: string;\n\tname: string;\n\tindex?: number;\n\tguidInfo?: GUIDInfo;\n}\n\nexport namespace AbstractBaseProperty {\n\texport const Create = (options: AbstractBasePropertyOptions): AbstractBaseProperty => (\n\t\t{\n\t\t\ttype: options.type,\n\t\t\tueType: options.ueType,\n\t\t\tname: (options.name !== undefined && options.name !== null) ? options.name : '',\n\t\t\t...((options.index !== undefined && options.index !== null && options.index !== 0) ? { index: options.index } : {}),\n\t\t\t...((options.guidInfo !== undefined) ? { guidInfo: options.guidInfo } : {})\n\n\t\t} satisfies AbstractBaseProperty\n\t);\n}"]}
@@ -1 +1 @@
1
- {"version":3,"file":"BoolArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,mBAAmB,aAAc,GAAG,KAAG,QAAQ,IAAI,iBAAsF,CAAC;AAEvJ,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG;IACnD,IAAI,EAAE,mBAAmB,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,OAAO,EAAE,CAAC;CACrB,CAAC;AAEF,yBAAiB,iBAAiB,CAAC;IAExB,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,iBAWxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,iBAAiB,KAAG,IAE3E,CAAA;CACJ"}
1
+ {"version":3,"file":"BoolArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,mBAAmB,aAAc,GAAG,KAAG,QAAQ,IAAI,iBAAsF,CAAC;AAEvJ,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG;IACnD,IAAI,EAAE,mBAAmB,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,OAAO,EAAE,CAAC;CACrB,CAAC;AAEF,yBAAiB,iBAAiB,CAAC;IAExB,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,iBASxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,iBAAiB,KAAG,IAE3E,CAAA;CACJ"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BoolArrayProperty = exports.isBoolArrayProperty = void 0;
4
+ const AbstractBaseProperty_1 = require("../AbstractBaseProperty");
4
5
  const BoolProperty_1 = require("../BoolProperty");
5
6
  const isBoolArrayProperty = (property) => !Array.isArray(property) && property.type === 'BoolArrayProperty';
6
7
  exports.isBoolArrayProperty = isBoolArrayProperty;
@@ -9,13 +10,10 @@ var BoolArrayProperty;
9
10
  BoolArrayProperty.Parse = (reader, elementCount, subtype, ueType, index = 0) => {
10
11
  const values = new Array(elementCount).fill(0).map(() => BoolProperty_1.BoolProperty.ReadValue(reader));
11
12
  return {
13
+ ...AbstractBaseProperty_1.AbstractBaseProperty.Create({ index, ueType, type: '' }),
12
14
  type: 'BoolArrayProperty',
13
- index,
14
- ueType,
15
15
  subtype,
16
- values,
17
- guidInfo: undefined,
18
- name: ''
16
+ values
19
17
  };
20
18
  };
21
19
  BoolArrayProperty.Serialize = (writer, property) => {
@@ -1 +1 @@
1
- {"version":3,"file":"BoolArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.ts"],"names":[],"mappings":";;;AAGA,kDAA+C;AAExC,MAAM,mBAAmB,GAAG,CAAC,QAAa,EAAiC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,mBAAmB,CAAC;AAA1I,QAAA,mBAAmB,uBAAuH;AAQvJ,IAAiB,iBAAiB,CAkBjC;AAlBD,WAAiB,iBAAiB;IAEjB,uBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAqB,EAAE;QACzI,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,2BAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QACzF,OAAO;YACH,IAAI,EAAE,mBAAmB;YACzB,KAAK;YACL,MAAM;YACN,OAAO;YACP,MAAM;YACN,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,EAAE;SACiB,CAAC;IAClC,CAAC,CAAA;IAEY,2BAAS,GAAG,CAAC,MAAkB,EAAE,QAA2B,EAAQ,EAAE;QAC/E,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,2BAAY,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IACjF,CAAC,CAAA;AACL,CAAC,EAlBgB,iBAAiB,iCAAjB,iBAAiB,QAkBjC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { BoolProperty } from '../BoolProperty';\n\nexport const isBoolArrayProperty = (property: any): property is BoolArrayProperty => !Array.isArray(property) && property.type === 'BoolArrayProperty';\n\nexport type BoolArrayProperty = AbstractBaseProperty & {\n type: 'BoolArrayProperty';\n subtype: string;\n values: boolean[];\n};\n\nexport namespace BoolArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): BoolArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => BoolProperty.ReadValue(reader));\n return {\n type: 'BoolArrayProperty',\n index,\n ueType,\n subtype,\n values,\n guidInfo: undefined,\n name: ''\n } satisfies BoolArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: BoolArrayProperty): void => {\n property.values.forEach(value => BoolProperty.SerializeValue(writer, value));\n }\n}"]}
1
+ {"version":3,"file":"BoolArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.ts"],"names":[],"mappings":";;;AAEA,kEAA+D;AAC/D,kDAA+C;AAExC,MAAM,mBAAmB,GAAG,CAAC,QAAa,EAAiC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,mBAAmB,CAAC;AAA1I,QAAA,mBAAmB,uBAAuH;AAQvJ,IAAiB,iBAAiB,CAgBjC;AAhBD,WAAiB,iBAAiB;IAEjB,uBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAqB,EAAE;QACzI,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,2BAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAEzF,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YAC3D,IAAI,EAAE,mBAAmB;YACzB,OAAO;YACP,MAAM;SACmB,CAAC;IAClC,CAAC,CAAA;IAEY,2BAAS,GAAG,CAAC,MAAkB,EAAE,QAA2B,EAAQ,EAAE;QAC/E,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,2BAAY,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IACjF,CAAC,CAAA;AACL,CAAC,EAhBgB,iBAAiB,iCAAjB,iBAAiB,QAgBjC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { BoolProperty } from '../BoolProperty';\n\nexport const isBoolArrayProperty = (property: any): property is BoolArrayProperty => !Array.isArray(property) && property.type === 'BoolArrayProperty';\n\nexport type BoolArrayProperty = AbstractBaseProperty & {\n type: 'BoolArrayProperty';\n subtype: string;\n values: boolean[];\n};\n\nexport namespace BoolArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): BoolArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => BoolProperty.ReadValue(reader));\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, type: '' }),\n type: 'BoolArrayProperty',\n subtype,\n values\n } satisfies BoolArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: BoolArrayProperty): void => {\n property.values.forEach(value => BoolProperty.SerializeValue(writer, value));\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ByteArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,mBAAmB,aAAc,GAAG,KAAG,QAAQ,IAAI,iBAAsF,CAAC;AAEvJ,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG;IACnD,IAAI,EAAE,mBAAmB,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,yBAAiB,iBAAiB,CAAC;IAExB,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,iBAYxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,iBAAiB,KAAG,IAE3E,CAAA;CACJ"}
1
+ {"version":3,"file":"ByteArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,mBAAmB,aAAc,GAAG,KAAG,QAAQ,IAAI,iBAAsF,CAAC;AAEvJ,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG;IACnD,IAAI,EAAE,mBAAmB,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,yBAAiB,iBAAiB,CAAC;IAExB,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,iBASxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,iBAAiB,KAAG,IAE3E,CAAA;CACJ"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ByteArrayProperty = exports.isByteArrayProperty = void 0;
4
+ const AbstractBaseProperty_1 = require("../AbstractBaseProperty");
4
5
  const ByteProperty_1 = require("../ByteProperty");
5
6
  const isByteArrayProperty = (property) => !Array.isArray(property) && property.type === 'ByteArrayProperty';
6
7
  exports.isByteArrayProperty = isByteArrayProperty;
@@ -9,13 +10,10 @@ var ByteArrayProperty;
9
10
  ByteArrayProperty.Parse = (reader, elementCount, subtype, ueType, index = 0) => {
10
11
  const values = new Array(elementCount).fill(0).map(() => ByteProperty_1.ByteProperty.ReadValue(reader));
11
12
  return {
13
+ ...AbstractBaseProperty_1.AbstractBaseProperty.Create({ index, ueType, type: '' }),
12
14
  type: 'ByteArrayProperty',
13
- index,
14
- ueType,
15
15
  subtype,
16
- values,
17
- guidInfo: undefined,
18
- name: ''
16
+ values
19
17
  };
20
18
  };
21
19
  ByteArrayProperty.Serialize = (writer, property) => {
@@ -1 +1 @@
1
- {"version":3,"file":"ByteArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.ts"],"names":[],"mappings":";;;AAGA,kDAA+C;AAExC,MAAM,mBAAmB,GAAG,CAAC,QAAa,EAAiC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,mBAAmB,CAAC;AAA1I,QAAA,mBAAmB,uBAAuH;AAQvJ,IAAiB,iBAAiB,CAmBjC;AAnBD,WAAiB,iBAAiB;IAEjB,uBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAqB,EAAE;QACzI,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,2BAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAEzF,OAAO;YACH,IAAI,EAAE,mBAAmB;YACzB,KAAK;YACL,MAAM;YACN,OAAO;YACP,MAAM;YACN,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,EAAE;SACiB,CAAC;IAClC,CAAC,CAAA;IAEY,2BAAS,GAAG,CAAC,MAAkB,EAAE,QAA2B,EAAQ,EAAE;QAC/E,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,2BAAY,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IACjF,CAAC,CAAA;AACL,CAAC,EAnBgB,iBAAiB,iCAAjB,iBAAiB,QAmBjC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { ByteProperty } from '../ByteProperty';\n\nexport const isByteArrayProperty = (property: any): property is ByteArrayProperty => !Array.isArray(property) && property.type === 'ByteArrayProperty';\n\nexport type ByteArrayProperty = AbstractBaseProperty & {\n type: 'ByteArrayProperty';\n subtype: string;\n values: number[];\n};\n\nexport namespace ByteArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): ByteArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => ByteProperty.ReadValue(reader));\n\n return {\n type: 'ByteArrayProperty',\n index,\n ueType,\n subtype,\n values,\n guidInfo: undefined,\n name: ''\n } satisfies ByteArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: ByteArrayProperty): void => {\n property.values.forEach(value => ByteProperty.SerializeValue(writer, value));\n }\n}\n"]}
1
+ {"version":3,"file":"ByteArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.ts"],"names":[],"mappings":";;;AAEA,kEAA+D;AAC/D,kDAA+C;AAExC,MAAM,mBAAmB,GAAG,CAAC,QAAa,EAAiC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,mBAAmB,CAAC;AAA1I,QAAA,mBAAmB,uBAAuH;AAQvJ,IAAiB,iBAAiB,CAgBjC;AAhBD,WAAiB,iBAAiB;IAEjB,uBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAqB,EAAE;QACzI,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,2BAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAEzF,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YAC3D,IAAI,EAAE,mBAAmB;YACzB,OAAO;YACP,MAAM;SACmB,CAAC;IAClC,CAAC,CAAA;IAEY,2BAAS,GAAG,CAAC,MAAkB,EAAE,QAA2B,EAAQ,EAAE;QAC/E,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,2BAAY,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IACjF,CAAC,CAAA;AACL,CAAC,EAhBgB,iBAAiB,iCAAjB,iBAAiB,QAgBjC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { ByteProperty } from '../ByteProperty';\n\nexport const isByteArrayProperty = (property: any): property is ByteArrayProperty => !Array.isArray(property) && property.type === 'ByteArrayProperty';\n\nexport type ByteArrayProperty = AbstractBaseProperty & {\n type: 'ByteArrayProperty';\n subtype: string;\n values: number[];\n};\n\nexport namespace ByteArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): ByteArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => ByteProperty.ReadValue(reader));\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, type: '' }),\n type: 'ByteArrayProperty',\n subtype,\n values\n } satisfies ByteArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: ByteArrayProperty): void => {\n property.values.forEach(value => ByteProperty.SerializeValue(writer, value));\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"DoubleArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,qBAAqB,aAAc,GAAG,KAAG,QAAQ,IAAI,mBAA0F,CAAC;AAE7J,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,GAAG;IACrD,IAAI,EAAE,qBAAqB,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,yBAAiB,mBAAmB,CAAC;IAE1B,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,mBAWxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,mBAAmB,KAAG,IAE7E,CAAA;CACJ"}
1
+ {"version":3,"file":"DoubleArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,qBAAqB,aAAc,GAAG,KAAG,QAAQ,IAAI,mBAA0F,CAAC;AAE7J,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,GAAG;IACrD,IAAI,EAAE,qBAAqB,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,yBAAiB,mBAAmB,CAAC;IAE1B,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,mBASxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,mBAAmB,KAAG,IAE7E,CAAA;CACJ"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DoubleArrayProperty = exports.isDoubleArrayProperty = void 0;
4
+ const AbstractBaseProperty_1 = require("../AbstractBaseProperty");
4
5
  const DoubleProperty_1 = require("../DoubleProperty");
5
6
  const isDoubleArrayProperty = (property) => !Array.isArray(property) && property.type === 'DoubleArrayProperty';
6
7
  exports.isDoubleArrayProperty = isDoubleArrayProperty;
@@ -9,13 +10,10 @@ var DoubleArrayProperty;
9
10
  DoubleArrayProperty.Parse = (reader, elementCount, subtype, ueType, index = 0) => {
10
11
  const values = new Array(elementCount).fill(0).map(() => DoubleProperty_1.DoubleProperty.ReadValue(reader));
11
12
  return {
13
+ ...AbstractBaseProperty_1.AbstractBaseProperty.Create({ index, ueType, type: '' }),
12
14
  type: 'DoubleArrayProperty',
13
- index,
14
- ueType,
15
15
  subtype,
16
- values,
17
- guidInfo: undefined,
18
- name: ''
16
+ values
19
17
  };
20
18
  };
21
19
  DoubleArrayProperty.Serialize = (writer, property) => {
@@ -1 +1 @@
1
- {"version":3,"file":"DoubleArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.ts"],"names":[],"mappings":";;;AAGA,sDAAmD;AAE5C,MAAM,qBAAqB,GAAG,CAAC,QAAa,EAAmC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,qBAAqB,CAAC;AAAhJ,QAAA,qBAAqB,yBAA2H;AAQ7J,IAAiB,mBAAmB,CAkBnC;AAlBD,WAAiB,mBAAmB;IAEnB,yBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAuB,EAAE;QAC3I,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,+BAAc,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAC3F,OAAO;YACH,IAAI,EAAE,qBAAqB;YAC3B,KAAK;YACL,MAAM;YACN,OAAO;YACP,MAAM;YACN,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,EAAE;SACmB,CAAC;IACpC,CAAC,CAAA;IAEY,6BAAS,GAAG,CAAC,MAAkB,EAAE,QAA6B,EAAQ,EAAE;QACjF,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,+BAAc,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IACnF,CAAC,CAAA;AACL,CAAC,EAlBgB,mBAAmB,mCAAnB,mBAAmB,QAkBnC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { DoubleProperty } from '../DoubleProperty';\n\nexport const isDoubleArrayProperty = (property: any): property is DoubleArrayProperty => !Array.isArray(property) && property.type === 'DoubleArrayProperty';\n\nexport type DoubleArrayProperty = AbstractBaseProperty & {\n type: 'DoubleArrayProperty';\n subtype: string;\n values: number[];\n};\n\nexport namespace DoubleArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): DoubleArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => DoubleProperty.ReadValue(reader));\n return {\n type: 'DoubleArrayProperty',\n index,\n ueType,\n subtype,\n values,\n guidInfo: undefined,\n name: ''\n } satisfies DoubleArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: DoubleArrayProperty): void => {\n property.values.forEach(value => DoubleProperty.SerializeValue(writer, value));\n }\n}\n"]}
1
+ {"version":3,"file":"DoubleArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.ts"],"names":[],"mappings":";;;AAEA,kEAA+D;AAC/D,sDAAmD;AAE5C,MAAM,qBAAqB,GAAG,CAAC,QAAa,EAAmC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,qBAAqB,CAAC;AAAhJ,QAAA,qBAAqB,yBAA2H;AAQ7J,IAAiB,mBAAmB,CAgBnC;AAhBD,WAAiB,mBAAmB;IAEnB,yBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAuB,EAAE;QAC3I,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,+BAAc,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAE3F,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YAC3D,IAAI,EAAE,qBAAqB;YAC3B,OAAO;YACP,MAAM;SACqB,CAAC;IACpC,CAAC,CAAA;IAEY,6BAAS,GAAG,CAAC,MAAkB,EAAE,QAA6B,EAAQ,EAAE;QACjF,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,+BAAc,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IACnF,CAAC,CAAA;AACL,CAAC,EAhBgB,mBAAmB,mCAAnB,mBAAmB,QAgBnC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { DoubleProperty } from '../DoubleProperty';\n\nexport const isDoubleArrayProperty = (property: any): property is DoubleArrayProperty => !Array.isArray(property) && property.type === 'DoubleArrayProperty';\n\nexport type DoubleArrayProperty = AbstractBaseProperty & {\n type: 'DoubleArrayProperty';\n subtype: string;\n values: number[];\n};\n\nexport namespace DoubleArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): DoubleArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => DoubleProperty.ReadValue(reader));\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, type: '' }),\n type: 'DoubleArrayProperty',\n subtype,\n values\n } satisfies DoubleArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: DoubleArrayProperty): void => {\n property.values.forEach(value => DoubleProperty.SerializeValue(writer, value));\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"EnumArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,mBAAmB,aAAc,GAAG,KAAG,QAAQ,IAAI,iBAAsF,CAAC;AAEvJ,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG;IACnD,IAAI,EAAE,mBAAmB,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,yBAAiB,iBAAiB,CAAC;IAExB,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,iBAWxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,iBAAiB,KAAG,IAE3E,CAAA;CACJ"}
1
+ {"version":3,"file":"EnumArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,mBAAmB,aAAc,GAAG,KAAG,QAAQ,IAAI,iBAAsF,CAAC;AAEvJ,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG;IACnD,IAAI,EAAE,mBAAmB,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,yBAAiB,iBAAiB,CAAC;IAExB,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,iBASxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,iBAAiB,KAAG,IAE3E,CAAA;CACJ"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EnumArrayProperty = exports.isEnumArrayProperty = void 0;
4
+ const AbstractBaseProperty_1 = require("../AbstractBaseProperty");
4
5
  const EnumProperty_1 = require("../EnumProperty");
5
6
  const isEnumArrayProperty = (property) => !Array.isArray(property) && property.type === 'EnumArrayProperty';
6
7
  exports.isEnumArrayProperty = isEnumArrayProperty;
@@ -9,13 +10,10 @@ var EnumArrayProperty;
9
10
  EnumArrayProperty.Parse = (reader, elementCount, subtype, ueType, index = 0) => {
10
11
  const values = new Array(elementCount).fill(0).map(() => EnumProperty_1.EnumProperty.ReadValue(reader));
11
12
  return {
13
+ ...AbstractBaseProperty_1.AbstractBaseProperty.Create({ index, ueType, type: '' }),
12
14
  type: 'EnumArrayProperty',
13
- index,
14
- ueType,
15
15
  subtype,
16
- values,
17
- guidInfo: undefined,
18
- name: ''
16
+ values
19
17
  };
20
18
  };
21
19
  EnumArrayProperty.Serialize = (writer, property) => {
@@ -1 +1 @@
1
- {"version":3,"file":"EnumArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.ts"],"names":[],"mappings":";;;AAGA,kDAA+C;AAExC,MAAM,mBAAmB,GAAG,CAAC,QAAa,EAAiC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,mBAAmB,CAAC;AAA1I,QAAA,mBAAmB,uBAAuH;AAQvJ,IAAiB,iBAAiB,CAkBjC;AAlBD,WAAiB,iBAAiB;IAEjB,uBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAqB,EAAE;QACzI,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,2BAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QACzF,OAAO;YACH,IAAI,EAAE,mBAAmB;YACzB,KAAK;YACL,MAAM;YACN,OAAO;YACP,MAAM;YACN,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,EAAE;SACiB,CAAC;IAClC,CAAC,CAAA;IAEY,2BAAS,GAAG,CAAC,MAAkB,EAAE,QAA2B,EAAQ,EAAE;QAC/E,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,2BAAY,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IACjF,CAAC,CAAA;AACL,CAAC,EAlBgB,iBAAiB,iCAAjB,iBAAiB,QAkBjC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { EnumProperty } from '../EnumProperty';\n\nexport const isEnumArrayProperty = (property: any): property is EnumArrayProperty => !Array.isArray(property) && property.type === 'EnumArrayProperty';\n\nexport type EnumArrayProperty = AbstractBaseProperty & {\n type: 'EnumArrayProperty';\n subtype: string;\n values: string[];\n};\n\nexport namespace EnumArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): EnumArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => EnumProperty.ReadValue(reader));\n return {\n type: 'EnumArrayProperty',\n index,\n ueType,\n subtype,\n values,\n guidInfo: undefined,\n name: ''\n } satisfies EnumArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: EnumArrayProperty): void => {\n property.values.forEach(value => EnumProperty.SerializeValue(writer, value));\n }\n}\n"]}
1
+ {"version":3,"file":"EnumArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.ts"],"names":[],"mappings":";;;AAEA,kEAA+D;AAC/D,kDAA+C;AAExC,MAAM,mBAAmB,GAAG,CAAC,QAAa,EAAiC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,mBAAmB,CAAC;AAA1I,QAAA,mBAAmB,uBAAuH;AAQvJ,IAAiB,iBAAiB,CAgBjC;AAhBD,WAAiB,iBAAiB;IAEjB,uBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAqB,EAAE;QACzI,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,2BAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAEzF,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YAC3D,IAAI,EAAE,mBAAmB;YACzB,OAAO;YACP,MAAM;SACmB,CAAC;IAClC,CAAC,CAAA;IAEY,2BAAS,GAAG,CAAC,MAAkB,EAAE,QAA2B,EAAQ,EAAE;QAC/E,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,2BAAY,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IACjF,CAAC,CAAA;AACL,CAAC,EAhBgB,iBAAiB,iCAAjB,iBAAiB,QAgBjC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { EnumProperty } from '../EnumProperty';\n\nexport const isEnumArrayProperty = (property: any): property is EnumArrayProperty => !Array.isArray(property) && property.type === 'EnumArrayProperty';\n\nexport type EnumArrayProperty = AbstractBaseProperty & {\n type: 'EnumArrayProperty';\n subtype: string;\n values: string[];\n};\n\nexport namespace EnumArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): EnumArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => EnumProperty.ReadValue(reader));\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, type: '' }),\n type: 'EnumArrayProperty',\n subtype,\n values\n } satisfies EnumArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: EnumArrayProperty): void => {\n property.values.forEach(value => EnumProperty.SerializeValue(writer, value));\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"FloatArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,oBAAoB,aAAc,GAAG,KAAG,QAAQ,IAAI,kBAAwF,CAAC;AAE1J,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG;IACpD,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,yBAAiB,kBAAkB,CAAC;IAEzB,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,kBAYxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,kBAAkB,KAAG,IAE5E,CAAA;CACJ"}
1
+ {"version":3,"file":"FloatArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,oBAAoB,aAAc,GAAG,KAAG,QAAQ,IAAI,kBAAwF,CAAC;AAE1J,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG;IACpD,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,yBAAiB,kBAAkB,CAAC;IAEzB,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,kBASxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,kBAAkB,KAAG,IAE5E,CAAA;CACJ"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FloatArrayProperty = exports.isFloatArrayProperty = void 0;
4
+ const AbstractBaseProperty_1 = require("../AbstractBaseProperty");
4
5
  const FloatProperty_1 = require("../FloatProperty");
5
6
  const isFloatArrayProperty = (property) => !Array.isArray(property) && property.type === 'FloatArrayProperty';
6
7
  exports.isFloatArrayProperty = isFloatArrayProperty;
@@ -9,13 +10,10 @@ var FloatArrayProperty;
9
10
  FloatArrayProperty.Parse = (reader, elementCount, subtype, ueType, index = 0) => {
10
11
  const values = new Array(elementCount).fill(0).map(() => FloatProperty_1.FloatProperty.ReadValue(reader));
11
12
  return {
13
+ ...AbstractBaseProperty_1.AbstractBaseProperty.Create({ index, ueType, type: '' }),
12
14
  type: 'FloatArrayProperty',
13
- index,
14
- ueType,
15
15
  subtype,
16
- values,
17
- guidInfo: undefined,
18
- name: ''
16
+ values
19
17
  };
20
18
  };
21
19
  FloatArrayProperty.Serialize = (writer, property) => {
@@ -1 +1 @@
1
- {"version":3,"file":"FloatArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.ts"],"names":[],"mappings":";;;AAGA,oDAAiD;AAE1C,MAAM,oBAAoB,GAAG,CAAC,QAAa,EAAkC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,oBAAoB,CAAC;AAA7I,QAAA,oBAAoB,wBAAyH;AAQ1J,IAAiB,kBAAkB,CAmBlC;AAnBD,WAAiB,kBAAkB;IAElB,wBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAsB,EAAE;QAC1I,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,6BAAa,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAE1F,OAAO;YACH,IAAI,EAAE,oBAAoB;YAC1B,KAAK;YACL,MAAM;YACN,OAAO;YACP,MAAM;YACN,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,EAAE;SACkB,CAAC;IACnC,CAAC,CAAA;IAEY,4BAAS,GAAG,CAAC,MAAkB,EAAE,QAA4B,EAAQ,EAAE;QAChF,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,6BAAa,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IAClF,CAAC,CAAA;AACL,CAAC,EAnBgB,kBAAkB,kCAAlB,kBAAkB,QAmBlC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { FloatProperty } from '../FloatProperty';\n\nexport const isFloatArrayProperty = (property: any): property is FloatArrayProperty => !Array.isArray(property) && property.type === 'FloatArrayProperty';\n\nexport type FloatArrayProperty = AbstractBaseProperty & {\n type: 'FloatArrayProperty';\n subtype: string;\n values: number[];\n};\n\nexport namespace FloatArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): FloatArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => FloatProperty.ReadValue(reader));\n\n return {\n type: 'FloatArrayProperty',\n index,\n ueType,\n subtype,\n values,\n guidInfo: undefined,\n name: ''\n } satisfies FloatArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: FloatArrayProperty): void => {\n property.values.forEach(value => FloatProperty.SerializeValue(writer, value));\n }\n}\n"]}
1
+ {"version":3,"file":"FloatArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.ts"],"names":[],"mappings":";;;AAEA,kEAA+D;AAC/D,oDAAiD;AAE1C,MAAM,oBAAoB,GAAG,CAAC,QAAa,EAAkC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,oBAAoB,CAAC;AAA7I,QAAA,oBAAoB,wBAAyH;AAQ1J,IAAiB,kBAAkB,CAgBlC;AAhBD,WAAiB,kBAAkB;IAElB,wBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAsB,EAAE;QAC1I,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,6BAAa,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAE1F,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YAC3D,IAAI,EAAE,oBAAoB;YAC1B,OAAO;YACP,MAAM;SACoB,CAAC;IACnC,CAAC,CAAA;IAEY,4BAAS,GAAG,CAAC,MAAkB,EAAE,QAA4B,EAAQ,EAAE;QAChF,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,6BAAa,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IAClF,CAAC,CAAA;AACL,CAAC,EAhBgB,kBAAkB,kCAAlB,kBAAkB,QAgBlC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { FloatProperty } from '../FloatProperty';\n\nexport const isFloatArrayProperty = (property: any): property is FloatArrayProperty => !Array.isArray(property) && property.type === 'FloatArrayProperty';\n\nexport type FloatArrayProperty = AbstractBaseProperty & {\n type: 'FloatArrayProperty';\n subtype: string;\n values: number[];\n};\n\nexport namespace FloatArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): FloatArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => FloatProperty.ReadValue(reader));\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, type: '' }),\n type: 'FloatArrayProperty',\n subtype,\n values\n } satisfies FloatArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: FloatArrayProperty): void => {\n property.values.forEach(value => FloatProperty.SerializeValue(writer, value));\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Int32ArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,oBAAoB,aAAc,GAAG,KAAG,QAAQ,IAAI,kBAAwF,CAAC;AAE1J,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG;IACpD,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,yBAAiB,kBAAkB,CAAC;IAEzB,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,kBAWxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,kBAAkB,KAAG,IAE5E,CAAA;CACJ"}
1
+ {"version":3,"file":"Int32ArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,oBAAoB,aAAc,GAAG,KAAG,QAAQ,IAAI,kBAAwF,CAAC;AAE1J,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG;IACpD,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,yBAAiB,kBAAkB,CAAC;IAEzB,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,kBASxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,kBAAkB,KAAG,IAE5E,CAAA;CACJ"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Int32ArrayProperty = exports.isInt32ArrayProperty = void 0;
4
+ const AbstractBaseProperty_1 = require("../AbstractBaseProperty");
4
5
  const Int32Property_1 = require("../Int32Property");
5
6
  const isInt32ArrayProperty = (property) => !Array.isArray(property) && property.type === 'Int32ArrayProperty';
6
7
  exports.isInt32ArrayProperty = isInt32ArrayProperty;
@@ -9,13 +10,10 @@ var Int32ArrayProperty;
9
10
  Int32ArrayProperty.Parse = (reader, elementCount, subtype, ueType, index = 0) => {
10
11
  const values = new Array(elementCount).fill(0).map(() => Int32Property_1.Int32Property.ReadValue(reader));
11
12
  return {
13
+ ...AbstractBaseProperty_1.AbstractBaseProperty.Create({ index, ueType, type: '' }),
12
14
  type: 'Int32ArrayProperty',
13
- index,
14
- ueType,
15
15
  subtype,
16
- values,
17
- guidInfo: undefined,
18
- name: ''
16
+ values
19
17
  };
20
18
  };
21
19
  Int32ArrayProperty.Serialize = (writer, property) => {
@@ -1 +1 @@
1
- {"version":3,"file":"Int32ArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.ts"],"names":[],"mappings":";;;AAGA,oDAAiD;AAE1C,MAAM,oBAAoB,GAAG,CAAC,QAAa,EAAkC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,oBAAoB,CAAC;AAA7I,QAAA,oBAAoB,wBAAyH;AAQ1J,IAAiB,kBAAkB,CAkBlC;AAlBD,WAAiB,kBAAkB;IAElB,wBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAsB,EAAE;QAC1I,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,6BAAa,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAC1F,OAAO;YACH,IAAI,EAAE,oBAAoB;YAC1B,KAAK;YACL,MAAM;YACN,OAAO;YACP,MAAM;YACN,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,EAAE;SACkB,CAAC;IACnC,CAAC,CAAA;IAEY,4BAAS,GAAG,CAAC,MAAkB,EAAE,QAA4B,EAAQ,EAAE;QAChF,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,6BAAa,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IAClF,CAAC,CAAA;AACL,CAAC,EAlBgB,kBAAkB,kCAAlB,kBAAkB,QAkBlC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { Int32Property } from '../Int32Property';\n\nexport const isInt32ArrayProperty = (property: any): property is Int32ArrayProperty => !Array.isArray(property) && property.type === 'Int32ArrayProperty';\n\nexport type Int32ArrayProperty = AbstractBaseProperty & {\n type: 'Int32ArrayProperty';\n subtype: string;\n values: number[];\n};\n\nexport namespace Int32ArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): Int32ArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => Int32Property.ReadValue(reader));\n return {\n type: 'Int32ArrayProperty',\n index,\n ueType,\n subtype,\n values,\n guidInfo: undefined,\n name: ''\n } satisfies Int32ArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: Int32ArrayProperty): void => {\n property.values.forEach(value => Int32Property.SerializeValue(writer, value));\n }\n}\n"]}
1
+ {"version":3,"file":"Int32ArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.ts"],"names":[],"mappings":";;;AAEA,kEAA+D;AAC/D,oDAAiD;AAE1C,MAAM,oBAAoB,GAAG,CAAC,QAAa,EAAkC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,oBAAoB,CAAC;AAA7I,QAAA,oBAAoB,wBAAyH;AAQ1J,IAAiB,kBAAkB,CAgBlC;AAhBD,WAAiB,kBAAkB;IAElB,wBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAsB,EAAE;QAC1I,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,6BAAa,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAE1F,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YAC3D,IAAI,EAAE,oBAAoB;YAC1B,OAAO;YACP,MAAM;SACoB,CAAC;IACnC,CAAC,CAAA;IAEY,4BAAS,GAAG,CAAC,MAAkB,EAAE,QAA4B,EAAQ,EAAE;QAChF,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,6BAAa,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IAClF,CAAC,CAAA;AACL,CAAC,EAhBgB,kBAAkB,kCAAlB,kBAAkB,QAgBlC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { Int32Property } from '../Int32Property';\n\nexport const isInt32ArrayProperty = (property: any): property is Int32ArrayProperty => !Array.isArray(property) && property.type === 'Int32ArrayProperty';\n\nexport type Int32ArrayProperty = AbstractBaseProperty & {\n type: 'Int32ArrayProperty';\n subtype: string;\n values: number[];\n};\n\nexport namespace Int32ArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): Int32ArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => Int32Property.ReadValue(reader));\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, type: '' }),\n type: 'Int32ArrayProperty',\n subtype,\n values\n } satisfies Int32ArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: Int32ArrayProperty): void => {\n property.values.forEach(value => Int32Property.SerializeValue(writer, value));\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Int64ArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,oBAAoB,aAAc,GAAG,KAAG,QAAQ,IAAI,kBAAwF,CAAC;AAE1J,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG;IACpD,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,yBAAiB,kBAAkB,CAAC;IAEzB,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,kBAWxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,kBAAkB,KAAG,IAE5E,CAAA;CACJ"}
1
+ {"version":3,"file":"Int64ArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,oBAAoB,aAAc,GAAG,KAAG,QAAQ,IAAI,kBAAwF,CAAC;AAE1J,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG;IACpD,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,yBAAiB,kBAAkB,CAAC;IAEzB,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,kBASxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,kBAAkB,KAAG,IAE5E,CAAA;CACJ"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Int64ArrayProperty = exports.isInt64ArrayProperty = void 0;
4
+ const AbstractBaseProperty_1 = require("../AbstractBaseProperty");
4
5
  const Int64Property_1 = require("../Int64Property");
5
6
  const isInt64ArrayProperty = (property) => !Array.isArray(property) && property.type === 'Int64ArrayProperty';
6
7
  exports.isInt64ArrayProperty = isInt64ArrayProperty;
@@ -9,13 +10,10 @@ var Int64ArrayProperty;
9
10
  Int64ArrayProperty.Parse = (reader, elementCount, subtype, ueType, index = 0) => {
10
11
  const values = new Array(elementCount).fill(0).map(() => Int64Property_1.Int64Property.ReadValue(reader));
11
12
  return {
13
+ ...AbstractBaseProperty_1.AbstractBaseProperty.Create({ index, ueType, type: '' }),
12
14
  type: 'Int64ArrayProperty',
13
- index,
14
- ueType,
15
15
  subtype,
16
- values,
17
- guidInfo: undefined,
18
- name: ''
16
+ values
19
17
  };
20
18
  };
21
19
  Int64ArrayProperty.Serialize = (writer, property) => {
@@ -1 +1 @@
1
- {"version":3,"file":"Int64ArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.ts"],"names":[],"mappings":";;;AAGA,oDAAiD;AAE1C,MAAM,oBAAoB,GAAG,CAAC,QAAa,EAAkC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,oBAAoB,CAAC;AAA7I,QAAA,oBAAoB,wBAAyH;AAQ1J,IAAiB,kBAAkB,CAkBlC;AAlBD,WAAiB,kBAAkB;IAElB,wBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAsB,EAAE;QAC1I,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,6BAAa,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAC1F,OAAO;YACH,IAAI,EAAE,oBAAoB;YAC1B,KAAK;YACL,MAAM;YACN,OAAO;YACP,MAAM;YACN,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,EAAE;SACkB,CAAC;IACnC,CAAC,CAAA;IAEY,4BAAS,GAAG,CAAC,MAAkB,EAAE,QAA4B,EAAQ,EAAE;QAChF,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,6BAAa,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IAClF,CAAC,CAAA;AACL,CAAC,EAlBgB,kBAAkB,kCAAlB,kBAAkB,QAkBlC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { Int64Property } from '../Int64Property';\n\nexport const isInt64ArrayProperty = (property: any): property is Int64ArrayProperty => !Array.isArray(property) && property.type === 'Int64ArrayProperty';\n\nexport type Int64ArrayProperty = AbstractBaseProperty & {\n type: 'Int64ArrayProperty';\n subtype: string;\n values: string[];\n};\n\nexport namespace Int64ArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): Int64ArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => Int64Property.ReadValue(reader));\n return {\n type: 'Int64ArrayProperty',\n index,\n ueType,\n subtype,\n values,\n guidInfo: undefined,\n name: ''\n } satisfies Int64ArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: Int64ArrayProperty): void => {\n property.values.forEach(value => Int64Property.SerializeValue(writer, value));\n }\n}\n"]}
1
+ {"version":3,"file":"Int64ArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.ts"],"names":[],"mappings":";;;AAEA,kEAA+D;AAC/D,oDAAiD;AAE1C,MAAM,oBAAoB,GAAG,CAAC,QAAa,EAAkC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,oBAAoB,CAAC;AAA7I,QAAA,oBAAoB,wBAAyH;AAQ1J,IAAiB,kBAAkB,CAgBlC;AAhBD,WAAiB,kBAAkB;IAElB,wBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAsB,EAAE;QAC1I,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,6BAAa,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAE1F,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YAC3D,IAAI,EAAE,oBAAoB;YAC1B,OAAO;YACP,MAAM;SACoB,CAAC;IACnC,CAAC,CAAA;IAEY,4BAAS,GAAG,CAAC,MAAkB,EAAE,QAA4B,EAAQ,EAAE;QAChF,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,6BAAa,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IAClF,CAAC,CAAA;AACL,CAAC,EAhBgB,kBAAkB,kCAAlB,kBAAkB,QAgBlC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { Int64Property } from '../Int64Property';\n\nexport const isInt64ArrayProperty = (property: any): property is Int64ArrayProperty => !Array.isArray(property) && property.type === 'Int64ArrayProperty';\n\nexport type Int64ArrayProperty = AbstractBaseProperty & {\n type: 'Int64ArrayProperty';\n subtype: string;\n values: string[];\n};\n\nexport namespace Int64ArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): Int64ArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => Int64Property.ReadValue(reader));\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, type: '' }),\n type: 'Int64ArrayProperty',\n subtype,\n values\n } satisfies Int64ArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: Int64ArrayProperty): void => {\n property.values.forEach(value => Int64Property.SerializeValue(writer, value));\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,qBAAqB,aAAc,GAAG,KAAG,QAAQ,IAAI,mBAA0F,CAAC;AAE7J,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,GAAG;IACrD,IAAI,EAAE,qBAAqB,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,eAAe,EAAE,CAAC;CAC7B,CAAC;AAEF,yBAAiB,mBAAmB,CAAC;IAE1B,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,mBAWxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,mBAAmB,KAAG,IAE7E,CAAA;CACJ"}
1
+ {"version":3,"file":"ObjectArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,qBAAqB,aAAc,GAAG,KAAG,QAAQ,IAAI,mBAA0F,CAAC;AAE7J,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,GAAG;IACrD,IAAI,EAAE,qBAAqB,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,eAAe,EAAE,CAAC;CAC7B,CAAC;AAEF,yBAAiB,mBAAmB,CAAC;IAE1B,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,mBASxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,mBAAmB,KAAG,IAE7E,CAAA;CACJ"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ObjectArrayProperty = exports.isObjectArrayProperty = void 0;
4
+ const AbstractBaseProperty_1 = require("../AbstractBaseProperty");
4
5
  const ObjectProperty_1 = require("../ObjectProperty");
5
6
  const isObjectArrayProperty = (property) => !Array.isArray(property) && property.type === 'ObjectArrayProperty';
6
7
  exports.isObjectArrayProperty = isObjectArrayProperty;
@@ -9,13 +10,10 @@ var ObjectArrayProperty;
9
10
  ObjectArrayProperty.Parse = (reader, elementCount, subtype, ueType, index = 0) => {
10
11
  const values = new Array(elementCount).fill(0).map(() => ObjectProperty_1.ObjectProperty.ReadValue(reader));
11
12
  return {
13
+ ...AbstractBaseProperty_1.AbstractBaseProperty.Create({ index, ueType, type: '' }),
12
14
  type: 'ObjectArrayProperty',
13
- index,
14
- ueType,
15
15
  subtype,
16
- values,
17
- guidInfo: undefined,
18
- name: ''
16
+ values
19
17
  };
20
18
  };
21
19
  ObjectArrayProperty.Serialize = (writer, property) => {
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.ts"],"names":[],"mappings":";;;AAIA,sDAAmD;AAE5C,MAAM,qBAAqB,GAAG,CAAC,QAAa,EAAmC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,qBAAqB,CAAC;AAAhJ,QAAA,qBAAqB,yBAA2H;AAQ7J,IAAiB,mBAAmB,CAkBnC;AAlBD,WAAiB,mBAAmB;IAEnB,yBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAuB,EAAE;QAC3I,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,+BAAc,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAC3F,OAAO;YACH,IAAI,EAAE,qBAAqB;YAC3B,KAAK;YACL,MAAM;YACN,OAAO;YACP,MAAM;YACN,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,EAAE;SACmB,CAAC;IACpC,CAAC,CAAA;IAEY,6BAAS,GAAG,CAAC,MAAkB,EAAE,QAA6B,EAAQ,EAAE;QACjF,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,+BAAc,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IACnF,CAAC,CAAA;AACL,CAAC,EAlBgB,mBAAmB,mCAAnB,mBAAmB,QAkBnC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { ObjectReference } from '../../../structs/ObjectReference';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { ObjectProperty } from '../ObjectProperty';\n\nexport const isObjectArrayProperty = (property: any): property is ObjectArrayProperty => !Array.isArray(property) && property.type === 'ObjectArrayProperty';\n\nexport type ObjectArrayProperty = AbstractBaseProperty & {\n type: 'ObjectArrayProperty';\n subtype: string;\n values: ObjectReference[];\n};\n\nexport namespace ObjectArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): ObjectArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => ObjectProperty.ReadValue(reader));\n return {\n type: 'ObjectArrayProperty',\n index,\n ueType,\n subtype,\n values,\n guidInfo: undefined,\n name: ''\n } satisfies ObjectArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: ObjectArrayProperty): void => {\n property.values.forEach(value => ObjectProperty.SerializeValue(writer, value));\n }\n}\n"]}
1
+ {"version":3,"file":"ObjectArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.ts"],"names":[],"mappings":";;;AAGA,kEAA+D;AAC/D,sDAAmD;AAE5C,MAAM,qBAAqB,GAAG,CAAC,QAAa,EAAmC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,qBAAqB,CAAC;AAAhJ,QAAA,qBAAqB,yBAA2H;AAQ7J,IAAiB,mBAAmB,CAgBnC;AAhBD,WAAiB,mBAAmB;IAEnB,yBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAuB,EAAE;QAC3I,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,+BAAc,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAE3F,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YAC3D,IAAI,EAAE,qBAAqB;YAC3B,OAAO;YACP,MAAM;SACqB,CAAC;IACpC,CAAC,CAAA;IAEY,6BAAS,GAAG,CAAC,MAAkB,EAAE,QAA6B,EAAQ,EAAE;QACjF,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,+BAAc,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IACnF,CAAC,CAAA;AACL,CAAC,EAhBgB,mBAAmB,mCAAnB,mBAAmB,QAgBnC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { ObjectReference } from '../../../structs/ObjectReference';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { ObjectProperty } from '../ObjectProperty';\n\nexport const isObjectArrayProperty = (property: any): property is ObjectArrayProperty => !Array.isArray(property) && property.type === 'ObjectArrayProperty';\n\nexport type ObjectArrayProperty = AbstractBaseProperty & {\n type: 'ObjectArrayProperty';\n subtype: string;\n values: ObjectReference[];\n};\n\nexport namespace ObjectArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): ObjectArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => ObjectProperty.ReadValue(reader));\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, type: '' }),\n type: 'ObjectArrayProperty',\n subtype,\n values\n } satisfies ObjectArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: ObjectArrayProperty): void => {\n property.values.forEach(value => ObjectProperty.SerializeValue(writer, value));\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"SoftObjectArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,yBAAyB,aAAc,GAAG,KAAG,QAAQ,IAAI,uBAAkG,CAAC;AAEzK,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,GAAG;IACzD,IAAI,EAAE,yBAAyB,CAAC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,mBAAmB,EAAE,CAAC;CACjC,CAAC;AAEF,yBAAiB,uBAAuB,CAAC;IAE9B,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,uBAWxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,uBAAuB,KAAG,IAEjF,CAAA;CACJ"}
1
+ {"version":3,"file":"SoftObjectArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,eAAO,MAAM,yBAAyB,aAAc,GAAG,KAAG,QAAQ,IAAI,uBAAkG,CAAC;AAEzK,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,GAAG;IACzD,IAAI,EAAE,yBAAyB,CAAC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,mBAAmB,EAAE,CAAC;CACjC,CAAC;AAEF,yBAAiB,uBAAuB,CAAC;IAE9B,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,uBASxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,uBAAuB,KAAG,IAEjF,CAAA;CACJ"}