@etothepii/satisfactory-file-parser 4.0.0 → 4.0.1

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 (790) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/build/parser/satisfactory/types/objects/SaveComponent.js +1 -1
  3. package/build/parser/satisfactory/types/objects/SaveComponent.js.map +1 -1
  4. package/build/parser/satisfactory/types/objects/SaveEntity.js +1 -1
  5. package/build/parser/satisfactory/types/objects/SaveEntity.js.map +1 -1
  6. package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts.map +1 -1
  7. package/build/parser/satisfactory/types/property/generic/BoolProperty.js +1 -1
  8. package/build/parser/satisfactory/types/property/generic/BoolProperty.js.map +1 -1
  9. package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts +0 -5
  10. package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts.map +1 -1
  11. package/build/parser/satisfactory/types/property/generic/ByteProperty.js +19 -5
  12. package/build/parser/satisfactory/types/property/generic/ByteProperty.js.map +1 -1
  13. package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts.map +1 -1
  14. package/build/parser/satisfactory/types/property/generic/DoubleProperty.js +1 -1
  15. package/build/parser/satisfactory/types/property/generic/DoubleProperty.js.map +1 -1
  16. package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts.map +1 -1
  17. package/build/parser/satisfactory/types/property/generic/EnumProperty.js +1 -1
  18. package/build/parser/satisfactory/types/property/generic/EnumProperty.js.map +1 -1
  19. package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts.map +1 -1
  20. package/build/parser/satisfactory/types/property/generic/FloatProperty.js +1 -1
  21. package/build/parser/satisfactory/types/property/generic/FloatProperty.js.map +1 -1
  22. package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts.map +1 -1
  23. package/build/parser/satisfactory/types/property/generic/Int64Property.js +1 -1
  24. package/build/parser/satisfactory/types/property/generic/Int64Property.js.map +1 -1
  25. package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts.map +1 -1
  26. package/build/parser/satisfactory/types/property/generic/Int8Property.js +1 -1
  27. package/build/parser/satisfactory/types/property/generic/Int8Property.js.map +1 -1
  28. package/build/parser/satisfactory/types/property/generic/IntProperty.d.ts.map +1 -1
  29. package/build/parser/satisfactory/types/property/generic/IntProperty.js +1 -1
  30. package/build/parser/satisfactory/types/property/generic/IntProperty.js.map +1 -1
  31. package/build/parser/satisfactory/types/property/generic/InterfaceProperty.d.ts.map +1 -1
  32. package/build/parser/satisfactory/types/property/generic/InterfaceProperty.js +1 -1
  33. package/build/parser/satisfactory/types/property/generic/InterfaceProperty.js.map +1 -1
  34. package/build/parser/satisfactory/types/property/generic/NameProperty.d.ts.map +1 -1
  35. package/build/parser/satisfactory/types/property/generic/NameProperty.js +1 -1
  36. package/build/parser/satisfactory/types/property/generic/NameProperty.js.map +1 -1
  37. package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts.map +1 -1
  38. package/build/parser/satisfactory/types/property/generic/ObjectProperty.js +1 -1
  39. package/build/parser/satisfactory/types/property/generic/ObjectProperty.js.map +1 -1
  40. package/build/parser/satisfactory/types/property/generic/SingleProperty.d.ts.map +1 -1
  41. package/build/parser/satisfactory/types/property/generic/SingleProperty.js +1 -1
  42. package/build/parser/satisfactory/types/property/generic/SingleProperty.js.map +1 -1
  43. package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts.map +1 -1
  44. package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js +1 -1
  45. package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js.map +1 -1
  46. package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts.map +1 -1
  47. package/build/parser/satisfactory/types/property/generic/StrProperty.js +1 -1
  48. package/build/parser/satisfactory/types/property/generic/StrProperty.js.map +1 -1
  49. package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts.map +1 -1
  50. package/build/parser/satisfactory/types/property/generic/TextProperty.js +1 -1
  51. package/build/parser/satisfactory/types/property/generic/TextProperty.js.map +1 -1
  52. package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts.map +1 -1
  53. package/build/parser/satisfactory/types/property/generic/Uint32Property.js +1 -1
  54. package/build/parser/satisfactory/types/property/generic/Uint32Property.js.map +1 -1
  55. package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts.map +1 -1
  56. package/build/parser/satisfactory/types/property/generic/Uint64Property.js +1 -1
  57. package/build/parser/satisfactory/types/property/generic/Uint64Property.js.map +1 -1
  58. package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts.map +1 -1
  59. package/build/parser/satisfactory/types/property/generic/Uint8Property.js +1 -1
  60. package/build/parser/satisfactory/types/property/generic/Uint8Property.js.map +1 -1
  61. package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.d.ts.map +1 -1
  62. package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.js +1 -1
  63. package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.js.map +1 -1
  64. package/build/parser/satisfactory/types/property/generic/containers/MapProperty.d.ts.map +1 -1
  65. package/build/parser/satisfactory/types/property/generic/containers/MapProperty.js +1 -1
  66. package/build/parser/satisfactory/types/property/generic/containers/MapProperty.js.map +1 -1
  67. package/build/parser/satisfactory/types/property/generic/containers/SetProperty.d.ts.map +1 -1
  68. package/build/parser/satisfactory/types/property/generic/containers/SetProperty.js +1 -1
  69. package/build/parser/satisfactory/types/property/generic/containers/SetProperty.js.map +1 -1
  70. package/docs/assets/hierarchy.js +1 -0
  71. package/docs/assets/icons.js +1 -1
  72. package/docs/assets/icons.svg +1 -1
  73. package/docs/assets/main.js +5 -5
  74. package/docs/assets/navigation.js +1 -1
  75. package/docs/assets/search.js +1 -1
  76. package/docs/assets/style.css +1428 -1288
  77. package/docs/classes/BlueprintConfigReader.html +37 -36
  78. package/docs/classes/BlueprintConfigWriter.html +42 -0
  79. package/docs/classes/BlueprintReader.html +39 -38
  80. package/docs/classes/BlueprintWriter.html +45 -0
  81. package/docs/classes/ByteReader.html +37 -0
  82. package/docs/classes/ByteWriter.html +41 -0
  83. package/docs/classes/CompressionLibraryError.html +11 -11
  84. package/docs/classes/ContextReader.html +36 -35
  85. package/docs/classes/ContextWriter.html +41 -40
  86. package/docs/classes/CorruptBlueprintError.html +11 -11
  87. package/docs/classes/CorruptSaveError.html +11 -11
  88. package/docs/classes/Parser.html +23 -23
  89. package/docs/classes/ParserError.html +11 -11
  90. package/docs/classes/ReadableStreamParser.html +7 -7
  91. package/docs/classes/SatisfactorySave.html +9 -8
  92. package/docs/classes/SaveComponent.html +20 -18
  93. package/docs/classes/SaveEntity.html +25 -23
  94. package/docs/classes/SaveObject.html +17 -15
  95. package/docs/classes/SaveReader.html +46 -45
  96. package/docs/classes/SaveWriter.html +44 -43
  97. package/docs/classes/TimeoutError.html +11 -11
  98. package/docs/classes/UnimplementedError.html +11 -11
  99. package/docs/classes/UnsupportedVersionError.html +11 -11
  100. package/docs/enums/Alignment.html +3 -3
  101. package/docs/enums/BlueprintConfigVersion.html +11 -9
  102. package/docs/enums/BlueprintHeaderVersion.html +7 -7
  103. package/docs/enums/CompressionAlgorithmCode.html +2 -2
  104. package/docs/enums/ETextHistoryType.html +15 -0
  105. package/docs/enums/EUnrealEngineObjectUE5Version.html +23 -0
  106. package/docs/enums/FactoryGameCustomVersion.html +33 -33
  107. package/docs/enums/RuntimeBuildableInstanceDataVersion.html +9 -7
  108. package/docs/enums/SaveCustomVersion.html +71 -65
  109. package/docs/enums/SaveHeaderType.html +19 -19
  110. package/docs/functions/AbstractBaseProperty.CreateFromTag.html +2 -0
  111. package/docs/functions/ArrayProperty.Parse.html +1 -1
  112. package/docs/functions/ArrayProperty.Serialize.html +1 -1
  113. package/docs/functions/BlueprintConfig.Parse.html +1 -1
  114. package/docs/functions/BlueprintConfig.Serialize.html +1 -1
  115. package/docs/functions/BlueprintHeader.Parse.html +1 -1
  116. package/docs/functions/BlueprintHeader.Serialize.html +1 -1
  117. package/docs/functions/BoolProperty.Parse.html +1 -1
  118. package/docs/functions/BoolProperty.ReadValue.html +1 -1
  119. package/docs/functions/BoolProperty.Serialize.html +1 -1
  120. package/docs/functions/BoolProperty.SerializeValue.html +1 -1
  121. package/docs/functions/BuildableSubsystemSpecialProperties.Parse.html +1 -1
  122. package/docs/functions/BuildableSubsystemSpecialProperties.Serialize.html +1 -1
  123. package/docs/functions/BuildableTypeInstance.Parse.html +1 -1
  124. package/docs/functions/BuildableTypeInstance.Serialize.html +1 -1
  125. package/docs/functions/ByteProperty.Parse.html +1 -1
  126. package/docs/functions/ByteProperty.ReadValue.html +1 -1
  127. package/docs/functions/ByteProperty.Serialize.html +1 -1
  128. package/docs/functions/ByteProperty.SerializeValue.html +1 -1
  129. package/docs/functions/CircuitSpecialProperties.Parse.html +1 -1
  130. package/docs/functions/CircuitSpecialProperties.Serialize.html +1 -1
  131. package/docs/functions/ConveyorChainActorSpecialProperties.Parse.html +1 -1
  132. package/docs/functions/ConveyorChainActorSpecialProperties.Serialize.html +1 -1
  133. package/docs/functions/ConveyorSpecialProperties.Parse.html +1 -1
  134. package/docs/functions/ConveyorSpecialProperties.Serialize.html +1 -1
  135. package/docs/functions/DataBlob.Read.html +1 -0
  136. package/docs/functions/DataBlob.ReadNObjectContents.html +1 -0
  137. package/docs/functions/DataBlob.SkipOver.html +1 -0
  138. package/docs/functions/DataBlob.Write.html +1 -0
  139. package/docs/functions/DoubleProperty.Parse.html +1 -1
  140. package/docs/functions/DoubleProperty.ReadValue.html +1 -1
  141. package/docs/functions/DoubleProperty.Serialize.html +1 -1
  142. package/docs/functions/DoubleProperty.SerializeValue.html +1 -1
  143. package/docs/functions/DynamicStructPropertyValue.read.html +1 -1
  144. package/docs/functions/DynamicStructPropertyValue.write.html +1 -1
  145. package/docs/functions/EmptySpecialProperties.Parse.html +1 -1
  146. package/docs/functions/EmptySpecialProperties.Serialize.html +1 -1
  147. package/docs/functions/EnumProperty.Parse.html +1 -1
  148. package/docs/functions/EnumProperty.ReadValue.html +1 -1
  149. package/docs/functions/EnumProperty.Serialize.html +1 -1
  150. package/docs/functions/EnumProperty.SerializeValue.html +1 -1
  151. package/docs/functions/FClientIdentityInfo.read.html +1 -1
  152. package/docs/functions/FClientIdentityInfo.write.html +1 -1
  153. package/docs/functions/FColor.read.html +1 -1
  154. package/docs/functions/FColor.write.html +1 -1
  155. package/docs/functions/FCustomVersion.read.html +1 -0
  156. package/docs/functions/FCustomVersion.write.html +1 -0
  157. package/docs/functions/FCustomVersionContainer.read.html +1 -0
  158. package/docs/functions/FCustomVersionContainer.write.html +1 -0
  159. package/docs/functions/FEngineVersion.read.html +1 -0
  160. package/docs/functions/FEngineVersion.write.html +1 -0
  161. package/docs/functions/FGDynamicStruct.Parse.html +1 -1
  162. package/docs/functions/FGDynamicStruct.Serialize.html +1 -1
  163. package/docs/functions/FICFrameRange.read.html +1 -1
  164. package/docs/functions/FICFrameRange.write.html +1 -1
  165. package/docs/functions/FINGPUT1BufferPixel.read.html +1 -1
  166. package/docs/functions/FINGPUT1BufferPixel.write.html +1 -1
  167. package/docs/functions/FINItemStateFileSystem.IsFINItemStateFileSystem.html +1 -1
  168. package/docs/functions/FINItemStateFileSystem.read.html +1 -1
  169. package/docs/functions/FINItemStateFileSystem.write.html +1 -1
  170. package/docs/functions/FINLuaRuntimePersistenceState.read.html +1 -0
  171. package/docs/functions/FINLuaRuntimePersistenceState.write.html +1 -0
  172. package/docs/functions/FINNetworkTrace.read.html +1 -1
  173. package/docs/functions/FINNetworkTrace.write.html +1 -1
  174. package/docs/functions/FLBBalancerIndexing.read.html +1 -1
  175. package/docs/functions/FLBBalancerIndexing.write.html +1 -1
  176. package/docs/functions/FLinearColor.read.html +1 -1
  177. package/docs/functions/FLinearColor.write.html +1 -1
  178. package/docs/functions/FLocalUserNetIdBundle.read.html +1 -0
  179. package/docs/functions/FLocalUserNetIdBundle.write.html +1 -0
  180. package/docs/functions/FPackageFileVersion.read.html +1 -0
  181. package/docs/functions/FPackageFileVersion.write.html +1 -0
  182. package/docs/functions/FPlayerInfoHandle.read.html +1 -0
  183. package/docs/functions/FPlayerInfoHandle.write.html +1 -0
  184. package/docs/functions/FPropertyTag.IsCompletePropertyTagType.html +1 -0
  185. package/docs/functions/FPropertyTag.read.html +2 -0
  186. package/docs/functions/FPropertyTag.write.html +1 -0
  187. package/docs/functions/FPropertyTag.writeFromProperty.html +2 -0
  188. package/docs/functions/FPropertyTagNode.read.html +1 -0
  189. package/docs/functions/FPropertyTagNode.write.html +1 -0
  190. package/docs/functions/FSaveObjectVersionData.read.html +1 -0
  191. package/docs/functions/FSaveObjectVersionData.write.html +1 -0
  192. package/docs/functions/FUniqueNetIdRepl.read.html +1 -0
  193. package/docs/functions/FUniqueNetIdRepl.write.html +1 -0
  194. package/docs/functions/FloatProperty.Parse.html +1 -1
  195. package/docs/functions/FloatProperty.ReadValue.html +1 -1
  196. package/docs/functions/FloatProperty.Serialize.html +1 -1
  197. package/docs/functions/FloatProperty.SerializeValue.html +1 -1
  198. package/docs/functions/GUID.read.html +1 -1
  199. package/docs/functions/GUID.write.html +1 -1
  200. package/docs/functions/HierarchyVersion.CreateOnHeader.html +1 -0
  201. package/docs/functions/HierarchyVersion.SetOnLevel.html +1 -0
  202. package/docs/functions/HierarchyVersion.SetOnObject.html +1 -0
  203. package/docs/functions/Int64Property.Parse.html +1 -1
  204. package/docs/functions/Int64Property.ReadValue.html +1 -1
  205. package/docs/functions/Int64Property.Serialize.html +1 -1
  206. package/docs/functions/Int64Property.SerializeValue.html +1 -1
  207. package/docs/functions/Int8Property.Parse.html +1 -1
  208. package/docs/functions/Int8Property.ReadValue.html +1 -1
  209. package/docs/functions/Int8Property.Serialize.html +1 -1
  210. package/docs/functions/Int8Property.SerializeValue.html +1 -1
  211. package/docs/functions/IntProperty.Parse.html +1 -0
  212. package/docs/functions/IntProperty.ReadValue.html +1 -0
  213. package/docs/functions/IntProperty.Serialize.html +1 -0
  214. package/docs/functions/IntProperty.SerializeValue.html +1 -0
  215. package/docs/functions/InterfaceProperty.Parse.html +1 -0
  216. package/docs/functions/InterfaceProperty.ReadValue.html +1 -0
  217. package/docs/functions/InterfaceProperty.Serialize.html +1 -0
  218. package/docs/functions/InterfaceProperty.SerializeValue.html +1 -0
  219. package/docs/functions/LBBalancerIndexing.read.html +1 -0
  220. package/docs/functions/LBBalancerIndexing.write.html +1 -0
  221. package/docs/functions/Level.Read.html +1 -0
  222. package/docs/functions/Level.Serialize.html +1 -0
  223. package/docs/functions/LevelToDestroyedActorsMap.read.html +1 -1
  224. package/docs/functions/LevelToDestroyedActorsMap.write.html +1 -1
  225. package/docs/functions/MD5Hash.read.html +1 -1
  226. package/docs/functions/MD5Hash.write.html +1 -1
  227. package/docs/functions/MapProperty.Parse.html +1 -1
  228. package/docs/functions/MapProperty.Serialize.html +1 -1
  229. package/docs/functions/NameProperty.Parse.html +1 -0
  230. package/docs/functions/NameProperty.ReadValue.html +1 -0
  231. package/docs/functions/NameProperty.Serialize.html +1 -0
  232. package/docs/functions/NameProperty.SerializeValue.html +1 -0
  233. package/docs/functions/ObjectProperty.Parse.html +1 -1
  234. package/docs/functions/ObjectProperty.ReadValue.html +1 -1
  235. package/docs/functions/ObjectProperty.Serialize.html +1 -1
  236. package/docs/functions/ObjectProperty.SerializeValue.html +1 -1
  237. package/docs/functions/ObjectReference.IsEqual.html +1 -1
  238. package/docs/functions/ObjectReference.read.html +1 -1
  239. package/docs/functions/ObjectReference.write.html +1 -1
  240. package/docs/functions/ObjectReferencesList.ReadList.html +1 -0
  241. package/docs/functions/ObjectReferencesList.SerializeList.html +1 -0
  242. package/docs/functions/ObjectsListSpecialProperties.Parse.html +1 -1
  243. package/docs/functions/ObjectsListSpecialProperties.Serialize.html +1 -1
  244. package/docs/functions/OptionalGUID.read.html +1 -0
  245. package/docs/functions/OptionalGUID.write.html +1 -0
  246. package/docs/functions/PlayerSpecialProperties.Parse.html +1 -1
  247. package/docs/functions/PlayerSpecialProperties.Serialize.html +1 -1
  248. package/docs/functions/PowerLineSpecialProperties.Parse.html +1 -1
  249. package/docs/functions/PowerLineSpecialProperties.Serialize.html +1 -1
  250. package/docs/functions/PropertiesList.ParseList.html +1 -1
  251. package/docs/functions/PropertiesList.ParseSingleProperty.html +1 -1
  252. package/docs/functions/PropertiesList.SerializeList.html +1 -1
  253. package/docs/functions/PropertiesList.SerializeSingleProperty.html +1 -1
  254. package/docs/functions/SatisfactorySaveHeader.Parse.html +1 -1
  255. package/docs/functions/SatisfactorySaveHeader.Serialize.html +1 -1
  256. package/docs/functions/SaveBodyChunks.CompressDataIntoChunks.html +1 -1
  257. package/docs/functions/SaveBodyChunks.DecompressChunks.html +1 -1
  258. package/docs/functions/SaveBodyValidation.Parse.html +1 -1
  259. package/docs/functions/SaveBodyValidation.Serialize.html +1 -1
  260. package/docs/functions/SetProperty.Parse.html +1 -1
  261. package/docs/functions/SetProperty.Serialize.html +1 -1
  262. package/docs/functions/SingleProperty.Parse.html +1 -0
  263. package/docs/functions/SingleProperty.ReadValue.html +1 -0
  264. package/docs/functions/SingleProperty.Serialize.html +1 -0
  265. package/docs/functions/SingleProperty.SerializeValue.html +1 -0
  266. package/docs/functions/SoftObjectProperty.Parse.html +1 -1
  267. package/docs/functions/SoftObjectProperty.ReadValue.html +1 -1
  268. package/docs/functions/SoftObjectProperty.Serialize.html +1 -1
  269. package/docs/functions/SoftObjectProperty.SerializeValue.html +1 -1
  270. package/docs/functions/SoftObjectReference.read.html +1 -1
  271. package/docs/functions/SoftObjectReference.write.html +1 -1
  272. package/docs/functions/SpecialDroneActionProperties.Parse.html +1 -1
  273. package/docs/functions/SpecialDroneActionProperties.Serialize.html +1 -1
  274. package/docs/functions/SpecialProperties.ParseClassSpecificSpecialProperties.html +1 -1
  275. package/docs/functions/SpecialProperties.SerializeClassSpecificSpecialProperties.html +1 -1
  276. package/docs/functions/StrProperty.Parse.html +1 -1
  277. package/docs/functions/StrProperty.ReadValue.html +1 -1
  278. package/docs/functions/StrProperty.Serialize.html +1 -1
  279. package/docs/functions/StrProperty.SerializeValue.html +1 -1
  280. package/docs/functions/StructProperty.Parse.html +1 -1
  281. package/docs/functions/StructProperty.ParseValue.html +1 -1
  282. package/docs/functions/StructProperty.Serialize.html +1 -1
  283. package/docs/functions/StructProperty.SerializeValue.html +1 -1
  284. package/docs/functions/TOCBlob.Read.html +1 -0
  285. package/docs/functions/TOCBlob.ReadNObjectHeaders.html +1 -0
  286. package/docs/functions/TOCBlob.SerializeAllObjectHeaders.html +1 -0
  287. package/docs/functions/TOCBlob.SkipOver.html +1 -0
  288. package/docs/functions/TOCBlob.Write.html +1 -0
  289. package/docs/functions/TextProperty.Parse.html +1 -1
  290. package/docs/functions/TextProperty.ReadValue.html +1 -1
  291. package/docs/functions/TextProperty.Serialize.html +1 -1
  292. package/docs/functions/TextProperty.SerializeValue.html +1 -1
  293. package/docs/functions/Transform.Parse.html +1 -1
  294. package/docs/functions/Transform.ParseF.html +1 -1
  295. package/docs/functions/Transform.Serialize.html +1 -1
  296. package/docs/functions/Transform.SerializeF.html +1 -1
  297. package/docs/functions/Uint32Property.Parse.html +1 -1
  298. package/docs/functions/Uint32Property.ReadValue.html +1 -1
  299. package/docs/functions/Uint32Property.Serialize.html +1 -1
  300. package/docs/functions/Uint32Property.SerializeValue.html +1 -1
  301. package/docs/functions/Uint64Property.Parse.html +1 -1
  302. package/docs/functions/Uint64Property.ReadValue.html +1 -1
  303. package/docs/functions/Uint64Property.Serialize.html +1 -1
  304. package/docs/functions/Uint64Property.SerializeValue.html +1 -1
  305. package/docs/functions/Uint8Property.Parse.html +1 -1
  306. package/docs/functions/Uint8Property.ReadValue.html +1 -1
  307. package/docs/functions/Uint8Property.Serialize.html +1 -1
  308. package/docs/functions/Uint8Property.SerializeValue.html +1 -1
  309. package/docs/functions/VehiclePhysicsData.Parse.html +1 -1
  310. package/docs/functions/VehiclePhysicsData.Serialize.html +1 -1
  311. package/docs/functions/VehicleSpecialProperties.Parse.html +1 -1
  312. package/docs/functions/VehicleSpecialProperties.Serialize.html +1 -1
  313. package/docs/functions/col4.ParseBGRA.html +1 -1
  314. package/docs/functions/col4.ParseRGBA.html +1 -1
  315. package/docs/functions/col4.SerializeBGRA.html +1 -1
  316. package/docs/functions/col4.SerializeRGBA.html +1 -1
  317. package/docs/functions/isArrayProperty.html +1 -1
  318. package/docs/functions/isBoolProperty.html +1 -1
  319. package/docs/functions/isBuildableSubsystemSpecialProperties.html +1 -1
  320. package/docs/functions/isByteProperty.html +1 -1
  321. package/docs/functions/isCircuitSpecialProperties.html +1 -1
  322. package/docs/functions/isConveyorChainActorSpecialProperties.html +1 -1
  323. package/docs/functions/isConveyorSpecialProperties.html +1 -1
  324. package/docs/functions/isDoubleProperty.html +1 -1
  325. package/docs/functions/isEmptySpecialProperties.html +1 -1
  326. package/docs/functions/isEnumProperty.html +1 -1
  327. package/docs/functions/isFloatProperty.html +1 -1
  328. package/docs/functions/isInt64Property.html +1 -1
  329. package/docs/functions/isInt8Property.html +1 -1
  330. package/docs/functions/isIntProperty.html +1 -0
  331. package/docs/functions/isInterfaceProperty.html +1 -0
  332. package/docs/functions/isMapProperty.html +1 -1
  333. package/docs/functions/isNameProperty.html +1 -0
  334. package/docs/functions/isObjectProperty.html +1 -1
  335. package/docs/functions/isObjectsListSpecialProperties.html +1 -1
  336. package/docs/functions/isPlayerSpecialProperties.html +1 -1
  337. package/docs/functions/isPowerLineSpecialProperties.html +1 -1
  338. package/docs/functions/isSaveComponent.html +1 -1
  339. package/docs/functions/isSaveEntity.html +1 -1
  340. package/docs/functions/isSetProperty.html +1 -1
  341. package/docs/functions/isSingleProperty.html +1 -0
  342. package/docs/functions/isSoftObjectProperty.html +1 -1
  343. package/docs/functions/isSpecialDroneActionProperties.html +1 -1
  344. package/docs/functions/isStrProperty.html +1 -1
  345. package/docs/functions/isStructProperty.html +1 -1
  346. package/docs/functions/isTextProperty.html +1 -1
  347. package/docs/functions/isUInt64Property.html +1 -1
  348. package/docs/functions/isUint32Property.html +1 -1
  349. package/docs/functions/isUint8Property.html +1 -1
  350. package/docs/functions/isVehicleSpecialProperties.html +1 -1
  351. package/docs/functions/vec2.Parse.html +1 -1
  352. package/docs/functions/vec2.ParseF.html +1 -1
  353. package/docs/functions/vec2.Serialize.html +1 -1
  354. package/docs/functions/vec2.SerializeF.html +1 -1
  355. package/docs/functions/vec3.Parse.html +1 -1
  356. package/docs/functions/vec3.ParseF.html +1 -1
  357. package/docs/functions/vec3.ParseInt.html +1 -1
  358. package/docs/functions/vec3.Serialize.html +1 -1
  359. package/docs/functions/vec3.SerializeF.html +1 -1
  360. package/docs/functions/vec3.SerializeInt.html +1 -1
  361. package/docs/functions/vec3.add.html +1 -1
  362. package/docs/functions/vec3.length.html +1 -1
  363. package/docs/functions/vec3.mult.html +1 -1
  364. package/docs/functions/vec3.norm.html +1 -1
  365. package/docs/functions/vec3.sub.html +1 -1
  366. package/docs/functions/vec4.Parse.html +1 -1
  367. package/docs/functions/vec4.ParseF.html +1 -1
  368. package/docs/functions/vec4.Serialize.html +1 -1
  369. package/docs/functions/vec4.SerializeF.html +1 -1
  370. package/docs/hierarchy.html +1 -1
  371. package/docs/index.html +47 -21
  372. package/docs/interfaces/BinaryOperable.html +5 -0
  373. package/docs/interfaces/BinaryReadable.html +22 -0
  374. package/docs/interfaces/BinaryWritable.html +22 -0
  375. package/docs/interfaces/Blueprint.html +6 -6
  376. package/docs/interfaces/BlueprintConfig.html +13 -0
  377. package/docs/interfaces/SaveComponentHeader.html +6 -6
  378. package/docs/interfaces/SaveEntityHeader.html +8 -8
  379. package/docs/interfaces/SaveObjectHeader.html +5 -5
  380. package/docs/modules/AbstractBaseProperty.html +1 -2
  381. package/docs/modules/ArrayProperty.html +1 -5
  382. package/docs/modules/BlueprintConfig.html +1 -3
  383. package/docs/modules/BlueprintHeader.html +1 -3
  384. package/docs/modules/BoolProperty.html +1 -6
  385. package/docs/modules/BuildableSubsystemSpecialProperties.html +1 -3
  386. package/docs/modules/BuildableTypeInstance.html +1 -3
  387. package/docs/modules/ByteProperty.html +1 -6
  388. package/docs/modules/CircuitSpecialProperties.html +1 -3
  389. package/docs/modules/ConveyorChainActorSpecialProperties.html +1 -3
  390. package/docs/modules/ConveyorSpecialProperties.html +1 -3
  391. package/docs/modules/DataBlob.html +2 -0
  392. package/docs/modules/DoubleProperty.html +1 -6
  393. package/docs/modules/DynamicStructPropertyValue.html +1 -3
  394. package/docs/modules/EmptySpecialProperties.html +1 -3
  395. package/docs/modules/EnumProperty.html +1 -6
  396. package/docs/modules/FClientIdentityInfo.html +1 -3
  397. package/docs/modules/FColor.html +1 -3
  398. package/docs/modules/FCustomVersion.html +1 -0
  399. package/docs/modules/FCustomVersionContainer.html +1 -0
  400. package/docs/modules/FEngineVersion.html +1 -0
  401. package/docs/modules/FGDynamicStruct.html +1 -3
  402. package/docs/modules/FICFrameRange.html +2 -4
  403. package/docs/modules/FINGPUT1BufferPixel.html +2 -4
  404. package/docs/modules/FINItemStateFileSystem.html +1 -5
  405. package/docs/modules/FINLuaRuntimePersistenceState.html +2 -0
  406. package/docs/modules/FINNetworkTrace.html +2 -4
  407. package/docs/modules/FLBBalancerIndexing.html +1 -3
  408. package/docs/modules/FLinearColor.html +1 -3
  409. package/docs/modules/FLocalUserNetIdBundle.html +1 -0
  410. package/docs/modules/FPackageFileVersion.html +1 -0
  411. package/docs/modules/FPlayerInfoHandle.html +1 -0
  412. package/docs/modules/FPropertyTag.html +1 -0
  413. package/docs/modules/FPropertyTagNode.html +1 -0
  414. package/docs/modules/FSaveObjectVersionData.html +1 -0
  415. package/docs/modules/FUniqueNetIdRepl.html +1 -0
  416. package/docs/modules/FloatProperty.html +1 -6
  417. package/docs/modules/GUID.html +1 -3
  418. package/docs/modules/HierarchyVersion.html +1 -0
  419. package/docs/modules/Int64Property.html +1 -6
  420. package/docs/modules/Int8Property.html +1 -6
  421. package/docs/modules/IntProperty.html +1 -0
  422. package/docs/modules/InterfaceProperty.html +1 -0
  423. package/docs/modules/LBBalancerIndexing.html +1 -0
  424. package/docs/modules/Level.html +1 -9
  425. package/docs/modules/LevelToDestroyedActorsMap.html +1 -3
  426. package/docs/modules/MD5Hash.html +1 -3
  427. package/docs/modules/MapProperty.html +1 -4
  428. package/docs/modules/NameProperty.html +1 -0
  429. package/docs/modules/ObjectProperty.html +1 -6
  430. package/docs/modules/ObjectReference.html +1 -4
  431. package/docs/modules/ObjectReferencesList.html +1 -0
  432. package/docs/modules/ObjectsListSpecialProperties.html +1 -3
  433. package/docs/modules/OptionalGUID.html +1 -0
  434. package/docs/modules/PlayerSpecialProperties.html +1 -3
  435. package/docs/modules/PowerLineSpecialProperties.html +1 -3
  436. package/docs/modules/PropertiesList.html +1 -5
  437. package/docs/modules/SatisfactorySaveHeader.html +1 -3
  438. package/docs/modules/SaveBodyChunks.html +1 -5
  439. package/docs/modules/SaveBodyValidation.html +2 -4
  440. package/docs/modules/SetProperty.html +1 -5
  441. package/docs/modules/SingleProperty.html +1 -0
  442. package/docs/modules/SoftObjectProperty.html +1 -6
  443. package/docs/modules/SoftObjectReference.html +1 -3
  444. package/docs/modules/SpecialDroneActionProperties.html +1 -3
  445. package/docs/modules/SpecialProperties.html +1 -4
  446. package/docs/modules/StrProperty.html +1 -6
  447. package/docs/modules/StructProperty.html +1 -6
  448. package/docs/modules/TOCBlob.html +2 -0
  449. package/docs/modules/TextProperty.html +1 -6
  450. package/docs/modules/Transform.html +2 -6
  451. package/docs/modules/Uint32Property.html +1 -6
  452. package/docs/modules/Uint64Property.html +1 -6
  453. package/docs/modules/Uint8Property.html +1 -6
  454. package/docs/modules/VehiclePhysicsData.html +1 -3
  455. package/docs/modules/VehicleSpecialProperties.html +1 -3
  456. package/docs/modules/col4.html +1 -5
  457. package/docs/modules/vec2.html +1 -5
  458. package/docs/modules/vec3.html +1 -12
  459. package/docs/modules/vec4.html +1 -5
  460. package/docs/modules.html +1 -263
  461. package/docs/types/AbstractBaseProperty.html +14 -0
  462. package/docs/types/ArrayProperty.html +1 -0
  463. package/docs/types/BasicMultipleStructPropertyValue.html +2 -1
  464. package/docs/types/BasicStructPropertyValue.html +2 -1
  465. package/docs/types/BlueprintHeader.html +8 -0
  466. package/docs/types/BlueprintReaderWriterContext.html +7 -2
  467. package/docs/types/BoolArrayProperty.html +1 -0
  468. package/docs/types/BoolProperty.html +1 -0
  469. package/docs/types/BoxStructPropertyValue.html +4 -1
  470. package/docs/types/BuildableSubsystemSpecialProperties.html +4 -0
  471. package/docs/types/BuildableTypeInstance.html +14 -0
  472. package/docs/types/ByteArrayProperty.html +1 -0
  473. package/docs/types/ByteProperty.html +1 -0
  474. package/docs/types/BytePropertyValue.html +3 -1
  475. package/docs/types/ChunkCompressionInfo.html +5 -1
  476. package/docs/types/ChunkSummary.html +3 -1
  477. package/docs/types/CircuitSpecialProperties.html +3 -0
  478. package/docs/types/ConveyorChainActorSpecialProperties.html +10 -0
  479. package/docs/types/ConveyorChainSegmentSpecialProperties.html +10 -1
  480. package/docs/types/ConveyorItemSpecialProperties.html +3 -1
  481. package/docs/types/ConveyorSpecialProperties.html +2 -0
  482. package/docs/types/DoubleArrayProperty.html +1 -0
  483. package/docs/types/DoubleProperty.html +1 -0
  484. package/docs/types/DynamicStructPropertyValue.html +3 -0
  485. package/docs/types/EmptySpecialProperties.html +2 -0
  486. package/docs/types/EnumArrayProperty.html +1 -0
  487. package/docs/types/EnumProperty.html +1 -0
  488. package/docs/types/FClientIdentityInfo.html +4 -0
  489. package/docs/types/FColor.html +2 -0
  490. package/docs/types/FCustomVersion.html +3 -0
  491. package/docs/types/FCustomVersionContainer.html +2 -0
  492. package/docs/types/FEngineVersion.html +6 -0
  493. package/docs/types/FGDynamicStruct.html +10 -0
  494. package/docs/types/FICFrameRange.html +3 -0
  495. package/docs/types/FICFrameRangeStructPropertyValue.html +3 -1
  496. package/docs/types/FINGPUT1BufferPixel.html +4 -0
  497. package/docs/types/FINItemStateFileSystem.html +2 -0
  498. package/docs/types/FINLuaRuntimePersistenceState.html +7 -0
  499. package/docs/types/FINNetworkTrace.html +4 -0
  500. package/docs/types/FIRInstancedStruct.html +1 -0
  501. package/docs/types/FLBBalancerIndexing.html +5 -0
  502. package/docs/types/FLinearColor.html +2 -0
  503. package/docs/types/FLocalUserNetIdBundle.html +4 -0
  504. package/docs/types/FPackageFileVersion.html +3 -0
  505. package/docs/types/FPlayerInfoHandle.html +3 -0
  506. package/docs/types/FPropertyTag.html +16 -0
  507. package/docs/types/FPropertyTagNode.html +3 -0
  508. package/docs/types/FSaveObjectVersionData.html +6 -0
  509. package/docs/types/FUniqueNetIdRepl.html +3 -0
  510. package/docs/types/FloatArrayProperty.html +1 -0
  511. package/docs/types/FloatProperty.html +1 -0
  512. package/docs/types/GENERIC_MAP_KEY_TYPE.html +1 -1
  513. package/docs/types/GENERIC_MAP_VALUE_TYPE.html +1 -1
  514. package/docs/types/GENERIC_STRUCT_PROPERTY_VALUE.html +1 -1
  515. package/docs/types/GUID.html +2 -0
  516. package/docs/types/Grids.html +1 -1
  517. package/docs/types/HierarchyVersion.html +5 -0
  518. package/docs/types/Int64ArrayProperty.html +1 -0
  519. package/docs/types/Int64Property.html +1 -0
  520. package/docs/types/Int8Property.html +1 -0
  521. package/docs/types/IntArrayProperty.html +1 -0
  522. package/docs/types/IntProperty.html +1 -0
  523. package/docs/types/IntSetProperty.html +1 -0
  524. package/docs/types/InterfaceArrayProperty.html +1 -0
  525. package/docs/types/InterfaceProperty.html +1 -0
  526. package/docs/types/InventoryItemStructPropertyValue.html +4 -1
  527. package/docs/types/LBBalancerIndexing.html +4 -0
  528. package/docs/types/Level.html +9 -0
  529. package/docs/types/LevelToDestroyedActorsMap.html +1 -0
  530. package/docs/types/Levels.html +1 -1
  531. package/docs/types/MD5Hash.html +4 -0
  532. package/docs/types/MapProperty.html +1 -0
  533. package/docs/types/ModData.html +4 -1
  534. package/docs/types/NameProperty.html +1 -0
  535. package/docs/types/NameSetProperty.html +1 -0
  536. package/docs/types/ObjectArrayProperty.html +1 -0
  537. package/docs/types/ObjectProperty.html +1 -0
  538. package/docs/types/ObjectReference.html +4 -0
  539. package/docs/types/ObjectSetProperty.html +1 -0
  540. package/docs/types/ObjectsListSpecialProperties.html +3 -0
  541. package/docs/types/OptionalGUID.html +2 -0
  542. package/docs/types/PlayerSpecialProperties.html +5 -0
  543. package/docs/types/PowerLineSpecialProperties.html +6 -0
  544. package/docs/types/PropertiesMap.html +1 -1
  545. package/docs/types/RailroadTrackPositionStructPropertyValue.html +5 -1
  546. package/docs/types/ReaderWriterContext.html +2 -2
  547. package/docs/types/RoughSaveVersion.html +1 -1
  548. package/docs/types/SatisfactoryModMetadata.html +4 -1
  549. package/docs/types/SatisfactorySaveHeader.html +19 -0
  550. package/docs/types/SaveBodyChunks.html +3 -0
  551. package/docs/types/SaveBodyValidation.html +2 -0
  552. package/docs/types/SaveReaderWriterContext.html +11 -3
  553. package/docs/types/SetProperty.html +1 -0
  554. package/docs/types/SingleProperty.html +1 -0
  555. package/docs/types/SoftObjectArrayProperty.html +1 -0
  556. package/docs/types/SoftObjectProperty.html +1 -0
  557. package/docs/types/SoftObjectReference.html +4 -0
  558. package/docs/types/SpecialDroneAction.html +3 -1
  559. package/docs/types/SpecialDroneActionProperties.html +4 -0
  560. package/docs/types/SpecialProperties.AvailableSpecialPropertiesTypes.html +1 -1
  561. package/docs/types/StrArrayProperty.html +1 -0
  562. package/docs/types/StrProperty.html +1 -0
  563. package/docs/types/StrSetProperty.html +1 -0
  564. package/docs/types/StructArrayProperty.html +1 -0
  565. package/docs/types/StructProperty.html +1 -0
  566. package/docs/types/StructSetProperty.html +1 -0
  567. package/docs/types/TextArrayProperty.html +1 -0
  568. package/docs/types/TextProperty.html +1 -0
  569. package/docs/types/TextPropertyValue.html +13 -1
  570. package/docs/types/Transform.html +5 -0
  571. package/docs/types/Uint32Property.html +1 -0
  572. package/docs/types/Uint32SetProperty.html +1 -0
  573. package/docs/types/Uint64Property.html +1 -0
  574. package/docs/types/Uint8Property.html +1 -0
  575. package/docs/types/VehiclePhysicsData.html +7 -0
  576. package/docs/types/VehicleSpecialProperties.html +5 -0
  577. package/docs/types/col4.html +6 -0
  578. package/docs/types/vec2.html +4 -0
  579. package/docs/types/vec3.html +2 -0
  580. package/docs/types/vec4.html +2 -0
  581. package/docs/variables/DEFAULT_SATISFACTORY_CHUNK_HEADER_SIZE.html +1 -1
  582. package/docs/variables/EDIT.html +2 -2
  583. package/docs/variables/FINItemStateFileSystem.ExactStructReference.html +1 -1
  584. package/docs/variables/SaveBodyChunks.HEADER_V1.html +1 -1
  585. package/docs/variables/SaveBodyChunks.HEADER_V2.html +1 -1
  586. package/docs/variables/isBoolArrayProperty.html +1 -0
  587. package/docs/variables/isByteArrayProperty.html +1 -0
  588. package/docs/variables/isDoubleArrayProperty.html +1 -0
  589. package/docs/variables/isEnumArrayProperty.html +1 -0
  590. package/docs/variables/isFloatArrayProperty.html +1 -0
  591. package/docs/variables/isInt64ArrayProperty.html +1 -0
  592. package/docs/variables/isIntArrayProperty.html +1 -0
  593. package/docs/variables/isIntSetProperty.html +1 -0
  594. package/docs/variables/isInterfaceArrayProperty.html +1 -0
  595. package/docs/variables/isNameSetProperty.html +1 -0
  596. package/docs/variables/isObjectArrayProperty.html +1 -0
  597. package/docs/variables/isObjectSetProperty.html +1 -0
  598. package/docs/variables/isSoftObjectArrayProperty.html +1 -0
  599. package/docs/variables/isStrArrayProperty.html +1 -0
  600. package/docs/variables/isStrSetProperty.html +1 -0
  601. package/docs/variables/isStructArrayPRoperty.html +1 -0
  602. package/docs/variables/isStructSetProperty.html +1 -0
  603. package/docs/variables/isTextArrayProperty.html +1 -0
  604. package/docs/variables/isUint32SetProperty.html +1 -0
  605. package/package.json +1 -1
  606. package/docs/classes/SaveStreamJsonStringifier.html +0 -5
  607. package/docs/classes/SaveStreamWriter.html +0 -16
  608. package/docs/functions/AbstractBaseProperty.Create.html +0 -1
  609. package/docs/functions/ArrayProperty.CalcOverhead.html +0 -1
  610. package/docs/functions/BoolArrayProperty.Parse.html +0 -1
  611. package/docs/functions/BoolArrayProperty.Serialize.html +0 -1
  612. package/docs/functions/BoolProperty.CalcOverhead.html +0 -1
  613. package/docs/functions/ByteArrayProperty.Parse.html +0 -1
  614. package/docs/functions/ByteArrayProperty.Serialize.html +0 -1
  615. package/docs/functions/ByteProperty.CalcOverhead.html +0 -1
  616. package/docs/functions/DoubleArrayProperty.Parse.html +0 -1
  617. package/docs/functions/DoubleArrayProperty.Serialize.html +0 -1
  618. package/docs/functions/DoubleProperty.CalcOverhead.html +0 -1
  619. package/docs/functions/EnumArrayProperty.Parse.html +0 -1
  620. package/docs/functions/EnumArrayProperty.Serialize.html +0 -1
  621. package/docs/functions/EnumProperty.CalcOverhead.html +0 -1
  622. package/docs/functions/FloatArrayProperty.Parse.html +0 -1
  623. package/docs/functions/FloatArrayProperty.Serialize.html +0 -1
  624. package/docs/functions/FloatProperty.CalcOverhead.html +0 -1
  625. package/docs/functions/GUIDInfo.read.html +0 -1
  626. package/docs/functions/GUIDInfo.write.html +0 -1
  627. package/docs/functions/Int32ArrayProperty.Parse.html +0 -1
  628. package/docs/functions/Int32ArrayProperty.Serialize.html +0 -1
  629. package/docs/functions/Int32Property.CalcOverhead.html +0 -1
  630. package/docs/functions/Int32Property.Parse.html +0 -1
  631. package/docs/functions/Int32Property.ReadValue.html +0 -1
  632. package/docs/functions/Int32Property.Serialize.html +0 -1
  633. package/docs/functions/Int32Property.SerializeValue.html +0 -1
  634. package/docs/functions/Int32SetProperty.Parse.html +0 -1
  635. package/docs/functions/Int32SetProperty.Serialize.html +0 -1
  636. package/docs/functions/Int64ArrayProperty.Parse.html +0 -1
  637. package/docs/functions/Int64ArrayProperty.Serialize.html +0 -1
  638. package/docs/functions/Int64Property.CalcOverhead.html +0 -1
  639. package/docs/functions/Int8Property.CalcOverhead.html +0 -1
  640. package/docs/functions/Level.ReadAllObjectContents.html +0 -1
  641. package/docs/functions/Level.ReadAllObjectHeaders.html +0 -1
  642. package/docs/functions/Level.ReadLevel.html +0 -1
  643. package/docs/functions/Level.ReadNObjectContents.html +0 -1
  644. package/docs/functions/Level.ReadNObjectHeaders.html +0 -1
  645. package/docs/functions/Level.SerializeAllObjectContents.html +0 -1
  646. package/docs/functions/Level.SerializeAllObjectHeaders.html +0 -1
  647. package/docs/functions/Level.SerializeLevel.html +0 -1
  648. package/docs/functions/MapProperty.CalcOverhead.html +0 -1
  649. package/docs/functions/ObjectArrayProperty.Parse.html +0 -1
  650. package/docs/functions/ObjectArrayProperty.Serialize.html +0 -1
  651. package/docs/functions/ObjectProperty.CalcOverhead.html +0 -1
  652. package/docs/functions/ObjectSetProperty.Parse.html +0 -1
  653. package/docs/functions/ObjectSetProperty.Serialize.html +0 -1
  654. package/docs/functions/SetProperty.CalcOverhead.html +0 -1
  655. package/docs/functions/SoftObjectArrayProperty.Parse.html +0 -1
  656. package/docs/functions/SoftObjectArrayProperty.Serialize.html +0 -1
  657. package/docs/functions/SoftObjectProperty.CalcOverhead.html +0 -1
  658. package/docs/functions/StrArrayProperty.Parse.html +0 -1
  659. package/docs/functions/StrArrayProperty.Serialize.html +0 -1
  660. package/docs/functions/StrProperty.CalcOverhead.html +0 -1
  661. package/docs/functions/StrSetProperty.Parse.html +0 -1
  662. package/docs/functions/StrSetProperty.Serialize.html +0 -1
  663. package/docs/functions/StructArrayProperty.Parse.html +0 -1
  664. package/docs/functions/StructArrayProperty.Serialize.html +0 -1
  665. package/docs/functions/StructProperty.CalcOverhead.html +0 -1
  666. package/docs/functions/StructSetProperty.Parse.html +0 -1
  667. package/docs/functions/StructSetProperty.Serialize.html +0 -1
  668. package/docs/functions/TextArrayProperty.Parse.html +0 -1
  669. package/docs/functions/TextArrayProperty.Serialize.html +0 -1
  670. package/docs/functions/TextProperty.CalcOverhead.html +0 -1
  671. package/docs/functions/Uint32Property.CalcOverhead.html +0 -1
  672. package/docs/functions/Uint32SetProperty.Parse.html +0 -1
  673. package/docs/functions/Uint32SetProperty.Serialize.html +0 -1
  674. package/docs/functions/Uint64Property.CalcOverhead.html +0 -1
  675. package/docs/functions/Uint8Property.CalcOverhead.html +0 -1
  676. package/docs/functions/isBoolArrayProperty.html +0 -1
  677. package/docs/functions/isByteArrayProperty.html +0 -1
  678. package/docs/functions/isDoubleArrayProperty.html +0 -1
  679. package/docs/functions/isEnumArrayProperty.html +0 -1
  680. package/docs/functions/isFloatArrayProperty.html +0 -1
  681. package/docs/functions/isInt32ArrayProperty.html +0 -1
  682. package/docs/functions/isInt32Property.html +0 -1
  683. package/docs/functions/isInt32SetProperty.html +0 -1
  684. package/docs/functions/isInt64ArrayProperty.html +0 -1
  685. package/docs/functions/isObjectArrayProperty.html +0 -1
  686. package/docs/functions/isObjectSetProperty.html +0 -1
  687. package/docs/functions/isSoftObjectArrayProperty.html +0 -1
  688. package/docs/functions/isStrArrayProperty.html +0 -1
  689. package/docs/functions/isStrSetProperty.html +0 -1
  690. package/docs/functions/isStructArrayProperty.html +0 -1
  691. package/docs/functions/isStructSetProperty.html +0 -1
  692. package/docs/functions/isTextArrayProperty.html +0 -1
  693. package/docs/functions/isUint32SetProperty.html +0 -1
  694. package/docs/interfaces/BlueprintConfig-1.html +0 -8
  695. package/docs/modules/BoolArrayProperty.html +0 -3
  696. package/docs/modules/ByteArrayProperty.html +0 -3
  697. package/docs/modules/DoubleArrayProperty.html +0 -3
  698. package/docs/modules/EnumArrayProperty.html +0 -3
  699. package/docs/modules/FloatArrayProperty.html +0 -3
  700. package/docs/modules/GUIDInfo.html +0 -3
  701. package/docs/modules/Int32ArrayProperty.html +0 -3
  702. package/docs/modules/Int32Property.html +0 -6
  703. package/docs/modules/Int32SetProperty.html +0 -3
  704. package/docs/modules/Int64ArrayProperty.html +0 -3
  705. package/docs/modules/ObjectArrayProperty.html +0 -3
  706. package/docs/modules/ObjectSetProperty.html +0 -3
  707. package/docs/modules/SoftObjectArrayProperty.html +0 -3
  708. package/docs/modules/StrArrayProperty.html +0 -3
  709. package/docs/modules/StrSetProperty.html +0 -3
  710. package/docs/modules/StructArrayProperty.html +0 -3
  711. package/docs/modules/StructSetProperty.html +0 -3
  712. package/docs/modules/TextArrayProperty.html +0 -3
  713. package/docs/modules/Uint32SetProperty.html +0 -3
  714. package/docs/types/AbstractBaseProperty-1.html +0 -7
  715. package/docs/types/ArrayProperty.AvailableArrayPropertyTypes.html +0 -1
  716. package/docs/types/ArrayPropertyStructValueFields.html +0 -1
  717. package/docs/types/BlueprintHeader-1.html +0 -1
  718. package/docs/types/BoolArrayProperty-1.html +0 -1
  719. package/docs/types/BoolProperty-1.html +0 -1
  720. package/docs/types/BuildableSubsystemSpecialProperties-1.html +0 -1
  721. package/docs/types/BuildableTypeInstance-1.html +0 -1
  722. package/docs/types/ByteArrayProperty-1.html +0 -1
  723. package/docs/types/ByteProperty-1.html +0 -1
  724. package/docs/types/CircuitSpecialProperties-1.html +0 -1
  725. package/docs/types/ConveyorChainActorSpecialProperties-1.html +0 -1
  726. package/docs/types/ConveyorSpecialProperties-1.html +0 -1
  727. package/docs/types/DoubleArrayProperty-1.html +0 -1
  728. package/docs/types/DoubleProperty-1.html +0 -1
  729. package/docs/types/DynamicStructPropertyValue-1.html +0 -1
  730. package/docs/types/EmptySpecialProperties-1.html +0 -1
  731. package/docs/types/EnumArrayProperty-1.html +0 -1
  732. package/docs/types/EnumProperty-1.html +0 -1
  733. package/docs/types/FClientIdentityInfo-1.html +0 -2
  734. package/docs/types/FColor-1.html +0 -2
  735. package/docs/types/FGDynamicStruct-1.html +0 -6
  736. package/docs/types/FICFrameRange-1.html +0 -1
  737. package/docs/types/FINGPUT1BufferPixel-1.html +0 -1
  738. package/docs/types/FINItemStateFileSystem-1.html +0 -2
  739. package/docs/types/FINNetworkTrace-1.html +0 -1
  740. package/docs/types/FLBBalancerIndexing-1.html +0 -2
  741. package/docs/types/FLinearColor-1.html +0 -2
  742. package/docs/types/FloatArrayProperty-1.html +0 -1
  743. package/docs/types/FloatProperty-1.html +0 -1
  744. package/docs/types/GUID-1.html +0 -2
  745. package/docs/types/GUIDInfo-1.html +0 -2
  746. package/docs/types/Int32ArrayProperty-1.html +0 -1
  747. package/docs/types/Int32Property-1.html +0 -1
  748. package/docs/types/Int32SetProperty-1.html +0 -1
  749. package/docs/types/Int64ArrayProperty-1.html +0 -1
  750. package/docs/types/Int64Property-1.html +0 -1
  751. package/docs/types/Int8Property-1.html +0 -1
  752. package/docs/types/Level-1.html +0 -2
  753. package/docs/types/LevelToDestroyedActorsMap-1.html +0 -1
  754. package/docs/types/MAP_STRUCT_PROXY.html +0 -1
  755. package/docs/types/MD5Hash-1.html +0 -2
  756. package/docs/types/MapProperty-1.html +0 -1
  757. package/docs/types/ObjectArrayProperty-1.html +0 -1
  758. package/docs/types/ObjectProperty-1.html +0 -1
  759. package/docs/types/ObjectReference-1.html +0 -2
  760. package/docs/types/ObjectSetProperty-1.html +0 -1
  761. package/docs/types/ObjectsListSpecialProperties-1.html +0 -1
  762. package/docs/types/PlayerSpecialProperties-1.html +0 -1
  763. package/docs/types/PowerLineSpecialProperties-1.html +0 -1
  764. package/docs/types/SatisfactorySaveHeader-1.html +0 -1
  765. package/docs/types/SaveBodyChunks-1.html +0 -1
  766. package/docs/types/SaveBodyValidation-1.html +0 -1
  767. package/docs/types/SetProperty.AvailableSetPropertyTypes.html +0 -1
  768. package/docs/types/SoftObjectArrayProperty-1.html +0 -1
  769. package/docs/types/SoftObjectProperty-1.html +0 -1
  770. package/docs/types/SoftObjectReference-1.html +0 -1
  771. package/docs/types/SpecialDroneActionProperties-1.html +0 -1
  772. package/docs/types/StrArrayProperty-1.html +0 -1
  773. package/docs/types/StrProperty-1.html +0 -1
  774. package/docs/types/StrSetProperty-1.html +0 -1
  775. package/docs/types/StructArrayProperty-1.html +0 -1
  776. package/docs/types/StructProperty-1.html +0 -1
  777. package/docs/types/StructSetProperty-1.html +0 -1
  778. package/docs/types/TextArrayProperty-1.html +0 -1
  779. package/docs/types/TextProperty-1.html +0 -1
  780. package/docs/types/Transform-1.html +0 -2
  781. package/docs/types/Uint32Property-1.html +0 -1
  782. package/docs/types/Uint32SetProperty-1.html +0 -1
  783. package/docs/types/Uint64Property-1.html +0 -1
  784. package/docs/types/Uint8Property-1.html +0 -1
  785. package/docs/types/VehiclePhysicsData-1.html +0 -1
  786. package/docs/types/VehicleSpecialProperties-1.html +0 -1
  787. package/docs/types/col4-1.html +0 -2
  788. package/docs/types/vec2-1.html +0 -2
  789. package/docs/types/vec3-1.html +0 -2
  790. package/docs/types/vec4-1.html +0 -2
package/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Changelog
2
2
  Make sure to use the same version for parsing and serializing saves, if possible.
3
3
 
4
+ ### [4.0.1] (2026-04-18)
5
+ ### Bugfix
6
+ * ByteProperty wasnt read correctly, when node purities were overwritten from 1.2 game mode.
7
+ * Harden some type guards
8
+
4
9
  ### [4.0.0] (2026-04-18)
5
10
  ## 1.2 Support, Breaking Changes
6
11
  * Supporting 1.2 Saves and Blueprints. Usage from parsing did not change, but properties quite a bit. Taking the chance to trim some fat. Reach out if you still find bugs or have other ideas.
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SaveComponent = exports.isSaveComponent = void 0;
4
4
  const SaveObject_1 = require("./SaveObject");
5
5
  const isSaveComponent = (obj) => {
6
- return obj.type === 'SaveComponent';
6
+ return obj !== null && typeof obj === 'object' && 'type' in obj && obj.type === 'SaveComponent';
7
7
  };
8
8
  exports.isSaveComponent = isSaveComponent;
9
9
  class SaveComponent extends SaveObject_1.SaveObject {
@@ -1 +1 @@
1
- {"version":3,"file":"SaveComponent.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/objects/SaveComponent.ts"],"names":[],"mappings":";;;AAGA,6CAA4D;AAErD,MAAM,eAAe,GAAG,CAAC,GAAQ,EAAwB,EAAE;IACjE,OAAO,GAAG,CAAC,IAAI,KAAK,eAAe,CAAC;AACrC,CAAC,CAAA;AAFY,QAAA,eAAe,mBAE3B;AAMD,MAAa,aAAc,SAAQ,uBAAU;IAK5C,YAAmB,QAAgB,EAAS,UAAkB,EAAS,YAAoB,EAAS,mBAAmB,EAAE;QACxH,KAAK,CAAC,QAAQ,EAAE,UAAU,EAAE,YAAY,CAAC,CAAC;QADxB,aAAQ,GAAR,QAAQ,CAAQ;QAAS,eAAU,GAAV,UAAU,CAAQ;QAAS,iBAAY,GAAZ,YAAY,CAAQ;QAAS,qBAAgB,GAAhB,gBAAgB,CAAK;QAFzG,SAAI,GAAG,eAAe,CAAC;IAIvC,CAAC;IAEM,MAAM,CAAC,WAAW,CAAC,MAAkB,EAAE,GAAkB;QAC/D,uBAAU,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QACpC,GAAG,CAAC,gBAAgB,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;IAC5C,CAAC;IAEM,MAAM,CAAC,eAAe,CAAC,MAAqB,EAAE,SAAwB;QAC5E,uBAAU,CAAC,eAAe,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QAC9C,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAChD,CAAC;IAEM,MAAM,CAAC,SAAS,CAAC,SAAwB,EAAE,MAAc,EAAE,MAAqB,EAAE,QAAgB;QACxG,uBAAU,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC3D,CAAC;;AArBF,sCAsBC;AArBuB,oBAAM,GAAG,CAAC,AAAJ,CAAK","sourcesContent":["import { ByteReader } from '../../../byte/byte-reader.class';\nimport { ContextReader } from '../../../context/context-reader';\nimport { ContextWriter } from '../../../context/context-writer';\nimport { SaveObject, SaveObjectHeader } from \"./SaveObject\";\n\nexport const isSaveComponent = (obj: any): obj is SaveComponent => {\n\treturn obj.type === 'SaveComponent';\n}\n\nexport interface SaveComponentHeader extends SaveObjectHeader {\n\tparentEntityName: string;\n}\n\nexport class SaveComponent extends SaveObject implements SaveComponentHeader {\n\tpublic static readonly TypeID = 0;\n\n\tpublic readonly type = 'SaveComponent';\n\n\tconstructor(public typePath: string, public rootObject: string, public instanceName: string, public parentEntityName = '') {\n\t\tsuper(typePath, rootObject, instanceName);\n\t}\n\n\tpublic static ParseHeader(reader: ByteReader, obj: SaveComponent): void {\n\t\tSaveObject.ParseHeader(reader, obj);\n\t\tobj.parentEntityName = reader.readString();\n\t}\n\n\tpublic static SerializeHeader(writer: ContextWriter, component: SaveComponent) {\n\t\tSaveObject.SerializeHeader(writer, component);\n\t\twriter.writeString(component.parentEntityName);\n\t}\n\n\tpublic static ParseData(component: SaveComponent, length: number, reader: ContextReader, typePath: string): void {\n\t\tSaveObject.ParseData(component, length, reader, typePath);\n\t}\n}"]}
1
+ {"version":3,"file":"SaveComponent.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/objects/SaveComponent.ts"],"names":[],"mappings":";;;AAGA,6CAA4D;AAErD,MAAM,eAAe,GAAG,CAAC,GAAQ,EAAwB,EAAE;IACjE,OAAO,GAAG,KAAK,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,KAAK,eAAe,CAAC;AACjG,CAAC,CAAA;AAFY,QAAA,eAAe,mBAE3B;AAMD,MAAa,aAAc,SAAQ,uBAAU;IAK5C,YAAmB,QAAgB,EAAS,UAAkB,EAAS,YAAoB,EAAS,mBAAmB,EAAE;QACxH,KAAK,CAAC,QAAQ,EAAE,UAAU,EAAE,YAAY,CAAC,CAAC;QADxB,aAAQ,GAAR,QAAQ,CAAQ;QAAS,eAAU,GAAV,UAAU,CAAQ;QAAS,iBAAY,GAAZ,YAAY,CAAQ;QAAS,qBAAgB,GAAhB,gBAAgB,CAAK;QAFzG,SAAI,GAAG,eAAe,CAAC;IAIvC,CAAC;IAEM,MAAM,CAAC,WAAW,CAAC,MAAkB,EAAE,GAAkB;QAC/D,uBAAU,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QACpC,GAAG,CAAC,gBAAgB,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;IAC5C,CAAC;IAEM,MAAM,CAAC,eAAe,CAAC,MAAqB,EAAE,SAAwB;QAC5E,uBAAU,CAAC,eAAe,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QAC9C,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAChD,CAAC;IAEM,MAAM,CAAC,SAAS,CAAC,SAAwB,EAAE,MAAc,EAAE,MAAqB,EAAE,QAAgB;QACxG,uBAAU,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC3D,CAAC;;AArBF,sCAsBC;AArBuB,oBAAM,GAAG,CAAC,AAAJ,CAAK","sourcesContent":["import { ByteReader } from '../../../byte/byte-reader.class';\nimport { ContextReader } from '../../../context/context-reader';\nimport { ContextWriter } from '../../../context/context-writer';\nimport { SaveObject, SaveObjectHeader } from \"./SaveObject\";\n\nexport const isSaveComponent = (obj: any): obj is SaveComponent => {\n\treturn obj !== null && typeof obj === 'object' && 'type' in obj && obj.type === 'SaveComponent';\n}\n\nexport interface SaveComponentHeader extends SaveObjectHeader {\n\tparentEntityName: string;\n}\n\nexport class SaveComponent extends SaveObject implements SaveComponentHeader {\n\tpublic static readonly TypeID = 0;\n\n\tpublic readonly type = 'SaveComponent';\n\n\tconstructor(public typePath: string, public rootObject: string, public instanceName: string, public parentEntityName = '') {\n\t\tsuper(typePath, rootObject, instanceName);\n\t}\n\n\tpublic static ParseHeader(reader: ByteReader, obj: SaveComponent): void {\n\t\tSaveObject.ParseHeader(reader, obj);\n\t\tobj.parentEntityName = reader.readString();\n\t}\n\n\tpublic static SerializeHeader(writer: ContextWriter, component: SaveComponent) {\n\t\tSaveObject.SerializeHeader(writer, component);\n\t\twriter.writeString(component.parentEntityName);\n\t}\n\n\tpublic static ParseData(component: SaveComponent, length: number, reader: ContextReader, typePath: string): void {\n\t\tSaveObject.ParseData(component, length, reader, typePath);\n\t}\n}"]}
@@ -5,7 +5,7 @@ const ObjectReference_1 = require("../structs/ObjectReference");
5
5
  const Transform_1 = require("../structs/Transform");
6
6
  const SaveObject_1 = require("./SaveObject");
7
7
  const isSaveEntity = (obj) => {
8
- return obj.type === 'SaveEntity';
8
+ return obj !== null && typeof obj === 'object' && 'type' in obj && obj.type === 'SaveEntity';
9
9
  };
10
10
  exports.isSaveEntity = isSaveEntity;
11
11
  class SaveEntity extends SaveObject_1.SaveObject {
@@ -1 +1 @@
1
- {"version":3,"file":"SaveEntity.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/objects/SaveEntity.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAC7D,oDAAiD;AACjD,6CAA4D;AAErD,MAAM,YAAY,GAAG,CAAC,GAAQ,EAAqB,EAAE;IAC3D,OAAO,GAAG,CAAC,IAAI,KAAK,YAAY,CAAC;AAClC,CAAC,CAAA;AAFY,QAAA,YAAY,gBAExB;AAQD,MAAa,UAAW,SAAQ,uBAAU;IAWzC,YAAmB,QAAgB,EAAS,UAAkB,EAAS,YAAoB,EAAS,mBAAmB,EAAE,EAAE,iBAA0B,KAAK;QACzJ,KAAK,CAAC,QAAQ,EAAE,UAAU,EAAE,YAAY,CAAC,CAAC;QADxB,aAAQ,GAAR,QAAQ,CAAQ;QAAS,eAAU,GAAV,UAAU,CAAQ;QAAS,iBAAY,GAAZ,YAAY,CAAQ;QAAS,qBAAgB,GAAhB,gBAAgB,CAAK;QARzG,SAAI,GAAG,YAAY,CAAC;QAUnC,IAAI,CAAC,aAAa,GAAG,cAAc,CAAC;QACpC,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,YAAY,GAAG,EAAE,SAAS,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC;QACpD,IAAI,CAAC,SAAS,GAAG;YAChB,QAAQ,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;YACpC,WAAW,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;YACjC,OAAO,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;SAC7B,CAAA;QACD,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;IACtB,CAAC;IAEM,MAAM,CAAC,WAAW,CAAC,MAAqB,EAAE,GAAe;QAC/D,uBAAU,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QACpC,GAAG,CAAC,aAAa,GAAG,MAAM,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QAC5C,GAAG,CAAC,SAAS,GAAG,qBAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACzC,GAAG,CAAC,gBAAgB,GAAG,MAAM,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAChD,CAAC;IAEM,MAAM,CAAC,SAAS,CAAC,MAAkB,EAAE,MAAc,EAAE,MAAqB,EAAE,QAAgB;QAElG,MAAM,KAAK,GAAG,MAAM,CAAC,iBAAiB,EAAE,CAAC;QAEzC,MAAM,CAAC,YAAY,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAEnD,IAAI,cAAc,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QACxC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,cAAc,EAAE,CAAC,EAAE,EAAE,CAAC;YACzC,IAAI,YAAY,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAChD,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACtC,CAAC;QAED,MAAM,aAAa,GAAG,MAAM,GAAG,CAAC,MAAM,CAAC,iBAAiB,EAAE,GAAG,KAAK,CAAC,CAAC;QACpE,OAAO,uBAAU,CAAC,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;IACtE,CAAC;IAEM,MAAM,CAAC,eAAe,CAAC,MAAqB,EAAE,MAAkB;QACtE,uBAAU,CAAC,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAE3C,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAChD,qBAAS,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC;QAC/C,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACpD,CAAC;IAEM,MAAM,CAAC,aAAa,CAAC,MAAqB,EAAE,MAAkB;QACpE,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,CAAC,CAAC;QAEnD,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QAC5C,KAAK,MAAM,SAAS,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC;YAC3C,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;YACxC,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QACxC,CAAC;QAED,uBAAU,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;;AAjEF,gCAkEC;AAjEuB,iBAAM,GAAG,CAAC,AAAJ,CAAK","sourcesContent":["\nimport { ContextReader } from '../../../context/context-reader';\nimport { ContextWriter } from '../../../context/context-writer';\nimport { ObjectReference } from \"../structs/ObjectReference\";\nimport { Transform } from '../structs/Transform';\nimport { SaveObject, SaveObjectHeader } from \"./SaveObject\";\n\nexport const isSaveEntity = (obj: any): obj is SaveEntity => {\n\treturn obj.type === 'SaveEntity';\n}\n\nexport interface SaveEntityHeader extends SaveObjectHeader {\n\tneedTransform: boolean;\n\ttransform: Transform;\n\twasPlacedInLevel: boolean;\n}\n\nexport class SaveEntity extends SaveObject {\n\tpublic static readonly TypeID = 1;\n\n\tpublic readonly type = 'SaveEntity';\n\n\tpublic needTransform: boolean;\n\tpublic transform: Transform;\n\tpublic wasPlacedInLevel: boolean;\n\tpublic parentObject: ObjectReference;\n\tpublic components: ObjectReference[];\n\n\tconstructor(public typePath: string, public rootObject: string, public instanceName: string, public parentEntityName = '', needsTransform: boolean = false) {\n\t\tsuper(typePath, rootObject, instanceName);\n\t\tthis.needTransform = needsTransform;\n\t\tthis.wasPlacedInLevel = false;\n\t\tthis.parentObject = { levelName: '', pathName: '' };\n\t\tthis.transform = {\n\t\t\trotation: { x: 0, y: 0, z: 0, w: 1 },\n\t\t\ttranslation: { x: 0, y: 0, z: 0 },\n\t\t\tscale3d: { x: 1, y: 1, z: 1 }\n\t\t}\n\t\tthis.components = [];\n\t}\n\n\tpublic static ParseHeader(reader: ContextReader, obj: SaveEntity): void {\n\t\tSaveObject.ParseHeader(reader, obj);\n\t\tobj.needTransform = reader.readInt32() == 1;\n\t\tobj.transform = Transform.ParseF(reader);\n\t\tobj.wasPlacedInLevel = reader.readInt32() == 1;\n\t}\n\n\tpublic static ParseData(entity: SaveEntity, length: number, reader: ContextReader, typePath: string): void {\n\n\t\tconst start = reader.getBufferPosition();\n\n\t\tentity.parentObject = ObjectReference.read(reader);\n\n\t\tvar componentCount = reader.readInt32();\n\t\tfor (let i = 0; i < componentCount; i++) {\n\t\t\tvar componentRef = ObjectReference.read(reader);\n\t\t\tentity.components.push(componentRef);\n\t\t}\n\n\t\tconst remainingSize = length - (reader.getBufferPosition() - start);\n\t\treturn SaveObject.ParseData(entity, remainingSize, reader, typePath);\n\t}\n\n\tpublic static SerializeHeader(writer: ContextWriter, entity: SaveEntity): void {\n\t\tSaveObject.SerializeHeader(writer, entity);\n\n\t\twriter.writeInt32(entity.needTransform ? 1 : 0);\n\t\tTransform.SerializeF(writer, entity.transform);\n\t\twriter.writeInt32(entity.wasPlacedInLevel ? 1 : 0);\n\t}\n\n\tpublic static SerializeData(writer: ContextWriter, entity: SaveEntity): void {\n\t\tObjectReference.write(writer, entity.parentObject);\n\n\t\twriter.writeInt32(entity.components.length);\n\t\tfor (const component of entity.components) {\n\t\t\twriter.writeString(component.levelName);\n\t\t\twriter.writeString(component.pathName);\n\t\t}\n\n\t\tSaveObject.SerializeData(writer, entity);\n\t}\n}\n"]}
1
+ {"version":3,"file":"SaveEntity.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/objects/SaveEntity.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAC7D,oDAAiD;AACjD,6CAA4D;AAErD,MAAM,YAAY,GAAG,CAAC,GAAQ,EAAqB,EAAE;IAC3D,OAAO,GAAG,KAAK,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,KAAK,YAAY,CAAC;AAC9F,CAAC,CAAA;AAFY,QAAA,YAAY,gBAExB;AAQD,MAAa,UAAW,SAAQ,uBAAU;IAWzC,YAAmB,QAAgB,EAAS,UAAkB,EAAS,YAAoB,EAAS,mBAAmB,EAAE,EAAE,iBAA0B,KAAK;QACzJ,KAAK,CAAC,QAAQ,EAAE,UAAU,EAAE,YAAY,CAAC,CAAC;QADxB,aAAQ,GAAR,QAAQ,CAAQ;QAAS,eAAU,GAAV,UAAU,CAAQ;QAAS,iBAAY,GAAZ,YAAY,CAAQ;QAAS,qBAAgB,GAAhB,gBAAgB,CAAK;QARzG,SAAI,GAAG,YAAY,CAAC;QAUnC,IAAI,CAAC,aAAa,GAAG,cAAc,CAAC;QACpC,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,YAAY,GAAG,EAAE,SAAS,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC;QACpD,IAAI,CAAC,SAAS,GAAG;YAChB,QAAQ,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;YACpC,WAAW,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;YACjC,OAAO,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;SAC7B,CAAA;QACD,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;IACtB,CAAC;IAEM,MAAM,CAAC,WAAW,CAAC,MAAqB,EAAE,GAAe;QAC/D,uBAAU,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QACpC,GAAG,CAAC,aAAa,GAAG,MAAM,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QAC5C,GAAG,CAAC,SAAS,GAAG,qBAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACzC,GAAG,CAAC,gBAAgB,GAAG,MAAM,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAChD,CAAC;IAEM,MAAM,CAAC,SAAS,CAAC,MAAkB,EAAE,MAAc,EAAE,MAAqB,EAAE,QAAgB;QAElG,MAAM,KAAK,GAAG,MAAM,CAAC,iBAAiB,EAAE,CAAC;QAEzC,MAAM,CAAC,YAAY,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAEnD,IAAI,cAAc,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QACxC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,cAAc,EAAE,CAAC,EAAE,EAAE,CAAC;YACzC,IAAI,YAAY,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAChD,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACtC,CAAC;QAED,MAAM,aAAa,GAAG,MAAM,GAAG,CAAC,MAAM,CAAC,iBAAiB,EAAE,GAAG,KAAK,CAAC,CAAC;QACpE,OAAO,uBAAU,CAAC,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;IACtE,CAAC;IAEM,MAAM,CAAC,eAAe,CAAC,MAAqB,EAAE,MAAkB;QACtE,uBAAU,CAAC,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAE3C,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAChD,qBAAS,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC;QAC/C,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACpD,CAAC;IAEM,MAAM,CAAC,aAAa,CAAC,MAAqB,EAAE,MAAkB;QACpE,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,CAAC,CAAC;QAEnD,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QAC5C,KAAK,MAAM,SAAS,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC;YAC3C,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;YACxC,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QACxC,CAAC;QAED,uBAAU,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;;AAjEF,gCAkEC;AAjEuB,iBAAM,GAAG,CAAC,AAAJ,CAAK","sourcesContent":["\nimport { ContextReader } from '../../../context/context-reader';\nimport { ContextWriter } from '../../../context/context-writer';\nimport { ObjectReference } from \"../structs/ObjectReference\";\nimport { Transform } from '../structs/Transform';\nimport { SaveObject, SaveObjectHeader } from \"./SaveObject\";\n\nexport const isSaveEntity = (obj: any): obj is SaveEntity => {\n\treturn obj !== null && typeof obj === 'object' && 'type' in obj && obj.type === 'SaveEntity';\n}\n\nexport interface SaveEntityHeader extends SaveObjectHeader {\n\tneedTransform: boolean;\n\ttransform: Transform;\n\twasPlacedInLevel: boolean;\n}\n\nexport class SaveEntity extends SaveObject {\n\tpublic static readonly TypeID = 1;\n\n\tpublic readonly type = 'SaveEntity';\n\n\tpublic needTransform: boolean;\n\tpublic transform: Transform;\n\tpublic wasPlacedInLevel: boolean;\n\tpublic parentObject: ObjectReference;\n\tpublic components: ObjectReference[];\n\n\tconstructor(public typePath: string, public rootObject: string, public instanceName: string, public parentEntityName = '', needsTransform: boolean = false) {\n\t\tsuper(typePath, rootObject, instanceName);\n\t\tthis.needTransform = needsTransform;\n\t\tthis.wasPlacedInLevel = false;\n\t\tthis.parentObject = { levelName: '', pathName: '' };\n\t\tthis.transform = {\n\t\t\trotation: { x: 0, y: 0, z: 0, w: 1 },\n\t\t\ttranslation: { x: 0, y: 0, z: 0 },\n\t\t\tscale3d: { x: 1, y: 1, z: 1 }\n\t\t}\n\t\tthis.components = [];\n\t}\n\n\tpublic static ParseHeader(reader: ContextReader, obj: SaveEntity): void {\n\t\tSaveObject.ParseHeader(reader, obj);\n\t\tobj.needTransform = reader.readInt32() == 1;\n\t\tobj.transform = Transform.ParseF(reader);\n\t\tobj.wasPlacedInLevel = reader.readInt32() == 1;\n\t}\n\n\tpublic static ParseData(entity: SaveEntity, length: number, reader: ContextReader, typePath: string): void {\n\n\t\tconst start = reader.getBufferPosition();\n\n\t\tentity.parentObject = ObjectReference.read(reader);\n\n\t\tvar componentCount = reader.readInt32();\n\t\tfor (let i = 0; i < componentCount; i++) {\n\t\t\tvar componentRef = ObjectReference.read(reader);\n\t\t\tentity.components.push(componentRef);\n\t\t}\n\n\t\tconst remainingSize = length - (reader.getBufferPosition() - start);\n\t\treturn SaveObject.ParseData(entity, remainingSize, reader, typePath);\n\t}\n\n\tpublic static SerializeHeader(writer: ContextWriter, entity: SaveEntity): void {\n\t\tSaveObject.SerializeHeader(writer, entity);\n\n\t\twriter.writeInt32(entity.needTransform ? 1 : 0);\n\t\tTransform.SerializeF(writer, entity.transform);\n\t\twriter.writeInt32(entity.wasPlacedInLevel ? 1 : 0);\n\t}\n\n\tpublic static SerializeData(writer: ContextWriter, entity: SaveEntity): void {\n\t\tObjectReference.write(writer, entity.parentObject);\n\n\t\twriter.writeInt32(entity.components.length);\n\t\tfor (const component of entity.components) {\n\t\t\twriter.writeString(component.levelName);\n\t\t\twriter.writeString(component.pathName);\n\t\t}\n\n\t\tSaveObject.SerializeData(writer, entity);\n\t}\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"BoolProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/BoolProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAA4F,CAAC;AAExJ,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,eAAe,EAAE;QAAE,IAAI,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACxE,KAAK,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAE1B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,EAAE,YAAY,GAAG,IAAI,CAM5F;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAExD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,CAE7E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAE1E;CACJ"}
1
+ {"version":3,"file":"BoolProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/BoolProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAAkH,CAAC;AAE9K,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,eAAe,EAAE;QAAE,IAAI,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACxE,KAAK,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAE1B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,EAAE,YAAY,GAAG,IAAI,CAM5F;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAExD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,CAE7E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAE1E;CACJ"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BoolProperty = exports.isBoolProperty = void 0;
4
4
  const FPropertyTag_1 = require("../../structs/binary/FPropertyTag");
5
- const isBoolProperty = (property) => !Array.isArray(property) && property.propertyTagType.name === 'BoolProperty';
5
+ const isBoolProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'BoolProperty';
6
6
  exports.isBoolProperty = isBoolProperty;
7
7
  var BoolProperty;
8
8
  (function (BoolProperty) {
@@ -1 +1 @@
1
- {"version":3,"file":"BoolProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/BoolProperty.ts"],"names":[],"mappings":";;;AAEA,oEAAiE;AAK1D,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,KAAK,cAAc,CAAC;AAA3I,QAAA,cAAc,kBAA6H;AAQxJ,IAAiB,YAAY,CAqB5B;AArBD,WAAiB,YAAY;IAEzB,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAsB,EAAE,GAAiB;QAClF,IAAI,2BAAY,CAAC,yBAAyB,CAAC,MAAM,CAAC,EAAE,CAAC;YACjD,QAAQ,CAAC,KAAK,GAAG,CAAC,GAAG,CAAC,KAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/C,CAAC;aAAM,CAAC;YACJ,QAAQ,CAAC,KAAK,GAAG,GAAG,CAAC,SAAU,CAAC;QACpC,CAAC;IACL,CAAC;IANe,kBAAK,QAMpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjC,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAsB;IAEvE,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAc;QAChE,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,CAAC;IAFe,2BAAc,iBAE7B,CAAA;AACL,CAAC,EArBgB,YAAY,4BAAZ,YAAY,QAqB5B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTag } from '../../structs/binary/FPropertyTag';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\n\nexport const isBoolProperty = (property: any): property is BoolProperty => !Array.isArray(property) && property.propertyTagType.name === 'BoolProperty';\n\nexport type BoolProperty = AbstractBaseProperty & {\n type: 'BoolProperty';\n propertyTagType: { name: 'BoolProperty', children: FPropertyTagNode[] };\n value: boolean;\n};\n\nexport namespace BoolProperty {\n\n export function Parse(reader: ContextReader, property: BoolProperty, tag: FPropertyTag): void {\n if (FPropertyTag.IsCompletePropertyTagType(reader)) {\n property.value = (tag.flags! & 0x10) === 1;\n } else {\n property.value = tag.boolValue!;\n }\n }\n\n export function ReadValue(reader: ContextReader): boolean {\n return reader.readByte() > 0;\n }\n\n export function Serialize(writer: ContextWriter, property: BoolProperty): void {\n // done. value is written in tag.\n }\n\n export function SerializeValue(writer: ContextWriter, value: boolean): void {\n writer.writeByte(value ? 1 : 0);\n }\n}\n"]}
1
+ {"version":3,"file":"BoolProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/BoolProperty.ts"],"names":[],"mappings":";;;AAEA,oEAAiE;AAK1D,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,cAAc,CAAC;AAAjK,QAAA,cAAc,kBAAmJ;AAQ9K,IAAiB,YAAY,CAqB5B;AArBD,WAAiB,YAAY;IAEzB,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAsB,EAAE,GAAiB;QAClF,IAAI,2BAAY,CAAC,yBAAyB,CAAC,MAAM,CAAC,EAAE,CAAC;YACjD,QAAQ,CAAC,KAAK,GAAG,CAAC,GAAG,CAAC,KAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/C,CAAC;aAAM,CAAC;YACJ,QAAQ,CAAC,KAAK,GAAG,GAAG,CAAC,SAAU,CAAC;QACpC,CAAC;IACL,CAAC;IANe,kBAAK,QAMpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjC,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAsB;IAEvE,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAc;QAChE,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,CAAC;IAFe,2BAAc,iBAE7B,CAAA;AACL,CAAC,EArBgB,YAAY,4BAAZ,YAAY,QAqB5B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTag } from '../../structs/binary/FPropertyTag';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\n\nexport const isBoolProperty = (property: any): property is BoolProperty => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'BoolProperty';\n\nexport type BoolProperty = AbstractBaseProperty & {\n type: 'BoolProperty';\n propertyTagType: { name: 'BoolProperty', children: FPropertyTagNode[] };\n value: boolean;\n};\n\nexport namespace BoolProperty {\n\n export function Parse(reader: ContextReader, property: BoolProperty, tag: FPropertyTag): void {\n if (FPropertyTag.IsCompletePropertyTagType(reader)) {\n property.value = (tag.flags! & 0x10) === 1;\n } else {\n property.value = tag.boolValue!;\n }\n }\n\n export function ReadValue(reader: ContextReader): boolean {\n return reader.readByte() > 0;\n }\n\n export function Serialize(writer: ContextWriter, property: BoolProperty): void {\n // done. value is written in tag.\n }\n\n export function SerializeValue(writer: ContextWriter, value: boolean): void {\n writer.writeByte(value ? 1 : 0);\n }\n}\n"]}
@@ -1,15 +1,10 @@
1
1
  import { ContextReader } from '../../../../context/context-reader';
2
2
  import { ContextWriter } from '../../../../context/context-writer';
3
3
  import { FPropertyTag } from '../../structs/binary/FPropertyTag';
4
- import { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';
5
4
  import { AbstractBaseProperty } from './AbstractBaseProperty';
6
5
  export declare const isByteProperty: (property: any) => property is ByteProperty;
7
6
  export type ByteProperty = AbstractBaseProperty & {
8
7
  type: 'ByteProperty';
9
- propertyTagType: {
10
- name: 'ByteProperty';
11
- children: FPropertyTagNode[];
12
- };
13
8
  value: BytePropertyValue;
14
9
  };
15
10
  export declare namespace ByteProperty {
@@ -1 +1 @@
1
- {"version":3,"file":"ByteProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/ByteProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAA4F,CAAC;AAExJ,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,eAAe,EAAE;QAAE,IAAI,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACxE,KAAK,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAE1B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,EAAE,YAAY,GAAG,IAAI,CAmB5F;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,CAU7E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ;AACD,MAAM,MAAM,iBAAiB,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"ByteProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/ByteProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAAkH,CAAC;AAE9K,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAE1B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,EAAE,YAAY,GAAG,IAAI,CA2B5F;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,CAc7E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ;AACD,MAAM,MAAM,iBAAiB,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B,CAAC"}
@@ -2,15 +2,24 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ByteProperty = exports.isByteProperty = void 0;
4
4
  const FPropertyTag_1 = require("../../structs/binary/FPropertyTag");
5
- const isByteProperty = (property) => !Array.isArray(property) && property.propertyTagType.name === 'ByteProperty';
5
+ const isByteProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'ByteProperty';
6
6
  exports.isByteProperty = isByteProperty;
7
7
  var ByteProperty;
8
8
  (function (ByteProperty) {
9
9
  function Parse(reader, property, tag) {
10
10
  if (FPropertyTag_1.FPropertyTag.IsCompletePropertyTagType(reader)) {
11
- property.value = {
12
- value: reader.readUint8()
13
- };
11
+ if (tag.propertyTagType.children.length === 0) {
12
+ property.value = {
13
+ type: tag.byteValueEnumName,
14
+ value: ReadValue(reader)
15
+ };
16
+ }
17
+ else {
18
+ property.value = {
19
+ type: tag.propertyTagType.children[0].name,
20
+ value: reader.readString()
21
+ };
22
+ }
14
23
  }
15
24
  else {
16
25
  if (tag.byteValueEnumName === 'None') {
@@ -34,7 +43,12 @@ var ByteProperty;
34
43
  ByteProperty.ReadValue = ReadValue;
35
44
  function Serialize(writer, property) {
36
45
  if (FPropertyTag_1.FPropertyTag.IsCompletePropertyTagType(writer)) {
37
- SerializeValue(writer, property.value.value);
46
+ if (property.propertyTagType.children.length === 0) {
47
+ SerializeValue(writer, property.value.value);
48
+ }
49
+ else {
50
+ writer.writeString(property.value.value);
51
+ }
38
52
  }
39
53
  else {
40
54
  if (property.value.type === 'None') {
@@ -1 +1 @@
1
- {"version":3,"file":"ByteProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/ByteProperty.ts"],"names":[],"mappings":";;;AAEA,oEAAiE;AAK1D,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,KAAK,cAAc,CAAC;AAA3I,QAAA,cAAc,kBAA6H;AAQxJ,IAAiB,YAAY,CA0C5B;AA1CD,WAAiB,YAAY;IAEzB,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAsB,EAAE,GAAiB;QAElF,IAAI,2BAAY,CAAC,yBAAyB,CAAC,MAAM,CAAC,EAAE,CAAC;YACjD,QAAQ,CAAC,KAAK,GAAG;gBACb,KAAK,EAAE,MAAM,CAAC,SAAS,EAAE;aAC5B,CAAA;QACL,CAAC;aAAM,CAAC;YACJ,IAAI,GAAG,CAAC,iBAAiB,KAAK,MAAM,EAAE,CAAC;gBACnC,QAAQ,CAAC,KAAK,GAAG;oBACb,IAAI,EAAE,GAAG,CAAC,iBAAiB;oBAC3B,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC;iBAC3B,CAAC;YACN,CAAC;iBAAM,CAAC;gBACJ,QAAQ,CAAC,KAAK,GAAG;oBACb,IAAI,EAAE,GAAG,CAAC,iBAAiB;oBAC3B,KAAK,EAAE,MAAM,CAAC,UAAU,EAAE;iBAC7B,CAAC;YACN,CAAC;QACL,CAAC;IACL,CAAC;IAnBe,kBAAK,QAmBpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,QAAQ,EAAE,CAAC;IAC7B,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAsB;QACnE,IAAI,2BAAY,CAAC,yBAAyB,CAAC,MAAM,CAAC,EAAE,CAAC;YACjD,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAe,CAAC,CAAC;QAC3D,CAAC;aAAM,CAAC;YACJ,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;gBACjC,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAe,CAAC,CAAC;YAC3D,CAAC;iBAAM,CAAC;gBACJ,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAe,CAAC,CAAC;YACvD,CAAC;QACL,CAAC;IACL,CAAC;IAVe,sBAAS,YAUxB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;IAFe,2BAAc,iBAE7B,CAAA;AACL,CAAC,EA1CgB,YAAY,4BAAZ,YAAY,QA0C5B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTag } from '../../structs/binary/FPropertyTag';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\n\nexport const isByteProperty = (property: any): property is ByteProperty => !Array.isArray(property) && property.propertyTagType.name === 'ByteProperty';\n\nexport type ByteProperty = AbstractBaseProperty & {\n type: 'ByteProperty';\n propertyTagType: { name: 'ByteProperty', children: FPropertyTagNode[] };\n value: BytePropertyValue;\n};\n\nexport namespace ByteProperty {\n\n export function Parse(reader: ContextReader, property: ByteProperty, tag: FPropertyTag): void {\n\n if (FPropertyTag.IsCompletePropertyTagType(reader)) {\n property.value = {\n value: reader.readUint8()\n }\n } else {\n if (tag.byteValueEnumName === 'None') {\n property.value = {\n type: tag.byteValueEnumName,\n value: ReadValue(reader)\n };\n } else {\n property.value = {\n type: tag.byteValueEnumName,\n value: reader.readString()\n };\n }\n }\n }\n\n export function ReadValue(reader: ContextReader): number {\n return reader.readByte();\n }\n\n export function Serialize(writer: ContextWriter, property: ByteProperty): void {\n if (FPropertyTag.IsCompletePropertyTagType(writer)) {\n SerializeValue(writer, property.value.value as number);\n } else {\n if (property.value.type === 'None') {\n SerializeValue(writer, property.value.value as number);\n } else {\n writer.writeString(property.value.value as string);\n }\n }\n }\n\n export function SerializeValue(writer: ContextWriter, value: number): void {\n writer.writeByte(value);\n }\n}\nexport type BytePropertyValue = {\n type?: string;\n value: number | string;\n};\n\n"]}
1
+ {"version":3,"file":"ByteProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/ByteProperty.ts"],"names":[],"mappings":";;;AAEA,oEAAiE;AAI1D,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,cAAc,CAAC;AAAjK,QAAA,cAAc,kBAAmJ;AAO9K,IAAiB,YAAY,CAsD5B;AAtDD,WAAiB,YAAY;IAEzB,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAsB,EAAE,GAAiB;QAElF,IAAI,2BAAY,CAAC,yBAAyB,CAAC,MAAM,CAAC,EAAE,CAAC;YACjD,IAAI,GAAG,CAAC,eAAe,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC5C,QAAQ,CAAC,KAAK,GAAG;oBACb,IAAI,EAAE,GAAG,CAAC,iBAAiB;oBAC3B,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC;iBAC3B,CAAC;YACN,CAAC;iBAAM,CAAC;gBACJ,QAAQ,CAAC,KAAK,GAAG;oBACb,IAAI,EAAE,GAAG,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI;oBAC1C,KAAK,EAAE,MAAM,CAAC,UAAU,EAAE;iBAC7B,CAAC;YACN,CAAC;QACL,CAAC;aAAM,CAAC;YACJ,IAAI,GAAG,CAAC,iBAAiB,KAAK,MAAM,EAAE,CAAC;gBACnC,QAAQ,CAAC,KAAK,GAAG;oBACb,IAAI,EAAE,GAAG,CAAC,iBAAiB;oBAC3B,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC;iBAC3B,CAAC;YACN,CAAC;iBAAM,CAAC;gBACJ,QAAQ,CAAC,KAAK,GAAG;oBACb,IAAI,EAAE,GAAG,CAAC,iBAAiB;oBAC3B,KAAK,EAAE,MAAM,CAAC,UAAU,EAAE;iBAC7B,CAAC;YACN,CAAC;QACL,CAAC;IACL,CAAC;IA3Be,kBAAK,QA2BpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,QAAQ,EAAE,CAAC;IAC7B,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAsB;QACnE,IAAI,2BAAY,CAAC,yBAAyB,CAAC,MAAM,CAAC,EAAE,CAAC;YACjD,IAAI,QAAQ,CAAC,eAAe,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACjD,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAe,CAAC,CAAC;YAC3D,CAAC;iBAAM,CAAC;gBACJ,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAe,CAAC,CAAC;YACvD,CAAC;QACL,CAAC;aAAM,CAAC;YACJ,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;gBACjC,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAe,CAAC,CAAC;YAC3D,CAAC;iBAAM,CAAC;gBACJ,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAe,CAAC,CAAC;YACvD,CAAC;QACL,CAAC;IACL,CAAC;IAde,sBAAS,YAcxB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;IAFe,2BAAc,iBAE7B,CAAA;AACL,CAAC,EAtDgB,YAAY,4BAAZ,YAAY,QAsD5B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTag } from '../../structs/binary/FPropertyTag';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\n\nexport const isByteProperty = (property: any): property is ByteProperty => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'ByteProperty';\n\nexport type ByteProperty = AbstractBaseProperty & {\n type: 'ByteProperty';\n value: BytePropertyValue;\n};\n\nexport namespace ByteProperty {\n\n export function Parse(reader: ContextReader, property: ByteProperty, tag: FPropertyTag): void {\n\n if (FPropertyTag.IsCompletePropertyTagType(reader)) {\n if (tag.propertyTagType.children.length === 0) {\n property.value = {\n type: tag.byteValueEnumName,\n value: ReadValue(reader)\n };\n } else {\n property.value = {\n type: tag.propertyTagType.children[0].name,\n value: reader.readString()\n };\n }\n } else {\n if (tag.byteValueEnumName === 'None') {\n property.value = {\n type: tag.byteValueEnumName,\n value: ReadValue(reader)\n };\n } else {\n property.value = {\n type: tag.byteValueEnumName,\n value: reader.readString()\n };\n }\n }\n }\n\n export function ReadValue(reader: ContextReader): number {\n return reader.readByte();\n }\n\n export function Serialize(writer: ContextWriter, property: ByteProperty): void {\n if (FPropertyTag.IsCompletePropertyTagType(writer)) {\n if (property.propertyTagType.children.length === 0) {\n SerializeValue(writer, property.value.value as number);\n } else {\n writer.writeString(property.value.value as string);\n }\n } else {\n if (property.value.type === 'None') {\n SerializeValue(writer, property.value.value as number);\n } else {\n writer.writeString(property.value.value as string);\n }\n }\n }\n\n export function SerializeValue(writer: ContextWriter, value: number): void {\n writer.writeByte(value);\n }\n}\nexport type BytePropertyValue = {\n type?: string;\n value: number | string;\n};\n\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"DoubleProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/DoubleProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,eAAO,MAAM,gBAAgB,aAAc,GAAG,KAAG,QAAQ,IAAI,cAAgG,CAAC;AAE9J,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG;IAChD,IAAI,EAAE,gBAAgB,CAAC;IACvB,eAAe,EAAE;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IAC1E,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,cAAc,CAAC;IAE5B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE3E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE/E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
1
+ {"version":3,"file":"DoubleProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/DoubleProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,eAAO,MAAM,gBAAgB,aAAc,GAAG,KAAG,QAAQ,IAAI,cAAsH,CAAC;AAEpL,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG;IAChD,IAAI,EAAE,gBAAgB,CAAC;IACvB,eAAe,EAAE;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IAC1E,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,cAAc,CAAC;IAE5B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE3E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE/E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DoubleProperty = exports.isDoubleProperty = void 0;
4
- const isDoubleProperty = (property) => !Array.isArray(property) && property.propertyTagType.name === 'DoubleProperty';
4
+ const isDoubleProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'DoubleProperty';
5
5
  exports.isDoubleProperty = isDoubleProperty;
6
6
  var DoubleProperty;
7
7
  (function (DoubleProperty) {
@@ -1 +1 @@
1
- {"version":3,"file":"DoubleProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/DoubleProperty.ts"],"names":[],"mappings":";;;AAMO,MAAM,gBAAgB,GAAG,CAAC,QAAa,EAA8B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,KAAK,gBAAgB,CAAC;AAAjJ,QAAA,gBAAgB,oBAAiI;AAQ9J,IAAiB,cAAc,CAiB9B;AAjBD,WAAiB,cAAc;IAE3B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAwB;QACjE,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,oBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAwB;QACrE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAFe,6BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,cAAc,8BAAd,cAAc,QAiB9B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\n\nexport const isDoubleProperty = (property: any): property is DoubleProperty => !Array.isArray(property) && property.propertyTagType.name === 'DoubleProperty';\n\nexport type DoubleProperty = AbstractBaseProperty & {\n type: 'DoubleProperty';\n propertyTagType: { name: 'DoubleProperty', children: FPropertyTagNode[] };\n value: number;\n};\n\nexport namespace DoubleProperty {\n\n export function Parse(reader: ContextReader, property: DoubleProperty): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): number {\n return reader.readDouble();\n }\n\n export function Serialize(writer: ContextWriter, property: DoubleProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: number): void {\n writer.writeDouble(value);\n }\n}\n"]}
1
+ {"version":3,"file":"DoubleProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/DoubleProperty.ts"],"names":[],"mappings":";;;AAMO,MAAM,gBAAgB,GAAG,CAAC,QAAa,EAA8B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,gBAAgB,CAAC;AAAvK,QAAA,gBAAgB,oBAAuJ;AAQpL,IAAiB,cAAc,CAiB9B;AAjBD,WAAiB,cAAc;IAE3B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAwB;QACjE,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,oBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAwB;QACrE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAFe,6BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,cAAc,8BAAd,cAAc,QAiB9B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\n\nexport const isDoubleProperty = (property: any): property is DoubleProperty => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'DoubleProperty';\n\nexport type DoubleProperty = AbstractBaseProperty & {\n type: 'DoubleProperty';\n propertyTagType: { name: 'DoubleProperty', children: FPropertyTagNode[] };\n value: number;\n};\n\nexport namespace DoubleProperty {\n\n export function Parse(reader: ContextReader, property: DoubleProperty): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): number {\n return reader.readDouble();\n }\n\n export function Serialize(writer: ContextWriter, property: DoubleProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: number): void {\n writer.writeDouble(value);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"EnumProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/EnumProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAA4F,CAAC;AAExJ,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,eAAe,EAAE;QAAE,IAAI,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACxE,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;KAAE,CAAC;CAC3C,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAE1B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,EAAE,YAAY,GAAG,IAAI,CAK5F;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,CAE7E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
1
+ {"version":3,"file":"EnumProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/EnumProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAAkH,CAAC;AAE9K,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,eAAe,EAAE;QAAE,IAAI,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACxE,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;KAAE,CAAC;CAC3C,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAE1B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,EAAE,YAAY,GAAG,IAAI,CAK5F;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,CAE7E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EnumProperty = exports.isEnumProperty = void 0;
4
- const isEnumProperty = (property) => !Array.isArray(property) && property.propertyTagType.name === 'EnumProperty';
4
+ const isEnumProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'EnumProperty';
5
5
  exports.isEnumProperty = isEnumProperty;
6
6
  var EnumProperty;
7
7
  (function (EnumProperty) {
@@ -1 +1 @@
1
- {"version":3,"file":"EnumProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/EnumProperty.ts"],"names":[],"mappings":";;;AAMO,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,KAAK,cAAc,CAAC;AAA3I,QAAA,cAAc,kBAA6H;AAQxJ,IAAiB,YAAY,CAoB5B;AApBD,WAAiB,YAAY;IAEzB,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAsB,EAAE,GAAiB;QAClF,QAAQ,CAAC,KAAK,GAAG;YACb,IAAI,EAAE,GAAG,CAAC,iBAAkB;YAC5B,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC;SAC3B,CAAC;IACN,CAAC;IALe,kBAAK,QAKpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAsB;QACnE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjD,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAFe,2BAAc,iBAE7B,CAAA;AACL,CAAC,EApBgB,YAAY,4BAAZ,YAAY,QAoB5B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTag } from '../../structs/binary/FPropertyTag';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isEnumProperty = (property: any): property is EnumProperty => !Array.isArray(property) && property.propertyTagType.name === 'EnumProperty';\n\nexport type EnumProperty = AbstractBaseProperty & {\n type: 'EnumProperty';\n propertyTagType: { name: 'EnumProperty', children: FPropertyTagNode[] };\n value: { name: string; value: string; };\n};\n\nexport namespace EnumProperty {\n\n export function Parse(reader: ContextReader, property: EnumProperty, tag: FPropertyTag): void {\n property.value = {\n name: tag.enumValueEnumName!,\n value: ReadValue(reader)\n };\n }\n\n export function ReadValue(reader: ContextReader): string {\n return reader.readString();\n }\n\n export function Serialize(writer: ContextWriter, property: EnumProperty): void {\n SerializeValue(writer, property.value.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: string): void {\n writer.writeString(value);\n }\n}\n"]}
1
+ {"version":3,"file":"EnumProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/EnumProperty.ts"],"names":[],"mappings":";;;AAMO,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,cAAc,CAAC;AAAjK,QAAA,cAAc,kBAAmJ;AAQ9K,IAAiB,YAAY,CAoB5B;AApBD,WAAiB,YAAY;IAEzB,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAsB,EAAE,GAAiB;QAClF,QAAQ,CAAC,KAAK,GAAG;YACb,IAAI,EAAE,GAAG,CAAC,iBAAkB;YAC5B,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC;SAC3B,CAAC;IACN,CAAC;IALe,kBAAK,QAKpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAsB;QACnE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjD,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAFe,2BAAc,iBAE7B,CAAA;AACL,CAAC,EApBgB,YAAY,4BAAZ,YAAY,QAoB5B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTag } from '../../structs/binary/FPropertyTag';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isEnumProperty = (property: any): property is EnumProperty => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'EnumProperty';\n\nexport type EnumProperty = AbstractBaseProperty & {\n type: 'EnumProperty';\n propertyTagType: { name: 'EnumProperty', children: FPropertyTagNode[] };\n value: { name: string; value: string; };\n};\n\nexport namespace EnumProperty {\n\n export function Parse(reader: ContextReader, property: EnumProperty, tag: FPropertyTag): void {\n property.value = {\n name: tag.enumValueEnumName!,\n value: ReadValue(reader)\n };\n }\n\n export function ReadValue(reader: ContextReader): string {\n return reader.readString();\n }\n\n export function Serialize(writer: ContextWriter, property: EnumProperty): void {\n SerializeValue(writer, property.value.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: string): void {\n writer.writeString(value);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"FloatProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/FloatProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,eAAe,aAAc,GAAG,KAAG,QAAQ,IAAI,aAA8F,CAAC;AAE3J,MAAM,MAAM,aAAa,GAAG,oBAAoB,GAAG;IAC/C,IAAI,EAAE,eAAe,CAAC;IACtB,eAAe,EAAE;QAAE,IAAI,EAAE,eAAe,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACzE,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,aAAa,CAAC;IAE3B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAE1E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAE9E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
1
+ {"version":3,"file":"FloatProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/FloatProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,eAAe,aAAc,GAAG,KAAG,QAAQ,IAAI,aAAoH,CAAC;AAEjL,MAAM,MAAM,aAAa,GAAG,oBAAoB,GAAG;IAC/C,IAAI,EAAE,eAAe,CAAC;IACtB,eAAe,EAAE;QAAE,IAAI,EAAE,eAAe,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACzE,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,aAAa,CAAC;IAE3B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAE1E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAE9E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FloatProperty = exports.isFloatProperty = void 0;
4
- const isFloatProperty = (property) => !Array.isArray(property) && property.propertyTagType.name === 'FloatProperty';
4
+ const isFloatProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'FloatProperty';
5
5
  exports.isFloatProperty = isFloatProperty;
6
6
  var FloatProperty;
7
7
  (function (FloatProperty) {
@@ -1 +1 @@
1
- {"version":3,"file":"FloatProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/FloatProperty.ts"],"names":[],"mappings":";;;AAKO,MAAM,eAAe,GAAG,CAAC,QAAa,EAA6B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,KAAK,eAAe,CAAC;AAA9I,QAAA,eAAe,mBAA+H;AAQ3J,IAAiB,aAAa,CAiB7B;AAjBD,WAAiB,aAAa;IAE1B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAuB;QAChE,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,mBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,WAAW,EAAE,CAAC;IAChC,CAAC;IAFe,uBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAuB;QACpE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,uBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAFe,4BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,aAAa,6BAAb,aAAa,QAiB7B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isFloatProperty = (property: any): property is FloatProperty => !Array.isArray(property) && property.propertyTagType.name === 'FloatProperty';\n\nexport type FloatProperty = AbstractBaseProperty & {\n type: 'FloatProperty';\n propertyTagType: { name: 'FloatProperty', children: FPropertyTagNode[] };\n value: number;\n};\n\nexport namespace FloatProperty {\n\n export function Parse(reader: ContextReader, property: FloatProperty): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): number {\n return reader.readFloat32();\n }\n\n export function Serialize(writer: ContextWriter, property: FloatProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: number): void {\n writer.writeFloat32(value);\n }\n}\n"]}
1
+ {"version":3,"file":"FloatProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/FloatProperty.ts"],"names":[],"mappings":";;;AAKO,MAAM,eAAe,GAAG,CAAC,QAAa,EAA6B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,eAAe,CAAC;AAApK,QAAA,eAAe,mBAAqJ;AAQjL,IAAiB,aAAa,CAiB7B;AAjBD,WAAiB,aAAa;IAE1B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAuB;QAChE,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,mBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,WAAW,EAAE,CAAC;IAChC,CAAC;IAFe,uBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAuB;QACpE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,uBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAFe,4BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,aAAa,6BAAb,aAAa,QAiB7B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isFloatProperty = (property: any): property is FloatProperty => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'FloatProperty';\n\nexport type FloatProperty = AbstractBaseProperty & {\n type: 'FloatProperty';\n propertyTagType: { name: 'FloatProperty', children: FPropertyTagNode[] };\n value: number;\n};\n\nexport namespace FloatProperty {\n\n export function Parse(reader: ContextReader, property: FloatProperty): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): number {\n return reader.readFloat32();\n }\n\n export function Serialize(writer: ContextWriter, property: FloatProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: number): void {\n writer.writeFloat32(value);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Int64Property.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Int64Property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,eAAe,aAAc,GAAG,KAAG,QAAQ,IAAI,aAA8F,CAAC;AAE3J,MAAM,MAAM,aAAa,GAAG,oBAAoB,GAAG;IAC/C,IAAI,EAAE,eAAe,CAAC;IACtB,eAAe,EAAE;QAAE,IAAI,EAAE,eAAe,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACzE,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,aAAa,CAAC;IAE3B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAE1E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAE9E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
1
+ {"version":3,"file":"Int64Property.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Int64Property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,eAAe,aAAc,GAAG,KAAG,QAAQ,IAAI,aAAoH,CAAC;AAEjL,MAAM,MAAM,aAAa,GAAG,oBAAoB,GAAG;IAC/C,IAAI,EAAE,eAAe,CAAC;IACtB,eAAe,EAAE;QAAE,IAAI,EAAE,eAAe,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACzE,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,aAAa,CAAC;IAE3B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAE1E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAE9E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Int64Property = exports.isInt64Property = void 0;
4
- const isInt64Property = (property) => !Array.isArray(property) && property.propertyTagType.name === 'Int64Property';
4
+ const isInt64Property = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'Int64Property';
5
5
  exports.isInt64Property = isInt64Property;
6
6
  var Int64Property;
7
7
  (function (Int64Property) {
@@ -1 +1 @@
1
- {"version":3,"file":"Int64Property.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Int64Property.ts"],"names":[],"mappings":";;;AAKO,MAAM,eAAe,GAAG,CAAC,QAAa,EAA6B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,KAAK,eAAe,CAAC;AAA9I,QAAA,eAAe,mBAA+H;AAQ3J,IAAiB,aAAa,CAiB7B;AAjBD,WAAiB,aAAa;IAE1B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAuB;QAChE,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,mBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,SAAS,EAAE,CAAC,QAAQ,EAAE,CAAC;IACzC,CAAC;IAFe,uBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAuB;QACpE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,uBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IACrC,CAAC;IAFe,4BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,aAAa,6BAAb,aAAa,QAiB7B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isInt64Property = (property: any): property is Int64Property => !Array.isArray(property) && property.propertyTagType.name === 'Int64Property';\n\nexport type Int64Property = AbstractBaseProperty & {\n type: 'Int64Property';\n propertyTagType: { name: 'Int64Property', children: FPropertyTagNode[] };\n value: string;\n};\n\nexport namespace Int64Property {\n\n export function Parse(reader: ContextReader, property: Int64Property): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): string {\n return reader.readInt64().toString();\n }\n\n export function Serialize(writer: ContextWriter, property: Int64Property): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: string): void {\n writer.writeInt64(BigInt(value));\n }\n}\n"]}
1
+ {"version":3,"file":"Int64Property.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Int64Property.ts"],"names":[],"mappings":";;;AAKO,MAAM,eAAe,GAAG,CAAC,QAAa,EAA6B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,eAAe,CAAC;AAApK,QAAA,eAAe,mBAAqJ;AAQjL,IAAiB,aAAa,CAiB7B;AAjBD,WAAiB,aAAa;IAE1B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAuB;QAChE,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,mBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,SAAS,EAAE,CAAC,QAAQ,EAAE,CAAC;IACzC,CAAC;IAFe,uBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAuB;QACpE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,uBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IACrC,CAAC;IAFe,4BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,aAAa,6BAAb,aAAa,QAiB7B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isInt64Property = (property: any): property is Int64Property => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'Int64Property';\n\nexport type Int64Property = AbstractBaseProperty & {\n type: 'Int64Property';\n propertyTagType: { name: 'Int64Property', children: FPropertyTagNode[] };\n value: string;\n};\n\nexport namespace Int64Property {\n\n export function Parse(reader: ContextReader, property: Int64Property): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): string {\n return reader.readInt64().toString();\n }\n\n export function Serialize(writer: ContextWriter, property: Int64Property): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: string): void {\n writer.writeInt64(BigInt(value));\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Int8Property.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Int8Property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAA4F,CAAC;AAExJ,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,eAAe,EAAE;QAAE,IAAI,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACxE,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAE1B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,CAEzE;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,CAE7E;IAEM,MAAM,cAAc,WAAY,aAAa,SAAS,MAAM,KAAG,IAErE,CAAA;CACJ"}
1
+ {"version":3,"file":"Int8Property.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Int8Property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAAkH,CAAC;AAE9K,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,eAAe,EAAE;QAAE,IAAI,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACxE,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAE1B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,CAEzE;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,CAE7E;IAEM,MAAM,cAAc,WAAY,aAAa,SAAS,MAAM,KAAG,IAErE,CAAA;CACJ"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Int8Property = exports.isInt8Property = void 0;
4
- const isInt8Property = (property) => !Array.isArray(property) && property.propertyTagType.name === 'Int8Property';
4
+ const isInt8Property = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'Int8Property';
5
5
  exports.isInt8Property = isInt8Property;
6
6
  var Int8Property;
7
7
  (function (Int8Property) {
@@ -1 +1 @@
1
- {"version":3,"file":"Int8Property.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Int8Property.ts"],"names":[],"mappings":";;;AAKO,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,KAAK,cAAc,CAAC;AAA3I,QAAA,cAAc,kBAA6H;AAQxJ,IAAiB,YAAY,CAiB5B;AAjBD,WAAiB,YAAY;IAEzB,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAsB;QAC/D,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,kBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,QAAQ,EAAE,CAAC;IAC7B,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAsB;QACnE,aAAA,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,sBAAS,YAExB,CAAA;IAEY,2BAAc,GAAG,CAAC,MAAqB,EAAE,KAAa,EAAQ,EAAE;QACzE,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC,CAAA;AACL,CAAC,EAjBgB,YAAY,4BAAZ,YAAY,QAiB5B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isInt8Property = (property: any): property is Int8Property => !Array.isArray(property) && property.propertyTagType.name === 'Int8Property';\n\nexport type Int8Property = AbstractBaseProperty & {\n type: 'Int8Property';\n propertyTagType: { name: 'Int8Property', children: FPropertyTagNode[] };\n value: number;\n};\n\nexport namespace Int8Property {\n\n export function Parse(reader: ContextReader, property: Int8Property): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): number {\n return reader.readInt8();\n }\n\n export function Serialize(writer: ContextWriter, property: Int8Property): void {\n SerializeValue(writer, property.value);\n }\n\n export const SerializeValue = (writer: ContextWriter, value: number): void => {\n writer.writeInt8(value);\n }\n}\n"]}
1
+ {"version":3,"file":"Int8Property.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Int8Property.ts"],"names":[],"mappings":";;;AAKO,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,cAAc,CAAC;AAAjK,QAAA,cAAc,kBAAmJ;AAQ9K,IAAiB,YAAY,CAiB5B;AAjBD,WAAiB,YAAY;IAEzB,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAsB;QAC/D,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,kBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,QAAQ,EAAE,CAAC;IAC7B,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAsB;QACnE,aAAA,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,sBAAS,YAExB,CAAA;IAEY,2BAAc,GAAG,CAAC,MAAqB,EAAE,KAAa,EAAQ,EAAE;QACzE,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC,CAAA;AACL,CAAC,EAjBgB,YAAY,4BAAZ,YAAY,QAiB5B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isInt8Property = (property: any): property is Int8Property => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'Int8Property';\n\nexport type Int8Property = AbstractBaseProperty & {\n type: 'Int8Property';\n propertyTagType: { name: 'Int8Property', children: FPropertyTagNode[] };\n value: number;\n};\n\nexport namespace Int8Property {\n\n export function Parse(reader: ContextReader, property: Int8Property): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): number {\n return reader.readInt8();\n }\n\n export function Serialize(writer: ContextWriter, property: Int8Property): void {\n SerializeValue(writer, property.value);\n }\n\n export const SerializeValue = (writer: ContextWriter, value: number): void => {\n writer.writeInt8(value);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IntProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/IntProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,aAAa,aAAc,GAAG,KAAG,QAAQ,IAAI,WAA0F,CAAC;AAErJ,MAAM,MAAM,WAAW,GAAG,oBAAoB,GAAG;IAC7C,IAAI,EAAE,aAAa,CAAC;IACpB,eAAe,EAAE;QAAE,IAAI,EAAE,aAAa,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACvE,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,WAAW,CAAC;IAEzB,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,GAAG,IAAI,CAExE;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,GAAG,IAAI,CAE5E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
1
+ {"version":3,"file":"IntProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/IntProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,aAAa,aAAc,GAAG,KAAG,QAAQ,IAAI,WAAgH,CAAC;AAE3K,MAAM,MAAM,WAAW,GAAG,oBAAoB,GAAG;IAC7C,IAAI,EAAE,aAAa,CAAC;IACpB,eAAe,EAAE;QAAE,IAAI,EAAE,aAAa,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACvE,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,WAAW,CAAC;IAEzB,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,GAAG,IAAI,CAExE;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,GAAG,IAAI,CAE5E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IntProperty = exports.isIntProperty = void 0;
4
- const isIntProperty = (property) => !Array.isArray(property) && property.propertyTagType.name === 'IntProperty';
4
+ const isIntProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'IntProperty';
5
5
  exports.isIntProperty = isIntProperty;
6
6
  var IntProperty;
7
7
  (function (IntProperty) {
@@ -1 +1 @@
1
- {"version":3,"file":"IntProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/IntProperty.ts"],"names":[],"mappings":";;;AAKO,MAAM,aAAa,GAAG,CAAC,QAAa,EAA2B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,KAAK,aAAa,CAAC;AAAxI,QAAA,aAAa,iBAA2H;AAQrJ,IAAiB,WAAW,CAiB3B;AAjBD,WAAiB,WAAW;IAExB,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAqB;QAC9D,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,iBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,SAAS,EAAE,CAAC;IAC9B,CAAC;IAFe,qBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAqB;QAClE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,qBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAFe,0BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,WAAW,2BAAX,WAAW,QAiB3B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isIntProperty = (property: any): property is IntProperty => !Array.isArray(property) && property.propertyTagType.name === 'IntProperty';\n\nexport type IntProperty = AbstractBaseProperty & {\n type: 'IntProperty';\n propertyTagType: { name: 'IntProperty', children: FPropertyTagNode[] };\n value: number;\n};\n\nexport namespace IntProperty {\n\n export function Parse(reader: ContextReader, property: IntProperty): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): number {\n return reader.readInt32();\n }\n\n export function Serialize(writer: ContextWriter, property: IntProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: number): void {\n writer.writeInt32(value);\n }\n}\n"]}
1
+ {"version":3,"file":"IntProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/IntProperty.ts"],"names":[],"mappings":";;;AAKO,MAAM,aAAa,GAAG,CAAC,QAAa,EAA2B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,aAAa,CAAC;AAA9J,QAAA,aAAa,iBAAiJ;AAQ3K,IAAiB,WAAW,CAiB3B;AAjBD,WAAiB,WAAW;IAExB,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAqB;QAC9D,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,iBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,SAAS,EAAE,CAAC;IAC9B,CAAC;IAFe,qBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAqB;QAClE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,qBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAFe,0BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,WAAW,2BAAX,WAAW,QAiB3B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isIntProperty = (property: any): property is IntProperty => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'IntProperty';\n\nexport type IntProperty = AbstractBaseProperty & {\n type: 'IntProperty';\n propertyTagType: { name: 'IntProperty', children: FPropertyTagNode[] };\n value: number;\n};\n\nexport namespace IntProperty {\n\n export function Parse(reader: ContextReader, property: IntProperty): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): number {\n return reader.readInt32();\n }\n\n export function Serialize(writer: ContextWriter, property: IntProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: number): void {\n writer.writeInt32(value);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"InterfaceProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/InterfaceProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,mBAAmB,aAAc,GAAG,KAAG,QAAQ,IAAI,iBAAsG,CAAC;AAEvK,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG;IACnD,IAAI,EAAE,mBAAmB,CAAC;IAC1B,eAAe,EAAE;QAAE,IAAI,EAAE,mBAAmB,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IAC7E,KAAK,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,yBAAiB,iBAAiB,CAAC;IAE/B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAE9E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,eAAe,CAEhE;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAElF;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,eAAe,GAAG,IAAI,CAElF;CACJ"}
1
+ {"version":3,"file":"InterfaceProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/InterfaceProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,mBAAmB,aAAc,GAAG,KAAG,QAAQ,IAAI,iBAA4H,CAAC;AAE7L,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG;IACnD,IAAI,EAAE,mBAAmB,CAAC;IAC1B,eAAe,EAAE;QAAE,IAAI,EAAE,mBAAmB,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IAC7E,KAAK,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,yBAAiB,iBAAiB,CAAC;IAE/B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAE9E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,eAAe,CAEhE;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAElF;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,eAAe,GAAG,IAAI,CAElF;CACJ"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InterfaceProperty = exports.isInterfaceProperty = void 0;
4
4
  const ObjectReference_1 = require("../../structs/ObjectReference");
5
- const isInterfaceProperty = (property) => !Array.isArray(property) && property.propertyTagType.name === 'InterfaceProperty';
5
+ const isInterfaceProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'InterfaceProperty';
6
6
  exports.isInterfaceProperty = isInterfaceProperty;
7
7
  var InterfaceProperty;
8
8
  (function (InterfaceProperty) {
@@ -1 +1 @@
1
- {"version":3,"file":"InterfaceProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/InterfaceProperty.ts"],"names":[],"mappings":";;;AAGA,mEAAgE;AAGzD,MAAM,mBAAmB,GAAG,CAAC,QAAa,EAAiC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,KAAK,mBAAmB,CAAC;AAA1J,QAAA,mBAAmB,uBAAuI;AAQvK,IAAiB,iBAAiB,CAiBjC;AAjBD,WAAiB,iBAAiB;IAE9B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAA2B;QACpE,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,uBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxC,CAAC;IAFe,2BAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAA2B;QACxE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,2BAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAsB;QACxE,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;IAFe,gCAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,iBAAiB,iCAAjB,iBAAiB,QAiBjC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { ObjectReference } from '../../structs/ObjectReference';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isInterfaceProperty = (property: any): property is InterfaceProperty => !Array.isArray(property) && property.propertyTagType.name === 'InterfaceProperty';\n\nexport type InterfaceProperty = AbstractBaseProperty & {\n type: 'InterfaceProperty';\n propertyTagType: { name: 'InterfaceProperty', children: FPropertyTagNode[] };\n value: ObjectReference;\n};\n\nexport namespace InterfaceProperty {\n\n export function Parse(reader: ContextReader, property: InterfaceProperty): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): ObjectReference {\n return ObjectReference.read(reader);\n }\n\n export function Serialize(writer: ContextWriter, property: InterfaceProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: ObjectReference): void {\n ObjectReference.write(writer, value);\n }\n}\n"]}
1
+ {"version":3,"file":"InterfaceProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/InterfaceProperty.ts"],"names":[],"mappings":";;;AAGA,mEAAgE;AAGzD,MAAM,mBAAmB,GAAG,CAAC,QAAa,EAAiC,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,mBAAmB,CAAC;AAAhL,QAAA,mBAAmB,uBAA6J;AAQ7L,IAAiB,iBAAiB,CAiBjC;AAjBD,WAAiB,iBAAiB;IAE9B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAA2B;QACpE,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,uBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxC,CAAC;IAFe,2BAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAA2B;QACxE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,2BAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAsB;QACxE,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;IAFe,gCAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,iBAAiB,iCAAjB,iBAAiB,QAiBjC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { ObjectReference } from '../../structs/ObjectReference';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isInterfaceProperty = (property: any): property is InterfaceProperty => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'InterfaceProperty';\n\nexport type InterfaceProperty = AbstractBaseProperty & {\n type: 'InterfaceProperty';\n propertyTagType: { name: 'InterfaceProperty', children: FPropertyTagNode[] };\n value: ObjectReference;\n};\n\nexport namespace InterfaceProperty {\n\n export function Parse(reader: ContextReader, property: InterfaceProperty): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): ObjectReference {\n return ObjectReference.read(reader);\n }\n\n export function Serialize(writer: ContextWriter, property: InterfaceProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: ObjectReference): void {\n ObjectReference.write(writer, value);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"NameProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/NameProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAA4F,CAAC;AAExJ,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,eAAe,EAAE;QAAE,IAAI,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACxE,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAE1B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,YAAY,GAAG,IAAI,CAEhF;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,CAE7E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
1
+ {"version":3,"file":"NameProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/NameProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAAkH,CAAC;AAE9K,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,eAAe,EAAE;QAAE,IAAI,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACxE,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAE1B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,YAAY,GAAG,IAAI,CAEhF;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,CAE7E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NameProperty = exports.isNameProperty = void 0;
4
- const isNameProperty = (property) => !Array.isArray(property) && property.propertyTagType.name === 'NameProperty';
4
+ const isNameProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'NameProperty';
5
5
  exports.isNameProperty = isNameProperty;
6
6
  var NameProperty;
7
7
  (function (NameProperty) {
@@ -1 +1 @@
1
- {"version":3,"file":"NameProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/NameProperty.ts"],"names":[],"mappings":";;;AAKO,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,KAAK,cAAc,CAAC;AAA3I,QAAA,cAAc,kBAA6H;AAQxJ,IAAiB,YAAY,CAiB5B;AAjBD,WAAiB,YAAY;IAEzB,SAAgB,KAAK,CAAC,MAAqB,EAAE,eAA6B;QACtE,eAAe,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;IAFe,kBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAsB;QACnE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAFe,2BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,YAAY,4BAAZ,YAAY,QAiB5B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isNameProperty = (property: any): property is NameProperty => !Array.isArray(property) && property.propertyTagType.name === 'NameProperty';\n\nexport type NameProperty = AbstractBaseProperty & {\n type: 'NameProperty';\n propertyTagType: { name: 'NameProperty', children: FPropertyTagNode[] };\n value: string;\n};\n\nexport namespace NameProperty {\n\n export function Parse(reader: ContextReader, currentProperty: NameProperty): void {\n currentProperty.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): string {\n return reader.readString();\n }\n\n export function Serialize(writer: ContextWriter, property: NameProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: string): void {\n writer.writeString(value);\n }\n}\n"]}
1
+ {"version":3,"file":"NameProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/NameProperty.ts"],"names":[],"mappings":";;;AAKO,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,cAAc,CAAC;AAAjK,QAAA,cAAc,kBAAmJ;AAQ9K,IAAiB,YAAY,CAiB5B;AAjBD,WAAiB,YAAY;IAEzB,SAAgB,KAAK,CAAC,MAAqB,EAAE,eAA6B;QACtE,eAAe,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;IAFe,kBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAsB;QACnE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,sBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAFe,2BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,YAAY,4BAAZ,YAAY,QAiB5B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isNameProperty = (property: any): property is NameProperty => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'NameProperty';\n\nexport type NameProperty = AbstractBaseProperty & {\n type: 'NameProperty';\n propertyTagType: { name: 'NameProperty', children: FPropertyTagNode[] };\n value: string;\n};\n\nexport namespace NameProperty {\n\n export function Parse(reader: ContextReader, currentProperty: NameProperty): void {\n currentProperty.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): string {\n return reader.readString();\n }\n\n export function Serialize(writer: ContextWriter, property: NameProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: string): void {\n writer.writeString(value);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/ObjectProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,gBAAgB,aAAc,GAAG,KAAG,QAAQ,IAAI,cAAgG,CAAC;AAE9J,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG;IAChD,IAAI,EAAE,gBAAgB,CAAC;IACvB,eAAe,EAAE;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IAC1E,KAAK,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,yBAAiB,cAAc,CAAC;IAE5B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE3E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,eAAe,CAEhE;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE/E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,eAAe,GAAG,IAAI,CAElF;CACJ"}
1
+ {"version":3,"file":"ObjectProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/ObjectProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,gBAAgB,aAAc,GAAG,KAAG,QAAQ,IAAI,cAAsH,CAAC;AAEpL,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG;IAChD,IAAI,EAAE,gBAAgB,CAAC;IACvB,eAAe,EAAE;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IAC1E,KAAK,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,yBAAiB,cAAc,CAAC;IAE5B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE3E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,eAAe,CAEhE;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE/E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,eAAe,GAAG,IAAI,CAElF;CACJ"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ObjectProperty = exports.isObjectProperty = void 0;
4
4
  const ObjectReference_1 = require("../../structs/ObjectReference");
5
- const isObjectProperty = (property) => !Array.isArray(property) && property.propertyTagType.name === 'ObjectProperty';
5
+ const isObjectProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'ObjectProperty';
6
6
  exports.isObjectProperty = isObjectProperty;
7
7
  var ObjectProperty;
8
8
  (function (ObjectProperty) {
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/ObjectProperty.ts"],"names":[],"mappings":";;;AAGA,mEAAgE;AAGzD,MAAM,gBAAgB,GAAG,CAAC,QAAa,EAA8B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,KAAK,gBAAgB,CAAC;AAAjJ,QAAA,gBAAgB,oBAAiI;AAQ9J,IAAiB,cAAc,CAiB9B;AAjBD,WAAiB,cAAc;IAE3B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAwB;QACjE,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,oBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxC,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAwB;QACrE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAsB;QACxE,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;IAFe,6BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,cAAc,8BAAd,cAAc,QAiB9B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { ObjectReference } from '../../structs/ObjectReference';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isObjectProperty = (property: any): property is ObjectProperty => !Array.isArray(property) && property.propertyTagType.name === 'ObjectProperty';\n\nexport type ObjectProperty = AbstractBaseProperty & {\n type: 'ObjectProperty';\n propertyTagType: { name: 'ObjectProperty', children: FPropertyTagNode[] };\n value: ObjectReference;\n};\n\nexport namespace ObjectProperty {\n\n export function Parse(reader: ContextReader, property: ObjectProperty): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): ObjectReference {\n return ObjectReference.read(reader);\n }\n\n export function Serialize(writer: ContextWriter, property: ObjectProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: ObjectReference): void {\n ObjectReference.write(writer, value);\n }\n}\n"]}
1
+ {"version":3,"file":"ObjectProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/ObjectProperty.ts"],"names":[],"mappings":";;;AAGA,mEAAgE;AAGzD,MAAM,gBAAgB,GAAG,CAAC,QAAa,EAA8B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,gBAAgB,CAAC;AAAvK,QAAA,gBAAgB,oBAAuJ;AAQpL,IAAiB,cAAc,CAiB9B;AAjBD,WAAiB,cAAc;IAE3B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAwB;QACjE,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,oBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxC,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAwB;QACrE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAsB;QACxE,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;IAFe,6BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,cAAc,8BAAd,cAAc,QAiB9B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { ObjectReference } from '../../structs/ObjectReference';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isObjectProperty = (property: any): property is ObjectProperty => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'ObjectProperty';\n\nexport type ObjectProperty = AbstractBaseProperty & {\n type: 'ObjectProperty';\n propertyTagType: { name: 'ObjectProperty', children: FPropertyTagNode[] };\n value: ObjectReference;\n};\n\nexport namespace ObjectProperty {\n\n export function Parse(reader: ContextReader, property: ObjectProperty): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): ObjectReference {\n return ObjectReference.read(reader);\n }\n\n export function Serialize(writer: ContextWriter, property: ObjectProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: ObjectReference): void {\n ObjectReference.write(writer, value);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"SingleProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/SingleProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,gBAAgB,aAAc,GAAG,KAAG,QAAQ,IAAI,cAAgG,CAAC;AAE9J,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG;IAChD,IAAI,EAAE,gBAAgB,CAAC;IACvB,eAAe,EAAE;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IAC1E,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,cAAc,CAAC;IAE5B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE3E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE/E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
1
+ {"version":3,"file":"SingleProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/SingleProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,gBAAgB,aAAc,GAAG,KAAG,QAAQ,IAAI,cAAsH,CAAC;AAEpL,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG;IAChD,IAAI,EAAE,gBAAgB,CAAC;IACvB,eAAe,EAAE;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IAC1E,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,cAAc,CAAC;IAE5B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE3E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE/E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SingleProperty = exports.isSingleProperty = void 0;
4
- const isSingleProperty = (property) => !Array.isArray(property) && property.propertyTagType.name === 'SingleProperty';
4
+ const isSingleProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'SingleProperty';
5
5
  exports.isSingleProperty = isSingleProperty;
6
6
  var SingleProperty;
7
7
  (function (SingleProperty) {
@@ -1 +1 @@
1
- {"version":3,"file":"SingleProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/SingleProperty.ts"],"names":[],"mappings":";;;AAKO,MAAM,gBAAgB,GAAG,CAAC,QAAa,EAA8B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,KAAK,gBAAgB,CAAC;AAAjJ,QAAA,gBAAgB,oBAAiI;AAQ9J,IAAiB,cAAc,CAiB9B;AAjBD,WAAiB,cAAc;IAE3B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAwB;QACjE,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,oBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,WAAW,EAAE,CAAC;IAChC,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAwB;QACrE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAFe,6BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,cAAc,8BAAd,cAAc,QAiB9B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isSingleProperty = (property: any): property is SingleProperty => !Array.isArray(property) && property.propertyTagType.name === 'SingleProperty';\n\nexport type SingleProperty = AbstractBaseProperty & {\n type: 'SingleProperty';\n propertyTagType: { name: 'SingleProperty', children: FPropertyTagNode[] };\n value: number;\n};\n\nexport namespace SingleProperty {\n\n export function Parse(reader: ContextReader, property: SingleProperty): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): number {\n return reader.readFloat32();\n }\n\n export function Serialize(writer: ContextWriter, property: SingleProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: number): void {\n writer.writeFloat32(value);\n }\n}\n"]}
1
+ {"version":3,"file":"SingleProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/SingleProperty.ts"],"names":[],"mappings":";;;AAKO,MAAM,gBAAgB,GAAG,CAAC,QAAa,EAA8B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,gBAAgB,CAAC;AAAvK,QAAA,gBAAgB,oBAAuJ;AAQpL,IAAiB,cAAc,CAiB9B;AAjBD,WAAiB,cAAc;IAE3B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAwB;QACjE,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,oBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,WAAW,EAAE,CAAC;IAChC,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAwB;QACrE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAFe,6BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,cAAc,8BAAd,cAAc,QAiB9B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isSingleProperty = (property: any): property is SingleProperty => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'SingleProperty';\n\nexport type SingleProperty = AbstractBaseProperty & {\n type: 'SingleProperty';\n propertyTagType: { name: 'SingleProperty', children: FPropertyTagNode[] };\n value: number;\n};\n\nexport namespace SingleProperty {\n\n export function Parse(reader: ContextReader, property: SingleProperty): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): number {\n return reader.readFloat32();\n }\n\n export function Serialize(writer: ContextWriter, property: SingleProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: number): void {\n writer.writeFloat32(value);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"SoftObjectProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/SoftObjectProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,oBAAoB,aAAc,GAAG,KAAG,QAAQ,IAAI,kBAAwG,CAAC;AAE1K,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG;IACpD,IAAI,EAAE,oBAAoB,CAAC;IAC3B,eAAe,EAAE;QAAE,IAAI,EAAE,oBAAoB,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IAC9E,KAAK,EAAE,mBAAmB,CAAC;CAC9B,CAAC;AAEF,yBAAiB,kBAAkB,CAAC;IAGhC,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,kBAAkB,GAAG,IAAI,CAE/E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,mBAAmB,CAEpE;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,kBAAkB,GAAG,IAAI,CAEnF;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,mBAAmB,GAAG,IAAI,CAEtF;CACJ"}
1
+ {"version":3,"file":"SoftObjectProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/SoftObjectProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,oBAAoB,aAAc,GAAG,KAAG,QAAQ,IAAI,kBAA8H,CAAC;AAEhM,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG;IACpD,IAAI,EAAE,oBAAoB,CAAC;IAC3B,eAAe,EAAE;QAAE,IAAI,EAAE,oBAAoB,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IAC9E,KAAK,EAAE,mBAAmB,CAAC;CAC9B,CAAC;AAEF,yBAAiB,kBAAkB,CAAC;IAGhC,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,kBAAkB,GAAG,IAAI,CAE/E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,mBAAmB,CAEpE;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,kBAAkB,GAAG,IAAI,CAEnF;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,mBAAmB,GAAG,IAAI,CAEtF;CACJ"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SoftObjectProperty = exports.isSoftObjectProperty = void 0;
4
4
  const SoftObjectReference_1 = require("../../structs/SoftObjectReference");
5
- const isSoftObjectProperty = (property) => !Array.isArray(property) && property.propertyTagType.name === 'SoftObjectProperty';
5
+ const isSoftObjectProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'SoftObjectProperty';
6
6
  exports.isSoftObjectProperty = isSoftObjectProperty;
7
7
  var SoftObjectProperty;
8
8
  (function (SoftObjectProperty) {