@etothepii/satisfactory-file-parser 2.1.3 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (800) hide show
  1. package/CHANGELOG.md +128 -103
  2. package/LICENCE.md +1 -1
  3. package/README.md +39 -21
  4. package/build/index.d.ts +13 -1
  5. package/build/index.d.ts.map +1 -1
  6. package/build/index.js +14 -3
  7. package/build/index.js.map +1 -1
  8. package/build/parser/byte/byte-reader.class.d.ts +7 -5
  9. package/build/parser/byte/byte-reader.class.d.ts.map +1 -1
  10. package/build/parser/byte/byte-reader.class.js +6 -4
  11. package/build/parser/byte/byte-reader.class.js.map +1 -1
  12. package/build/parser/byte/byte-writer.class.d.ts +1 -0
  13. package/build/parser/byte/byte-writer.class.d.ts.map +1 -1
  14. package/build/parser/byte/byte-writer.class.js +3 -0
  15. package/build/parser/byte/byte-writer.class.js.map +1 -1
  16. package/build/parser/context/context-reader.d.ts +6 -0
  17. package/build/parser/context/context-reader.d.ts.map +1 -0
  18. package/build/parser/context/context-reader.js +13 -0
  19. package/build/parser/context/context-reader.js.map +1 -0
  20. package/build/parser/context/context-writer.d.ts +6 -0
  21. package/build/parser/context/context-writer.d.ts.map +1 -0
  22. package/build/parser/context/context-writer.js +13 -0
  23. package/build/parser/context/context-writer.js.map +1 -0
  24. package/build/parser/context/context.d.ts +16 -0
  25. package/build/parser/context/context.d.ts.map +1 -0
  26. package/build/parser/context/context.js +3 -0
  27. package/build/parser/context/context.js.map +1 -0
  28. package/build/parser/error/parser.error.d.ts +3 -0
  29. package/build/parser/error/parser.error.d.ts.map +1 -1
  30. package/build/parser/error/parser.error.js +7 -1
  31. package/build/parser/error/parser.error.js.map +1 -1
  32. package/build/parser/parser.d.ts +5 -5
  33. package/build/parser/parser.d.ts.map +1 -1
  34. package/build/parser/parser.js +50 -22
  35. package/build/parser/parser.js.map +1 -1
  36. package/build/parser/satisfactory/blueprint/blueprint-config-version.d.ts +10 -0
  37. package/build/parser/satisfactory/blueprint/blueprint-config-version.d.ts.map +1 -0
  38. package/build/parser/satisfactory/blueprint/blueprint-config-version.js +14 -0
  39. package/build/parser/satisfactory/blueprint/blueprint-config-version.js.map +1 -0
  40. package/build/parser/satisfactory/blueprint/blueprint-config.d.ts +21 -0
  41. package/build/parser/satisfactory/blueprint/blueprint-config.d.ts.map +1 -0
  42. package/build/parser/satisfactory/blueprint/blueprint-config.js +56 -0
  43. package/build/parser/satisfactory/blueprint/blueprint-config.js.map +1 -0
  44. package/build/parser/satisfactory/blueprint/blueprint-header.d.ts +24 -0
  45. package/build/parser/satisfactory/blueprint/blueprint-header.d.ts.map +1 -0
  46. package/build/parser/satisfactory/blueprint/blueprint-header.js +61 -0
  47. package/build/parser/satisfactory/blueprint/blueprint-header.js.map +1 -0
  48. package/build/parser/satisfactory/blueprint/blueprint-reader.d.ts +11 -14
  49. package/build/parser/satisfactory/blueprint/blueprint-reader.d.ts.map +1 -1
  50. package/build/parser/satisfactory/blueprint/blueprint-reader.js +15 -99
  51. package/build/parser/satisfactory/blueprint/blueprint-reader.js.map +1 -1
  52. package/build/parser/satisfactory/blueprint/blueprint-writer.d.ts +6 -9
  53. package/build/parser/satisfactory/blueprint/blueprint-writer.d.ts.map +1 -1
  54. package/build/parser/satisfactory/blueprint/blueprint-writer.js +7 -39
  55. package/build/parser/satisfactory/blueprint/blueprint-writer.js.map +1 -1
  56. package/build/parser/satisfactory/blueprint/blueprint.types.d.ts +3 -16
  57. package/build/parser/satisfactory/blueprint/blueprint.types.d.ts.map +1 -1
  58. package/build/parser/satisfactory/blueprint/blueprint.types.js.map +1 -1
  59. package/build/parser/satisfactory/edit/edit-constants.d.ts +80 -0
  60. package/build/parser/satisfactory/edit/edit-constants.d.ts.map +1 -1
  61. package/build/parser/satisfactory/edit/edit-constants.js +80 -0
  62. package/build/parser/satisfactory/edit/edit-constants.js.map +1 -1
  63. package/build/parser/satisfactory/save/factory-game-custom-version.d.ts +34 -0
  64. package/build/parser/satisfactory/save/factory-game-custom-version.d.ts.map +1 -0
  65. package/build/parser/satisfactory/save/factory-game-custom-version.js +39 -0
  66. package/build/parser/satisfactory/save/factory-game-custom-version.js.map +1 -0
  67. package/build/parser/satisfactory/save/level-to-destroyed-actors-map.d.ts +9 -0
  68. package/build/parser/satisfactory/save/level-to-destroyed-actors-map.d.ts.map +1 -0
  69. package/build/parser/satisfactory/save/level-to-destroyed-actors-map.js +32 -0
  70. package/build/parser/satisfactory/save/level-to-destroyed-actors-map.js.map +1 -0
  71. package/build/parser/satisfactory/save/level.class.d.ts +16 -10
  72. package/build/parser/satisfactory/save/level.class.d.ts.map +1 -1
  73. package/build/parser/satisfactory/save/level.class.js +70 -24
  74. package/build/parser/satisfactory/save/level.class.js.map +1 -1
  75. package/build/parser/satisfactory/save/object-references-list.d.ts +4 -4
  76. package/build/parser/satisfactory/save/object-references-list.d.ts.map +1 -1
  77. package/build/parser/satisfactory/save/object-references-list.js.map +1 -1
  78. package/build/parser/satisfactory/save/satisfactory-save-header.d.ts +29 -0
  79. package/build/parser/satisfactory/save/satisfactory-save-header.d.ts.map +1 -0
  80. package/build/parser/satisfactory/save/satisfactory-save-header.js +111 -0
  81. package/build/parser/satisfactory/save/satisfactory-save-header.js.map +1 -0
  82. package/build/parser/satisfactory/save/satisfactory-save.d.ts +6 -4
  83. package/build/parser/satisfactory/save/satisfactory-save.d.ts.map +1 -1
  84. package/build/parser/satisfactory/save/satisfactory-save.js +4 -1
  85. package/build/parser/satisfactory/save/satisfactory-save.js.map +1 -1
  86. package/build/parser/satisfactory/save/save-body-chunks.d.ts +25 -0
  87. package/build/parser/satisfactory/save/save-body-chunks.d.ts.map +1 -0
  88. package/build/parser/satisfactory/save/save-body-chunks.js +118 -0
  89. package/build/parser/satisfactory/save/save-body-chunks.js.map +1 -0
  90. package/build/parser/satisfactory/save/save-custom-version.d.ts +57 -0
  91. package/build/parser/satisfactory/save/save-custom-version.d.ts.map +1 -0
  92. package/build/parser/satisfactory/save/save-custom-version.js +62 -0
  93. package/build/parser/satisfactory/save/save-custom-version.js.map +1 -0
  94. package/build/parser/satisfactory/save/save-header-type.d.ts +18 -0
  95. package/build/parser/satisfactory/save/save-header-type.d.ts.map +1 -0
  96. package/build/parser/satisfactory/save/save-header-type.js +22 -0
  97. package/build/parser/satisfactory/save/save-header-type.js.map +1 -0
  98. package/build/parser/satisfactory/save/save-reader.d.ts +14 -12
  99. package/build/parser/satisfactory/save/save-reader.d.ts.map +1 -1
  100. package/build/parser/satisfactory/save/save-reader.js +32 -134
  101. package/build/parser/satisfactory/save/save-reader.js.map +1 -1
  102. package/build/parser/satisfactory/save/save-writer.d.ts +7 -9
  103. package/build/parser/satisfactory/save/save-writer.d.ts.map +1 -1
  104. package/build/parser/satisfactory/save/save-writer.js +8 -95
  105. package/build/parser/satisfactory/save/save-writer.js.map +1 -1
  106. package/build/parser/satisfactory/save/save.types.d.ts +5 -25
  107. package/build/parser/satisfactory/save/save.types.d.ts.map +1 -1
  108. package/build/parser/satisfactory/save/save.types.js.map +1 -1
  109. package/build/parser/satisfactory/types/objects/SaveComponent.d.ts +6 -5
  110. package/build/parser/satisfactory/types/objects/SaveComponent.d.ts.map +1 -1
  111. package/build/parser/satisfactory/types/objects/SaveComponent.js +2 -2
  112. package/build/parser/satisfactory/types/objects/SaveComponent.js.map +1 -1
  113. package/build/parser/satisfactory/types/objects/SaveEntity.d.ts +7 -8
  114. package/build/parser/satisfactory/types/objects/SaveEntity.d.ts.map +1 -1
  115. package/build/parser/satisfactory/types/objects/SaveEntity.js +7 -10
  116. package/build/parser/satisfactory/types/objects/SaveEntity.js.map +1 -1
  117. package/build/parser/satisfactory/types/objects/SaveObject.d.ts +11 -9
  118. package/build/parser/satisfactory/types/objects/SaveObject.d.ts.map +1 -1
  119. package/build/parser/satisfactory/types/objects/SaveObject.js +17 -9
  120. package/build/parser/satisfactory/types/objects/SaveObject.js.map +1 -1
  121. package/build/parser/satisfactory/types/property/PropertiesList.d.ts +6 -6
  122. package/build/parser/satisfactory/types/property/PropertiesList.d.ts.map +1 -1
  123. package/build/parser/satisfactory/types/property/PropertiesList.js +7 -7
  124. package/build/parser/satisfactory/types/property/PropertiesList.js.map +1 -1
  125. package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.js.map +1 -1
  126. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.d.ts +4 -4
  127. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.d.ts.map +1 -1
  128. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.js.map +1 -1
  129. package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.d.ts +4 -4
  130. package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.d.ts.map +1 -1
  131. package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.js.map +1 -1
  132. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.d.ts +4 -4
  133. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.d.ts.map +1 -1
  134. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.js.map +1 -1
  135. package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.d.ts +4 -4
  136. package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.d.ts.map +1 -1
  137. package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.js.map +1 -1
  138. package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.d.ts +4 -4
  139. package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.d.ts.map +1 -1
  140. package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.js.map +1 -1
  141. package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.d.ts +4 -4
  142. package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.d.ts.map +1 -1
  143. package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.js.map +1 -1
  144. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.d.ts +4 -4
  145. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.d.ts.map +1 -1
  146. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.js.map +1 -1
  147. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.d.ts +4 -4
  148. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.d.ts.map +1 -1
  149. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.js.map +1 -1
  150. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.d.ts +4 -4
  151. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.d.ts.map +1 -1
  152. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.js.map +1 -1
  153. package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.d.ts +4 -4
  154. package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.d.ts.map +1 -1
  155. package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.js.map +1 -1
  156. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.d.ts +4 -4
  157. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.d.ts.map +1 -1
  158. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.js.map +1 -1
  159. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.d.ts +4 -4
  160. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.d.ts.map +1 -1
  161. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.js.map +1 -1
  162. package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.d.ts +4 -4
  163. package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.d.ts.map +1 -1
  164. package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.js.map +1 -1
  165. package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts +6 -6
  166. package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts.map +1 -1
  167. package/build/parser/satisfactory/types/property/generic/BoolProperty.js.map +1 -1
  168. package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts +6 -6
  169. package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts.map +1 -1
  170. package/build/parser/satisfactory/types/property/generic/ByteProperty.js.map +1 -1
  171. package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts +6 -6
  172. package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts.map +1 -1
  173. package/build/parser/satisfactory/types/property/generic/DoubleProperty.js.map +1 -1
  174. package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts +6 -6
  175. package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts.map +1 -1
  176. package/build/parser/satisfactory/types/property/generic/EnumProperty.js.map +1 -1
  177. package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts +6 -6
  178. package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts.map +1 -1
  179. package/build/parser/satisfactory/types/property/generic/FloatProperty.js.map +1 -1
  180. package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts +6 -6
  181. package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts.map +1 -1
  182. package/build/parser/satisfactory/types/property/generic/Int32Property.js.map +1 -1
  183. package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts +6 -6
  184. package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts.map +1 -1
  185. package/build/parser/satisfactory/types/property/generic/Int64Property.js.map +1 -1
  186. package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts +6 -6
  187. package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts.map +1 -1
  188. package/build/parser/satisfactory/types/property/generic/Int8Property.js.map +1 -1
  189. package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts +4 -4
  190. package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts.map +1 -1
  191. package/build/parser/satisfactory/types/property/generic/MapProperty.js +5 -5
  192. package/build/parser/satisfactory/types/property/generic/MapProperty.js.map +1 -1
  193. package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts +6 -6
  194. package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts.map +1 -1
  195. package/build/parser/satisfactory/types/property/generic/ObjectProperty.js.map +1 -1
  196. package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts +4 -4
  197. package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts.map +1 -1
  198. package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.js.map +1 -1
  199. package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.d.ts +4 -4
  200. package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.d.ts.map +1 -1
  201. package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.js.map +1 -1
  202. package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.d.ts +4 -4
  203. package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.d.ts.map +1 -1
  204. package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.js +4 -1
  205. package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.js.map +1 -1
  206. package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.d.ts +4 -4
  207. package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.d.ts.map +1 -1
  208. package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.js.map +1 -1
  209. package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.d.ts +4 -4
  210. package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.d.ts.map +1 -1
  211. package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js +1 -2
  212. package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js.map +1 -1
  213. package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.d.ts +4 -4
  214. package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.d.ts.map +1 -1
  215. package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.js.map +1 -1
  216. package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts +6 -6
  217. package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts.map +1 -1
  218. package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js.map +1 -1
  219. package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts +6 -6
  220. package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts.map +1 -1
  221. package/build/parser/satisfactory/types/property/generic/StrProperty.js.map +1 -1
  222. package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts +11 -15
  223. package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts.map +1 -1
  224. package/build/parser/satisfactory/types/property/generic/StructProperty.js +32 -36
  225. package/build/parser/satisfactory/types/property/generic/StructProperty.js.map +1 -1
  226. package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts +6 -6
  227. package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts.map +1 -1
  228. package/build/parser/satisfactory/types/property/generic/TextProperty.js.map +1 -1
  229. package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts +6 -6
  230. package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts.map +1 -1
  231. package/build/parser/satisfactory/types/property/generic/Uint32Property.js.map +1 -1
  232. package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts +6 -6
  233. package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts.map +1 -1
  234. package/build/parser/satisfactory/types/property/generic/Uint64Property.js.map +1 -1
  235. package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts +6 -6
  236. package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts.map +1 -1
  237. package/build/parser/satisfactory/types/property/generic/Uint8Property.js.map +1 -1
  238. package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.d.ts +25 -5
  239. package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.d.ts.map +1 -1
  240. package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.js +70 -44
  241. package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.js.map +1 -1
  242. package/build/parser/satisfactory/types/property/special/CircuitSpecialProperties.d.ts +4 -4
  243. package/build/parser/satisfactory/types/property/special/CircuitSpecialProperties.d.ts.map +1 -1
  244. package/build/parser/satisfactory/types/property/special/CircuitSpecialProperties.js.map +1 -1
  245. package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.d.ts +4 -4
  246. package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.d.ts.map +1 -1
  247. package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.js.map +1 -1
  248. package/build/parser/satisfactory/types/property/special/ConveyorSpecialProperties.d.ts +4 -4
  249. package/build/parser/satisfactory/types/property/special/ConveyorSpecialProperties.d.ts.map +1 -1
  250. package/build/parser/satisfactory/types/property/special/ConveyorSpecialProperties.js +2 -2
  251. package/build/parser/satisfactory/types/property/special/ConveyorSpecialProperties.js.map +1 -1
  252. package/build/parser/satisfactory/types/property/special/EmptySpecialProperties.d.ts +4 -4
  253. package/build/parser/satisfactory/types/property/special/EmptySpecialProperties.d.ts.map +1 -1
  254. package/build/parser/satisfactory/types/property/special/EmptySpecialProperties.js.map +1 -1
  255. package/build/parser/satisfactory/types/property/special/ObjectsListSpecialProperties.d.ts +4 -4
  256. package/build/parser/satisfactory/types/property/special/ObjectsListSpecialProperties.d.ts.map +1 -1
  257. package/build/parser/satisfactory/types/property/special/ObjectsListSpecialProperties.js.map +1 -1
  258. package/build/parser/satisfactory/types/property/special/PlayerSpecialProperties.d.ts +4 -4
  259. package/build/parser/satisfactory/types/property/special/PlayerSpecialProperties.d.ts.map +1 -1
  260. package/build/parser/satisfactory/types/property/special/PlayerSpecialProperties.js.map +1 -1
  261. package/build/parser/satisfactory/types/property/special/PowerLineSpecialProperties.d.ts +4 -4
  262. package/build/parser/satisfactory/types/property/special/PowerLineSpecialProperties.d.ts.map +1 -1
  263. package/build/parser/satisfactory/types/property/special/PowerLineSpecialProperties.js +12 -3
  264. package/build/parser/satisfactory/types/property/special/PowerLineSpecialProperties.js.map +1 -1
  265. package/build/parser/satisfactory/types/property/special/SpecialDroneActionProperties.d.ts +4 -4
  266. package/build/parser/satisfactory/types/property/special/SpecialDroneActionProperties.d.ts.map +1 -1
  267. package/build/parser/satisfactory/types/property/special/SpecialDroneActionProperties.js +4 -4
  268. package/build/parser/satisfactory/types/property/special/SpecialDroneActionProperties.js.map +1 -1
  269. package/build/parser/satisfactory/types/property/special/SpecialProperties.d.ts +4 -4
  270. package/build/parser/satisfactory/types/property/special/SpecialProperties.d.ts.map +1 -1
  271. package/build/parser/satisfactory/types/property/special/SpecialProperties.js.map +1 -1
  272. package/build/parser/satisfactory/types/property/special/VehicleSpecialProperties.d.ts +6 -9
  273. package/build/parser/satisfactory/types/property/special/VehicleSpecialProperties.d.ts.map +1 -1
  274. package/build/parser/satisfactory/types/property/special/VehicleSpecialProperties.js +3 -8
  275. package/build/parser/satisfactory/types/property/special/VehicleSpecialProperties.js.map +1 -1
  276. package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.d.ts +8 -0
  277. package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.d.ts.map +1 -0
  278. package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.js +12 -0
  279. package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.js.map +1 -0
  280. package/build/parser/satisfactory/types/structs/DynamicStructPropertyValue.d.ts +4 -4
  281. package/build/parser/satisfactory/types/structs/DynamicStructPropertyValue.d.ts.map +1 -1
  282. package/build/parser/satisfactory/types/structs/DynamicStructPropertyValue.js +4 -4
  283. package/build/parser/satisfactory/types/structs/DynamicStructPropertyValue.js.map +1 -1
  284. package/build/parser/satisfactory/types/structs/FGDynamicStruct.d.ts +14 -0
  285. package/build/parser/satisfactory/types/structs/FGDynamicStruct.d.ts.map +1 -0
  286. package/build/parser/satisfactory/types/structs/FGDynamicStruct.js +34 -0
  287. package/build/parser/satisfactory/types/structs/FGDynamicStruct.js.map +1 -0
  288. package/build/parser/satisfactory/types/structs/GUID.d.ts +4 -4
  289. package/build/parser/satisfactory/types/structs/GUID.d.ts.map +1 -1
  290. package/build/parser/satisfactory/types/structs/GUID.js.map +1 -1
  291. package/build/parser/satisfactory/types/structs/GUIDInfo.d.ts +4 -4
  292. package/build/parser/satisfactory/types/structs/GUIDInfo.d.ts.map +1 -1
  293. package/build/parser/satisfactory/types/structs/GUIDInfo.js.map +1 -1
  294. package/build/parser/satisfactory/types/structs/MD5Hash.d.ts +4 -4
  295. package/build/parser/satisfactory/types/structs/MD5Hash.d.ts.map +1 -1
  296. package/build/parser/satisfactory/types/structs/MD5Hash.js.map +1 -1
  297. package/build/parser/satisfactory/types/structs/ObjectReference.d.ts +5 -4
  298. package/build/parser/satisfactory/types/structs/ObjectReference.d.ts.map +1 -1
  299. package/build/parser/satisfactory/types/structs/ObjectReference.js +1 -0
  300. package/build/parser/satisfactory/types/structs/ObjectReference.js.map +1 -1
  301. package/build/parser/satisfactory/types/structs/SoftObjectReference.d.ts +4 -4
  302. package/build/parser/satisfactory/types/structs/SoftObjectReference.d.ts.map +1 -1
  303. package/build/parser/satisfactory/types/structs/SoftObjectReference.js.map +1 -1
  304. package/build/parser/satisfactory/types/structs/Transform.d.ts +6 -6
  305. package/build/parser/satisfactory/types/structs/Transform.d.ts.map +1 -1
  306. package/build/parser/satisfactory/types/structs/Transform.js.map +1 -1
  307. package/build/parser/satisfactory/types/structs/VehiclePhysicsData.d.ts +17 -0
  308. package/build/parser/satisfactory/types/structs/VehiclePhysicsData.d.ts.map +1 -0
  309. package/build/parser/satisfactory/types/structs/VehiclePhysicsData.js +26 -0
  310. package/build/parser/satisfactory/types/structs/VehiclePhysicsData.js.map +1 -0
  311. package/build/parser/satisfactory/types/structs/col4.d.ts +6 -6
  312. package/build/parser/satisfactory/types/structs/col4.d.ts.map +1 -1
  313. package/build/parser/satisfactory/types/structs/col4.js.map +1 -1
  314. package/build/parser/satisfactory/types/structs/mods/FicsItCam/FICFrameRange.d.ts +4 -4
  315. package/build/parser/satisfactory/types/structs/mods/FicsItCam/FICFrameRange.d.ts.map +1 -1
  316. package/build/parser/satisfactory/types/structs/mods/FicsItCam/FICFrameRange.js.map +1 -1
  317. package/build/parser/satisfactory/types/structs/vec2.d.ts +6 -6
  318. package/build/parser/satisfactory/types/structs/vec2.d.ts.map +1 -1
  319. package/build/parser/satisfactory/types/structs/vec2.js.map +1 -1
  320. package/build/parser/satisfactory/types/structs/vec3.d.ts +8 -8
  321. package/build/parser/satisfactory/types/structs/vec3.d.ts.map +1 -1
  322. package/build/parser/satisfactory/types/structs/vec3.js.map +1 -1
  323. package/build/parser/satisfactory/types/structs/vec4.d.ts +6 -6
  324. package/build/parser/satisfactory/types/structs/vec4.d.ts.map +1 -1
  325. package/build/parser/satisfactory/types/structs/vec4.js.map +1 -1
  326. package/build/parser/stream/reworked/readable-stream-parser.d.ts +2 -2
  327. package/build/parser/stream/reworked/readable-stream-parser.d.ts.map +1 -1
  328. package/build/parser/stream/reworked/readable-stream-parser.js +59 -20
  329. package/build/parser/stream/reworked/readable-stream-parser.js.map +1 -1
  330. package/build/parser/stream/reworked/save-stream-json-stringifier.js +1 -1
  331. package/build/parser/stream/reworked/save-stream-json-stringifier.js.map +1 -1
  332. package/build/parser/stream/reworked/save-stream-writer.class.d.ts +2 -2
  333. package/build/parser/stream/reworked/save-stream-writer.class.d.ts.map +1 -1
  334. package/build/parser/stream/reworked/save-stream-writer.class.js.map +1 -1
  335. package/docs/assets/highlight.css +4 -4
  336. package/docs/assets/navigation.js +1 -1
  337. package/docs/assets/search.js +1 -1
  338. package/docs/classes/BlueprintConfigReader.html +7 -6
  339. package/docs/classes/BlueprintConfigWriter.html +6 -4
  340. package/docs/classes/BlueprintReader.html +7 -5
  341. package/docs/classes/BlueprintWriter.html +6 -4
  342. package/docs/classes/CompressionLibraryError.html +2 -2
  343. package/docs/classes/CorruptBlueprintError.html +11 -0
  344. package/docs/classes/CorruptSaveError.html +2 -2
  345. package/docs/classes/Parser.html +13 -13
  346. package/docs/classes/ParserError.html +2 -2
  347. package/docs/classes/ReadableStreamParser.html +4 -4
  348. package/docs/classes/SatisfactorySave.html +3 -2
  349. package/docs/classes/SaveComponent.html +6 -5
  350. package/docs/classes/SaveEntity.html +6 -6
  351. package/docs/classes/SaveObject.html +6 -5
  352. package/docs/classes/SaveReader.html +11 -7
  353. package/docs/classes/SaveStreamJsonStringifier.html +2 -2
  354. package/docs/classes/SaveStreamWriter.html +2 -2
  355. package/docs/classes/SaveWriter.html +6 -4
  356. package/docs/classes/TimeoutError.html +2 -2
  357. package/docs/classes/UnimplementedError.html +2 -2
  358. package/docs/classes/UnsupportedVersionError.html +2 -2
  359. package/docs/enums/BlueprintConfigVersion.html +9 -0
  360. package/docs/enums/CompressionAlgorithmCode.html +2 -0
  361. package/docs/enums/FactoryGameCustomVersion.html +33 -0
  362. package/docs/enums/RuntimeBuildableInstanceDataVersion.html +7 -0
  363. package/docs/enums/SaveCustomVersion.html +64 -0
  364. package/docs/enums/SaveHeaderType.html +17 -0
  365. package/docs/functions/AbstractBaseProperty.Create.html +1 -1
  366. package/docs/functions/ArrayProperty.CalcOverhead.html +1 -1
  367. package/docs/functions/ArrayProperty.Parse.html +1 -1
  368. package/docs/functions/ArrayProperty.Serialize.html +1 -1
  369. package/docs/functions/BlueprintConfig.Parse.html +1 -0
  370. package/docs/functions/BlueprintConfig.Serialize.html +1 -0
  371. package/docs/functions/BlueprintHeader.Parse.html +1 -0
  372. package/docs/functions/BlueprintHeader.Serialize.html +1 -0
  373. package/docs/functions/BoolArrayProperty.Parse.html +1 -1
  374. package/docs/functions/BoolArrayProperty.Serialize.html +1 -1
  375. package/docs/functions/BoolProperty.CalcOverhead.html +1 -1
  376. package/docs/functions/BoolProperty.Parse.html +1 -1
  377. package/docs/functions/BoolProperty.ReadValue.html +1 -1
  378. package/docs/functions/BoolProperty.Serialize.html +1 -1
  379. package/docs/functions/BoolProperty.SerializeValue.html +1 -1
  380. package/docs/functions/BuildableSubsystemSpecialProperties.Parse.html +1 -1
  381. package/docs/functions/BuildableSubsystemSpecialProperties.Serialize.html +1 -1
  382. package/docs/functions/BuildableTypeInstance.Parse.html +1 -0
  383. package/docs/functions/BuildableTypeInstance.Serialize.html +1 -0
  384. package/docs/functions/ByteArrayProperty.Parse.html +1 -1
  385. package/docs/functions/ByteArrayProperty.Serialize.html +1 -1
  386. package/docs/functions/ByteProperty.CalcOverhead.html +1 -1
  387. package/docs/functions/ByteProperty.Parse.html +1 -1
  388. package/docs/functions/ByteProperty.ReadValue.html +1 -1
  389. package/docs/functions/ByteProperty.Serialize.html +1 -1
  390. package/docs/functions/ByteProperty.SerializeValue.html +1 -1
  391. package/docs/functions/CircuitSpecialProperties.Parse.html +1 -1
  392. package/docs/functions/CircuitSpecialProperties.Serialize.html +1 -1
  393. package/docs/functions/ConveyorChainActorSpecialProperties.Parse.html +1 -1
  394. package/docs/functions/ConveyorChainActorSpecialProperties.Serialize.html +1 -1
  395. package/docs/functions/ConveyorSpecialProperties.Parse.html +1 -1
  396. package/docs/functions/ConveyorSpecialProperties.Serialize.html +1 -1
  397. package/docs/functions/DoubleArrayProperty.Parse.html +1 -1
  398. package/docs/functions/DoubleArrayProperty.Serialize.html +1 -1
  399. package/docs/functions/DoubleProperty.CalcOverhead.html +1 -1
  400. package/docs/functions/DoubleProperty.Parse.html +1 -1
  401. package/docs/functions/DoubleProperty.ReadValue.html +1 -1
  402. package/docs/functions/DoubleProperty.Serialize.html +1 -1
  403. package/docs/functions/DoubleProperty.SerializeValue.html +1 -1
  404. package/docs/functions/DynamicStructPropertyValue.read.html +1 -1
  405. package/docs/functions/DynamicStructPropertyValue.write.html +1 -1
  406. package/docs/functions/EmptySpecialProperties.Parse.html +1 -1
  407. package/docs/functions/EmptySpecialProperties.Serialize.html +1 -1
  408. package/docs/functions/EnumArrayProperty.Parse.html +1 -1
  409. package/docs/functions/EnumArrayProperty.Serialize.html +1 -1
  410. package/docs/functions/EnumProperty.CalcOverhead.html +1 -1
  411. package/docs/functions/EnumProperty.Parse.html +1 -1
  412. package/docs/functions/EnumProperty.ReadValue.html +1 -1
  413. package/docs/functions/EnumProperty.Serialize.html +1 -1
  414. package/docs/functions/EnumProperty.SerializeValue.html +1 -1
  415. package/docs/functions/FGDynamicStruct.Parse.html +1 -0
  416. package/docs/functions/FGDynamicStruct.Serialize.html +1 -0
  417. package/docs/functions/FICFrameRange.Parse.html +1 -1
  418. package/docs/functions/FICFrameRange.Serialize.html +1 -1
  419. package/docs/functions/FloatArrayProperty.Parse.html +1 -1
  420. package/docs/functions/FloatArrayProperty.Serialize.html +1 -1
  421. package/docs/functions/FloatProperty.CalcOverhead.html +1 -1
  422. package/docs/functions/FloatProperty.Parse.html +1 -1
  423. package/docs/functions/FloatProperty.ReadValue.html +1 -1
  424. package/docs/functions/FloatProperty.Serialize.html +1 -1
  425. package/docs/functions/FloatProperty.SerializeValue.html +1 -1
  426. package/docs/functions/GUID.read.html +1 -1
  427. package/docs/functions/GUID.write.html +1 -1
  428. package/docs/functions/GUIDInfo.read.html +1 -1
  429. package/docs/functions/GUIDInfo.write.html +1 -1
  430. package/docs/functions/Int32ArrayProperty.Parse.html +1 -1
  431. package/docs/functions/Int32ArrayProperty.Serialize.html +1 -1
  432. package/docs/functions/Int32Property.CalcOverhead.html +1 -1
  433. package/docs/functions/Int32Property.Parse.html +1 -1
  434. package/docs/functions/Int32Property.ReadValue.html +1 -1
  435. package/docs/functions/Int32Property.Serialize.html +1 -1
  436. package/docs/functions/Int32Property.SerializeValue.html +1 -1
  437. package/docs/functions/Int32SetProperty.Parse.html +1 -1
  438. package/docs/functions/Int32SetProperty.Serialize.html +1 -1
  439. package/docs/functions/Int64ArrayProperty.Parse.html +1 -1
  440. package/docs/functions/Int64ArrayProperty.Serialize.html +1 -1
  441. package/docs/functions/Int64Property.CalcOverhead.html +1 -1
  442. package/docs/functions/Int64Property.Parse.html +1 -1
  443. package/docs/functions/Int64Property.ReadValue.html +1 -1
  444. package/docs/functions/Int64Property.Serialize.html +1 -1
  445. package/docs/functions/Int64Property.SerializeValue.html +1 -1
  446. package/docs/functions/Int8Property.CalcOverhead.html +1 -1
  447. package/docs/functions/Int8Property.Parse.html +1 -1
  448. package/docs/functions/Int8Property.ReadValue.html +1 -1
  449. package/docs/functions/Int8Property.Serialize.html +1 -1
  450. package/docs/functions/Int8Property.SerializeValue.html +1 -1
  451. package/docs/functions/Level.ReadAllObjectContents.html +1 -1
  452. package/docs/functions/Level.ReadAllObjectHeaders.html +1 -1
  453. package/docs/functions/Level.ReadLevel.html +1 -1
  454. package/docs/functions/Level.ReadNObjectContents.html +1 -1
  455. package/docs/functions/Level.ReadNObjectHeaders.html +1 -1
  456. package/docs/functions/Level.SerializeAllObjectContents.html +1 -1
  457. package/docs/functions/Level.SerializeAllObjectHeaders.html +1 -1
  458. package/docs/functions/Level.SerializeLevel.html +1 -1
  459. package/docs/functions/MD5Hash.read.html +1 -1
  460. package/docs/functions/MD5Hash.write.html +1 -1
  461. package/docs/functions/MapProperty.CalcOverhead.html +1 -1
  462. package/docs/functions/MapProperty.Parse.html +1 -1
  463. package/docs/functions/MapProperty.Serialize.html +1 -1
  464. package/docs/functions/ObjectArrayProperty.Parse.html +1 -1
  465. package/docs/functions/ObjectArrayProperty.Serialize.html +1 -1
  466. package/docs/functions/ObjectProperty.CalcOverhead.html +1 -1
  467. package/docs/functions/ObjectProperty.Parse.html +1 -1
  468. package/docs/functions/ObjectProperty.ReadValue.html +1 -1
  469. package/docs/functions/ObjectProperty.Serialize.html +1 -1
  470. package/docs/functions/ObjectProperty.SerializeValue.html +1 -1
  471. package/docs/functions/ObjectReference.IsEqual.html +1 -0
  472. package/docs/functions/ObjectReference.read.html +1 -1
  473. package/docs/functions/ObjectReference.write.html +1 -1
  474. package/docs/functions/ObjectSetProperty.Parse.html +1 -1
  475. package/docs/functions/ObjectSetProperty.Serialize.html +1 -1
  476. package/docs/functions/ObjectsListSpecialProperties.Parse.html +1 -1
  477. package/docs/functions/ObjectsListSpecialProperties.Serialize.html +1 -1
  478. package/docs/functions/PlayerSpecialProperties.Parse.html +1 -1
  479. package/docs/functions/PlayerSpecialProperties.Serialize.html +1 -1
  480. package/docs/functions/PowerLineSpecialProperties.Parse.html +1 -1
  481. package/docs/functions/PowerLineSpecialProperties.Serialize.html +1 -1
  482. package/docs/functions/PropertiesList.ParseList.html +1 -1
  483. package/docs/functions/PropertiesList.ParseSingleProperty.html +1 -1
  484. package/docs/functions/PropertiesList.SerializeList.html +1 -1
  485. package/docs/functions/PropertiesList.SerializeSingleProperty.html +1 -1
  486. package/docs/functions/SatisfactorySaveHeader.Parse.html +1 -0
  487. package/docs/functions/SatisfactorySaveHeader.Serialize.html +1 -0
  488. package/docs/functions/SaveBodyChunks.CompressDataIntoChunks.html +1 -0
  489. package/docs/functions/SaveBodyChunks.DecompressChunks.html +1 -0
  490. package/docs/functions/SetProperty.CalcOverhead.html +1 -1
  491. package/docs/functions/SetProperty.Parse.html +1 -1
  492. package/docs/functions/SetProperty.Serialize.html +1 -1
  493. package/docs/functions/SoftObjectArrayProperty.Parse.html +1 -1
  494. package/docs/functions/SoftObjectArrayProperty.Serialize.html +1 -1
  495. package/docs/functions/SoftObjectReference.read.html +1 -1
  496. package/docs/functions/SoftObjectReference.write.html +1 -1
  497. package/docs/functions/SpecialDroneActionProperties.Parse.html +1 -1
  498. package/docs/functions/SpecialDroneActionProperties.Serialize.html +1 -1
  499. package/docs/functions/SpecialProperties.ParseClassSpecificSpecialProperties.html +1 -1
  500. package/docs/functions/SpecialProperties.SerializeClassSpecificSpecialProperties.html +1 -1
  501. package/docs/functions/StrArrayProperty.Parse.html +1 -1
  502. package/docs/functions/StrArrayProperty.Serialize.html +1 -1
  503. package/docs/functions/StrProperty.CalcOverhead.html +1 -1
  504. package/docs/functions/StrProperty.Parse.html +1 -1
  505. package/docs/functions/StrProperty.ReadValue.html +1 -1
  506. package/docs/functions/StrProperty.Serialize.html +1 -1
  507. package/docs/functions/StrProperty.SerializeValue.html +1 -1
  508. package/docs/functions/StrSetProperty.Parse.html +1 -1
  509. package/docs/functions/StrSetProperty.Serialize.html +1 -1
  510. package/docs/functions/StructArrayProperty.Parse.html +1 -1
  511. package/docs/functions/StructArrayProperty.Serialize.html +1 -1
  512. package/docs/functions/StructProperty.CalcOverhead.html +1 -1
  513. package/docs/functions/StructProperty.Parse.html +1 -1
  514. package/docs/functions/StructProperty.ParseValue.html +1 -1
  515. package/docs/functions/StructProperty.Serialize.html +1 -1
  516. package/docs/functions/StructProperty.SerializeValue.html +1 -1
  517. package/docs/functions/StructSetProperty.Parse.html +1 -1
  518. package/docs/functions/StructSetProperty.Serialize.html +1 -1
  519. package/docs/functions/TextArrayProperty.Parse.html +1 -1
  520. package/docs/functions/TextArrayProperty.Serialize.html +1 -1
  521. package/docs/functions/TextProperty.CalcOverhead.html +1 -1
  522. package/docs/functions/TextProperty.Parse.html +1 -1
  523. package/docs/functions/TextProperty.ReadValue.html +1 -1
  524. package/docs/functions/TextProperty.Serialize.html +1 -1
  525. package/docs/functions/TextProperty.SerializeValue.html +1 -1
  526. package/docs/functions/Transform.Parse.html +1 -1
  527. package/docs/functions/Transform.ParseF.html +1 -1
  528. package/docs/functions/Transform.Serialize.html +1 -1
  529. package/docs/functions/Transform.SerializeF.html +1 -1
  530. package/docs/functions/Uint32Property.CalcOverhead.html +1 -1
  531. package/docs/functions/Uint32Property.Parse.html +1 -1
  532. package/docs/functions/Uint32Property.ReadValue.html +1 -1
  533. package/docs/functions/Uint32Property.Serialize.html +1 -1
  534. package/docs/functions/Uint32Property.SerializeValue.html +1 -1
  535. package/docs/functions/Uint32SetProperty.Parse.html +1 -1
  536. package/docs/functions/Uint32SetProperty.Serialize.html +1 -1
  537. package/docs/functions/Uint64Property.CalcOverhead.html +1 -1
  538. package/docs/functions/Uint64Property.Parse.html +1 -1
  539. package/docs/functions/Uint64Property.ReadValue.html +1 -1
  540. package/docs/functions/Uint64Property.Serialize.html +1 -1
  541. package/docs/functions/Uint64Property.SerializeValue.html +1 -1
  542. package/docs/functions/Uint8Property.CalcOverhead.html +1 -1
  543. package/docs/functions/Uint8Property.Parse.html +1 -1
  544. package/docs/functions/Uint8Property.ReadValue.html +1 -1
  545. package/docs/functions/Uint8Property.Serialize.html +1 -1
  546. package/docs/functions/Uint8Property.SerializeValue.html +1 -1
  547. package/docs/functions/VehiclePhysicsData.Parse.html +1 -0
  548. package/docs/functions/VehiclePhysicsData.Serialize.html +1 -0
  549. package/docs/functions/VehicleSpecialProperties.Parse.html +1 -1
  550. package/docs/functions/VehicleSpecialProperties.Serialize.html +1 -1
  551. package/docs/functions/col4.ParseBGRA.html +1 -1
  552. package/docs/functions/col4.ParseRGBA.html +1 -1
  553. package/docs/functions/col4.SerializeBGRA.html +1 -1
  554. package/docs/functions/col4.SerializeRGBA.html +1 -1
  555. package/docs/functions/isArrayProperty.html +1 -1
  556. package/docs/functions/isBoolArrayProperty.html +1 -1
  557. package/docs/functions/isBoolProperty.html +1 -1
  558. package/docs/functions/isBuildableSubsystemSpecialProperties.html +1 -1
  559. package/docs/functions/isByteArrayProperty.html +1 -1
  560. package/docs/functions/isByteProperty.html +1 -1
  561. package/docs/functions/isCircuitSpecialProperties.html +1 -1
  562. package/docs/functions/isConveyorChainActorSpecialProperties.html +1 -1
  563. package/docs/functions/isConveyorSpecialProperties.html +1 -1
  564. package/docs/functions/isDoubleArrayProperty.html +1 -1
  565. package/docs/functions/isDoubleProperty.html +1 -1
  566. package/docs/functions/isEmptySpecialProperties.html +1 -1
  567. package/docs/functions/isEnumArrayProperty.html +1 -1
  568. package/docs/functions/isEnumProperty.html +1 -1
  569. package/docs/functions/isFloatArrayProperty.html +1 -1
  570. package/docs/functions/isFloatProperty.html +1 -1
  571. package/docs/functions/isInt32ArrayProperty.html +1 -1
  572. package/docs/functions/isInt32Property.html +1 -1
  573. package/docs/functions/isInt32SetProperty.html +1 -1
  574. package/docs/functions/isInt64ArrayProperty.html +1 -1
  575. package/docs/functions/isInt64Property.html +1 -1
  576. package/docs/functions/isInt8Property.html +1 -1
  577. package/docs/functions/isMapProperty.html +1 -1
  578. package/docs/functions/isObjectArrayProperty.html +1 -1
  579. package/docs/functions/isObjectProperty.html +1 -1
  580. package/docs/functions/isObjectSetProperty.html +1 -1
  581. package/docs/functions/isObjectsListSpecialProperties.html +1 -1
  582. package/docs/functions/isPlayerSpecialProperties.html +1 -1
  583. package/docs/functions/isPowerLineSpecialProperties.html +1 -1
  584. package/docs/functions/isSaveComponent.html +1 -1
  585. package/docs/functions/isSaveEntity.html +1 -1
  586. package/docs/functions/isSetProperty.html +1 -1
  587. package/docs/functions/isSoftObjectArrayProperty.html +1 -1
  588. package/docs/functions/isSpecialDroneActionProperties.html +1 -1
  589. package/docs/functions/isStrArrayProperty.html +1 -1
  590. package/docs/functions/isStrProperty.html +1 -1
  591. package/docs/functions/isStrSetProperty.html +1 -1
  592. package/docs/functions/isStructArrayProperty.html +1 -1
  593. package/docs/functions/isStructProperty.html +1 -1
  594. package/docs/functions/isStructSetProperty.html +1 -1
  595. package/docs/functions/isTextArrayProperty.html +1 -1
  596. package/docs/functions/isTextProperty.html +1 -1
  597. package/docs/functions/isUInt64Property.html +1 -1
  598. package/docs/functions/isUint32Property.html +1 -1
  599. package/docs/functions/isUint32SetProperty.html +1 -1
  600. package/docs/functions/isUint8Property.html +1 -1
  601. package/docs/functions/isVehicleSpecialProperties.html +1 -1
  602. package/docs/functions/vec2.Parse.html +1 -1
  603. package/docs/functions/vec2.ParseF.html +1 -1
  604. package/docs/functions/vec2.Serialize.html +1 -1
  605. package/docs/functions/vec2.SerializeF.html +1 -1
  606. package/docs/functions/vec3.Parse.html +1 -1
  607. package/docs/functions/vec3.ParseF.html +1 -1
  608. package/docs/functions/vec3.ParseInt.html +1 -1
  609. package/docs/functions/vec3.Serialize.html +1 -1
  610. package/docs/functions/vec3.SerializeF.html +1 -1
  611. package/docs/functions/vec3.SerializeInt.html +1 -1
  612. package/docs/functions/vec3.add.html +1 -1
  613. package/docs/functions/vec3.length.html +1 -1
  614. package/docs/functions/vec3.mult.html +1 -1
  615. package/docs/functions/vec3.norm.html +1 -1
  616. package/docs/functions/vec3.sub.html +1 -1
  617. package/docs/functions/vec4.Parse.html +1 -1
  618. package/docs/functions/vec4.ParseF.html +1 -1
  619. package/docs/functions/vec4.Serialize.html +1 -1
  620. package/docs/functions/vec4.SerializeF.html +1 -1
  621. package/docs/hierarchy.html +1 -1
  622. package/docs/index.html +34 -21
  623. package/docs/interfaces/Blueprint.html +2 -2
  624. package/docs/interfaces/BlueprintConfig-1.html +8 -0
  625. package/docs/interfaces/SaveComponentHeader.html +3 -2
  626. package/docs/interfaces/SaveEntityHeader.html +3 -2
  627. package/docs/interfaces/SaveObjectHeader.html +3 -2
  628. package/docs/modules/AbstractBaseProperty.html +1 -1
  629. package/docs/modules/ArrayProperty.html +1 -1
  630. package/docs/modules/BlueprintConfig.html +3 -0
  631. package/docs/modules/BlueprintHeader.html +3 -0
  632. package/docs/modules/BoolArrayProperty.html +1 -1
  633. package/docs/modules/BoolProperty.html +1 -1
  634. package/docs/modules/BuildableSubsystemSpecialProperties.html +1 -1
  635. package/docs/modules/BuildableTypeInstance.html +3 -0
  636. package/docs/modules/ByteArrayProperty.html +1 -1
  637. package/docs/modules/ByteProperty.html +1 -1
  638. package/docs/modules/CircuitSpecialProperties.html +1 -1
  639. package/docs/modules/ConveyorChainActorSpecialProperties.html +1 -1
  640. package/docs/modules/ConveyorSpecialProperties.html +1 -1
  641. package/docs/modules/DoubleArrayProperty.html +1 -1
  642. package/docs/modules/DoubleProperty.html +1 -1
  643. package/docs/modules/DynamicStructPropertyValue.html +1 -1
  644. package/docs/modules/EmptySpecialProperties.html +1 -1
  645. package/docs/modules/EnumArrayProperty.html +1 -1
  646. package/docs/modules/EnumProperty.html +1 -1
  647. package/docs/modules/FGDynamicStruct.html +3 -0
  648. package/docs/modules/FICFrameRange.html +1 -1
  649. package/docs/modules/FloatArrayProperty.html +1 -1
  650. package/docs/modules/FloatProperty.html +1 -1
  651. package/docs/modules/GUID.html +1 -1
  652. package/docs/modules/GUIDInfo.html +1 -1
  653. package/docs/modules/Int32ArrayProperty.html +1 -1
  654. package/docs/modules/Int32Property.html +1 -1
  655. package/docs/modules/Int32SetProperty.html +1 -1
  656. package/docs/modules/Int64ArrayProperty.html +1 -1
  657. package/docs/modules/Int64Property.html +1 -1
  658. package/docs/modules/Int8Property.html +1 -1
  659. package/docs/modules/Level.html +1 -1
  660. package/docs/modules/MD5Hash.html +1 -1
  661. package/docs/modules/MapProperty.html +1 -1
  662. package/docs/modules/ObjectArrayProperty.html +1 -1
  663. package/docs/modules/ObjectProperty.html +1 -1
  664. package/docs/modules/ObjectReference.html +2 -1
  665. package/docs/modules/ObjectSetProperty.html +1 -1
  666. package/docs/modules/ObjectsListSpecialProperties.html +1 -1
  667. package/docs/modules/PlayerSpecialProperties.html +1 -1
  668. package/docs/modules/PowerLineSpecialProperties.html +1 -1
  669. package/docs/modules/PropertiesList.html +1 -1
  670. package/docs/modules/SatisfactorySaveHeader.html +3 -0
  671. package/docs/modules/SaveBodyChunks.html +5 -0
  672. package/docs/modules/SetProperty.html +1 -1
  673. package/docs/modules/SoftObjectArrayProperty.html +1 -1
  674. package/docs/modules/SoftObjectReference.html +1 -1
  675. package/docs/modules/SpecialDroneActionProperties.html +1 -1
  676. package/docs/modules/SpecialProperties.html +1 -1
  677. package/docs/modules/StrArrayProperty.html +1 -1
  678. package/docs/modules/StrProperty.html +1 -1
  679. package/docs/modules/StrSetProperty.html +1 -1
  680. package/docs/modules/StructArrayProperty.html +1 -1
  681. package/docs/modules/StructProperty.html +1 -1
  682. package/docs/modules/StructSetProperty.html +1 -1
  683. package/docs/modules/TextArrayProperty.html +1 -1
  684. package/docs/modules/TextProperty.html +1 -1
  685. package/docs/modules/Transform.html +1 -1
  686. package/docs/modules/Uint32Property.html +1 -1
  687. package/docs/modules/Uint32SetProperty.html +1 -1
  688. package/docs/modules/Uint64Property.html +1 -1
  689. package/docs/modules/Uint8Property.html +1 -1
  690. package/docs/modules/VehiclePhysicsData.html +3 -0
  691. package/docs/modules/VehicleSpecialProperties.html +1 -1
  692. package/docs/modules/col4.html +1 -1
  693. package/docs/modules/vec2.html +1 -1
  694. package/docs/modules/vec3.html +1 -1
  695. package/docs/modules/vec4.html +1 -1
  696. package/docs/modules.html +31 -7
  697. package/docs/types/AbstractBaseProperty-1.html +1 -1
  698. package/docs/types/ArrayProperty.AvailableArrayPropertyTypes.html +1 -1
  699. package/docs/types/ArrayPropertyStructValueFields.html +1 -1
  700. package/docs/types/BasicMultipleStructPropertyValue.html +1 -1
  701. package/docs/types/BasicStructPropertyValue.html +1 -1
  702. package/docs/types/BlueprintHeader-1.html +1 -0
  703. package/docs/types/BoolArrayProperty-1.html +1 -1
  704. package/docs/types/BoolProperty-1.html +1 -1
  705. package/docs/types/BoxStructPropertyValue.html +1 -1
  706. package/docs/types/BuildableSubsystemSpecialProperties-1.html +1 -1
  707. package/docs/types/BuildableTypeInstance-1.html +1 -0
  708. package/docs/types/ByteArray4.html +1 -0
  709. package/docs/types/ByteArrayProperty-1.html +1 -1
  710. package/docs/types/ByteProperty-1.html +1 -1
  711. package/docs/types/BytePropertyValue.html +1 -1
  712. package/docs/types/ChunkCompressionInfo.html +1 -0
  713. package/docs/types/ChunkSummary.html +1 -0
  714. package/docs/types/CircuitSpecialProperties-1.html +1 -1
  715. package/docs/types/ClientIdentityInfo.html +1 -1
  716. package/docs/types/ConveyorChainActorSpecialProperties-1.html +1 -1
  717. package/docs/types/ConveyorChainSegmentSpecialProperties.html +1 -1
  718. package/docs/types/ConveyorItemSpecialProperties.html +1 -1
  719. package/docs/types/ConveyorSpecialProperties-1.html +1 -1
  720. package/docs/types/DoubleArrayProperty-1.html +1 -1
  721. package/docs/types/DoubleProperty-1.html +1 -1
  722. package/docs/types/DynamicStructPropertyValue-1.html +1 -1
  723. package/docs/types/EmptySpecialProperties-1.html +1 -1
  724. package/docs/types/EnumArrayProperty-1.html +1 -1
  725. package/docs/types/EnumProperty-1.html +1 -1
  726. package/docs/types/FGDynamicStruct-1.html +1 -0
  727. package/docs/types/FICFrameRange-1.html +1 -1
  728. package/docs/types/FICFrameRangeStructPropertyValue.html +1 -1
  729. package/docs/types/FloatArrayProperty-1.html +1 -1
  730. package/docs/types/FloatProperty-1.html +1 -1
  731. package/docs/types/GENERIC_MAP_KEY_TYPE.html +1 -1
  732. package/docs/types/GENERIC_MAP_VALUE_TYPE.html +1 -1
  733. package/docs/types/GENERIC_STRUCT_PROPERTY_VALUE.html +1 -1
  734. package/docs/types/GUID-1.html +1 -1
  735. package/docs/types/GUIDInfo-1.html +1 -1
  736. package/docs/types/Grids.html +1 -0
  737. package/docs/types/Int32ArrayProperty-1.html +1 -1
  738. package/docs/types/Int32Property-1.html +1 -1
  739. package/docs/types/Int32SetProperty-1.html +1 -1
  740. package/docs/types/Int64ArrayProperty-1.html +1 -1
  741. package/docs/types/Int64Property-1.html +1 -1
  742. package/docs/types/Int8Property-1.html +1 -1
  743. package/docs/types/InventoryItemStructPropertyValue.html +1 -1
  744. package/docs/types/Level-1.html +3 -1
  745. package/docs/types/Levels.html +1 -0
  746. package/docs/types/MAP_STRUCT_KEY_PROXY.html +1 -1
  747. package/docs/types/MD5Hash-1.html +1 -1
  748. package/docs/types/MapProperty-1.html +1 -1
  749. package/docs/types/ModData.html +1 -0
  750. package/docs/types/ObjectArrayProperty-1.html +1 -1
  751. package/docs/types/ObjectProperty-1.html +1 -1
  752. package/docs/types/ObjectReference-1.html +1 -1
  753. package/docs/types/ObjectSetProperty-1.html +1 -1
  754. package/docs/types/ObjectsListSpecialProperties-1.html +1 -1
  755. package/docs/types/PlayerSpecialProperties-1.html +1 -1
  756. package/docs/types/PowerLineSpecialProperties-1.html +1 -1
  757. package/docs/types/PropertiesMap.html +1 -1
  758. package/docs/types/RailroadTrackPositionStructPropertyValue.html +1 -1
  759. package/docs/types/RoughSaveVersion.html +1 -1
  760. package/docs/types/SatisfactoryModMetadata.html +1 -0
  761. package/docs/types/SatisfactorySaveHeader-1.html +1 -0
  762. package/docs/types/SaveBodyChunks-1.html +1 -0
  763. package/docs/types/SaveBodyValidation.html +1 -0
  764. package/docs/types/SetProperty.AvailableSetPropertyTypes.html +1 -1
  765. package/docs/types/SoftObjectArrayProperty-1.html +1 -1
  766. package/docs/types/SoftObjectReference-1.html +1 -1
  767. package/docs/types/SpecialDroneAction.html +1 -1
  768. package/docs/types/SpecialDroneActionProperties-1.html +1 -1
  769. package/docs/types/SpecialProperties.AvailableSpecialPropertiesTypes.html +1 -1
  770. package/docs/types/StrArrayProperty-1.html +1 -1
  771. package/docs/types/StrProperty-1.html +1 -1
  772. package/docs/types/StrSetProperty-1.html +1 -1
  773. package/docs/types/StructArrayProperty-1.html +1 -1
  774. package/docs/types/StructProperty-1.html +1 -1
  775. package/docs/types/StructSetProperty-1.html +1 -1
  776. package/docs/types/TextArrayProperty-1.html +1 -1
  777. package/docs/types/TextProperty-1.html +1 -1
  778. package/docs/types/TextPropertyValue.html +1 -1
  779. package/docs/types/Transform-1.html +1 -1
  780. package/docs/types/Uint32Property-1.html +1 -1
  781. package/docs/types/Uint32SetProperty-1.html +1 -1
  782. package/docs/types/Uint64Property-1.html +1 -1
  783. package/docs/types/Uint8Property-1.html +1 -1
  784. package/docs/types/VehiclePhysicsData-1.html +1 -0
  785. package/docs/types/VehicleSpecialProperties-1.html +1 -1
  786. package/docs/types/col4-1.html +1 -1
  787. package/docs/types/vec2-1.html +1 -1
  788. package/docs/types/vec3-1.html +1 -1
  789. package/docs/types/vec4-1.html +1 -1
  790. package/docs/variables/DEFAULT_SATISFACTORY_CHUNK_HEADER_SIZE.html +1 -0
  791. package/docs/variables/EDIT.html +1 -1
  792. package/docs/variables/SaveBodyChunks.HEADER_V1.html +1 -0
  793. package/docs/variables/SaveBodyChunks.HEADER_V2.html +1 -0
  794. package/package.json +3 -1
  795. package/docs/interfaces/BlueprintConfig.html +0 -6
  796. package/docs/interfaces/ModData.html +0 -4
  797. package/docs/interfaces/SatisfactoryModMetadata.html +0 -4
  798. package/docs/interfaces/SatisfactorySaveHeader.html +0 -18
  799. package/docs/types/BlueprintHeader.html +0 -1
  800. package/docs/types/BuildableTypeInstance.html +0 -1
@@ -1,5 +1,5 @@
1
- import { BinaryReadable } from '../../../../../byte/binary-readable.interface';
2
- import { ByteWriter } from '../../../../../byte/byte-writer.class';
1
+ import { ContextReader } from '../../../../../context/context-reader';
2
+ import { ContextWriter } from '../../../../../context/context-writer';
3
3
  import { AbstractBaseProperty } from '../AbstractBaseProperty';
4
4
  import { TextPropertyValue } from '../TextProperty';
5
5
  export declare const isTextArrayProperty: (property: any) => property is TextArrayProperty;
@@ -9,7 +9,7 @@ export type TextArrayProperty = AbstractBaseProperty & {
9
9
  values: TextPropertyValue[];
10
10
  };
11
11
  export declare namespace TextArrayProperty {
12
- const Parse: (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index?: number) => TextArrayProperty;
13
- const Serialize: (writer: ByteWriter, property: TextArrayProperty) => void;
12
+ const Parse: (reader: ContextReader, elementCount: number, subtype: string, ueType: string, index?: number) => TextArrayProperty;
13
+ const Serialize: (writer: ContextWriter, property: TextArrayProperty) => void;
14
14
  }
15
15
  //# sourceMappingURL=TextArrayProperty.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAgB,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAElE,eAAO,MAAM,mBAAmB,aAAc,GAAG,KAAG,QAAQ,IAAI,iBAAsF,CAAC;AAEvJ,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG;IACnD,IAAI,EAAE,mBAAmB,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,iBAAiB,EAAE,CAAC;CAC/B,CAAC;AAEF,yBAAiB,iBAAiB,CAAC;IAExB,MAAM,KAAK,WAAY,cAAc,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,iBASxH,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,iBAAiB,KAAG,IAE3E,CAAA;CACJ"}
1
+ {"version":3,"file":"TextArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAgB,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAElE,eAAO,MAAM,mBAAmB,aAAc,GAAG,KAAG,QAAQ,IAAI,iBAAsF,CAAC;AAEvJ,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG;IACnD,IAAI,EAAE,mBAAmB,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,iBAAiB,EAAE,CAAC;CAC/B,CAAC;AAEF,yBAAiB,iBAAiB,CAAC;IAExB,MAAM,KAAK,WAAY,aAAa,gBAAgB,MAAM,WAAW,MAAM,UAAU,MAAM,UAAS,MAAM,KAAO,iBASvH,CAAA;IAEM,MAAM,SAAS,WAAY,aAAa,YAAY,iBAAiB,KAAG,IAE9E,CAAA;CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.ts"],"names":[],"mappings":";;;AAEA,kEAA+D;AAC/D,kDAAkE;AAE3D,MAAM,mBAAmB,GAAG,CAAC,QAAa,EAAiC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,mBAAmB,CAAC;AAA1I,QAAA,mBAAmB,uBAAuH;AAQvJ,IAAiB,iBAAiB,CAgBjC;AAhBD,WAAiB,iBAAiB;IAEjB,uBAAK,GAAG,CAAC,MAAsB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAqB,EAAE;QACzI,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,2BAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAEzF,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YAC3D,IAAI,EAAE,mBAAmB;YACzB,OAAO;YACP,MAAM;SACmB,CAAC;IAClC,CAAC,CAAA;IAEY,2BAAS,GAAG,CAAC,MAAkB,EAAE,QAA2B,EAAQ,EAAE;QAC/E,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,2BAAY,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IACjF,CAAC,CAAA;AACL,CAAC,EAhBgB,iBAAiB,iCAAjB,iBAAiB,QAgBjC","sourcesContent":["import { BinaryReadable } from '../../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../../byte/byte-writer.class';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { TextProperty, TextPropertyValue } from '../TextProperty';\n\nexport const isTextArrayProperty = (property: any): property is TextArrayProperty => !Array.isArray(property) && property.type === 'TextArrayProperty';\n\nexport type TextArrayProperty = AbstractBaseProperty & {\n type: 'TextArrayProperty';\n subtype: string;\n values: TextPropertyValue[];\n};\n\nexport namespace TextArrayProperty {\n\n export const Parse = (reader: BinaryReadable, elementCount: number, subtype: string, ueType: string, index: number = 0): TextArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => TextProperty.ReadValue(reader));\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, type: '' }),\n type: 'TextArrayProperty',\n subtype,\n values\n } satisfies TextArrayProperty;\n }\n\n export const Serialize = (writer: ByteWriter, property: TextArrayProperty): void => {\n property.values.forEach(value => TextProperty.SerializeValue(writer, value));\n }\n}\n"]}
1
+ {"version":3,"file":"TextArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.ts"],"names":[],"mappings":";;;AAEA,kEAA+D;AAC/D,kDAAkE;AAE3D,MAAM,mBAAmB,GAAG,CAAC,QAAa,EAAiC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,mBAAmB,CAAC;AAA1I,QAAA,mBAAmB,uBAAuH;AAQvJ,IAAiB,iBAAiB,CAgBjC;AAhBD,WAAiB,iBAAiB;IAEjB,uBAAK,GAAG,CAAC,MAAqB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAqB,EAAE;QACxI,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,2BAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAEzF,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YAC3D,IAAI,EAAE,mBAAmB;YACzB,OAAO;YACP,MAAM;SACmB,CAAC;IAClC,CAAC,CAAA;IAEY,2BAAS,GAAG,CAAC,MAAqB,EAAE,QAA2B,EAAQ,EAAE;QAClF,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,2BAAY,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IACjF,CAAC,CAAA;AACL,CAAC,EAhBgB,iBAAiB,iCAAjB,iBAAiB,QAgBjC","sourcesContent":["import { ContextReader } from '../../../../../context/context-reader';\nimport { ContextWriter } from '../../../../../context/context-writer';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { TextProperty, TextPropertyValue } from '../TextProperty';\n\nexport const isTextArrayProperty = (property: any): property is TextArrayProperty => !Array.isArray(property) && property.type === 'TextArrayProperty';\n\nexport type TextArrayProperty = AbstractBaseProperty & {\n type: 'TextArrayProperty';\n subtype: string;\n values: TextPropertyValue[];\n};\n\nexport namespace TextArrayProperty {\n\n export const Parse = (reader: ContextReader, elementCount: number, subtype: string, ueType: string, index: number = 0): TextArrayProperty => {\n const values = new Array(elementCount).fill(0).map(() => TextProperty.ReadValue(reader));\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, type: '' }),\n type: 'TextArrayProperty',\n subtype,\n values\n } satisfies TextArrayProperty;\n }\n\n export const Serialize = (writer: ContextWriter, property: TextArrayProperty): void => {\n property.values.forEach(value => TextProperty.SerializeValue(writer, value));\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { BinaryReadable } from '../../../../byte/binary-readable.interface';
2
- import { ByteWriter } from '../../../../byte/byte-writer.class';
1
+ import { ContextReader } from '../../../../context/context-reader';
2
+ import { ContextWriter } from '../../../../context/context-writer';
3
3
  import { AbstractBaseProperty } from './AbstractBaseProperty';
4
4
  export declare const isBoolProperty: (property: any) => property is BoolProperty;
5
5
  export type BoolProperty = AbstractBaseProperty & {
@@ -7,10 +7,10 @@ export type BoolProperty = AbstractBaseProperty & {
7
7
  value: boolean;
8
8
  };
9
9
  export declare namespace BoolProperty {
10
- const Parse: (reader: BinaryReadable, ueType: string, index?: number) => BoolProperty;
11
- const ReadValue: (reader: BinaryReadable) => boolean;
10
+ const Parse: (reader: ContextReader, ueType: string, index?: number) => BoolProperty;
11
+ const ReadValue: (reader: ContextReader) => boolean;
12
12
  const CalcOverhead: (property: BoolProperty) => number;
13
- const Serialize: (writer: ByteWriter, property: BoolProperty) => void;
14
- const SerializeValue: (writer: ByteWriter, value: boolean) => void;
13
+ const Serialize: (writer: ContextWriter, property: BoolProperty) => void;
14
+ const SerializeValue: (writer: ContextWriter, value: boolean) => void;
15
15
  }
16
16
  //# sourceMappingURL=BoolProperty.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BoolProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/BoolProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAA4E,CAAC;AAExI,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAEnB,MAAM,KAAK,WAAY,cAAc,UAAU,MAAM,UAAS,MAAM,KAAO,YASjF,CAAA;IAEM,MAAM,SAAS,WAAY,cAAc,KAAG,OAElD,CAAA;IAEM,MAAM,YAAY,aAAc,YAAY,KAAG,MAErD,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,YAAY,KAAG,IAGtE,CAAA;IAEM,MAAM,cAAc,WAAY,UAAU,SAAS,OAAO,KAAG,IAEnE,CAAA;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;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAA4E,CAAC;AAExI,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAEnB,MAAM,KAAK,WAAY,aAAa,UAAU,MAAM,UAAS,MAAM,KAAO,YAShF,CAAA;IAEM,MAAM,SAAS,WAAY,aAAa,KAAG,OAEjD,CAAA;IAEM,MAAM,YAAY,aAAc,YAAY,KAAG,MAErD,CAAA;IAEM,MAAM,SAAS,WAAY,aAAa,YAAY,YAAY,KAAG,IAGzE,CAAA;IAEM,MAAM,cAAc,WAAY,aAAa,SAAS,OAAO,KAAG,IAEtE,CAAA;CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"BoolProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/BoolProperty.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,iEAA8D;AAGvD,MAAM,cA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BgB,YAAY,4BAAZ,YAAY,QA6B5B","sourcesContent":["import { BinaryReadable } from '../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../byte/byte-writer.class';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\n\nexport const isBoolProperty = (property: any): property is BoolProperty => !Array.isArray(property) && property.type === 'BoolProperty';\n\nexport type BoolProperty = AbstractBaseProperty & {\n type: 'BoolProperty';\n value: boolean;\n};\n\nexport namespace BoolProperty {\n\n export const Parse = (reader: BinaryReadable, ueType: string, index: number = 0): BoolProperty => {\n const value = ReadValue(reader);\n const guidInfo = GUIDInfo.read(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'BoolProperty',\n value\n } satisfies BoolProperty;\n }\n\n export const ReadValue = (reader: BinaryReadable): boolean => {\n return reader.readByte() > 0;\n }\n\n export const CalcOverhead = (property: BoolProperty): number => {\n return 1 + 1;\n }\n\n export const Serialize = (writer: ByteWriter, property: BoolProperty): void => {\n SerializeValue(writer, property.value);\n GUIDInfo.write(writer, property.guidInfo);\n }\n\n export const SerializeValue = (writer: ByteWriter, 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,qDAAkD;AAClD,iEAA8D;AAGvD,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,cAAc,CAAC;AAA3H,QAAA,cAAc,kBAA6G;AAOxI,IAAiB,YAAY,CA6B5B;AA7BD,WAAiB,YAAY;IAEZ,kBAAK,GAAG,CAAC,MAAqB,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAgB,EAAE;QAC5F,MAAM,KAAK,GAAG,aAAA,SAAS,CAAC,MAAM,CAAC,CAAC;QAChC,MAAM,QAAQ,GAAG,mBAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAEvC,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YACrE,IAAI,EAAE,cAAc;YACpB,KAAK;SACe,CAAC;IAC7B,CAAC,CAAA;IAEY,sBAAS,GAAG,CAAC,MAAqB,EAAW,EAAE;QACxD,OAAO,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjC,CAAC,CAAA;IAEY,yBAAY,GAAG,CAAC,QAAsB,EAAU,EAAE;QAC3D,OAAO,CAAC,GAAG,CAAC,CAAC;IACjB,CAAC,CAAA;IAEY,sBAAS,GAAG,CAAC,MAAqB,EAAE,QAAsB,EAAQ,EAAE;QAC7E,aAAA,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;QACvC,mBAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAC9C,CAAC,CAAA;IAEY,2BAAc,GAAG,CAAC,MAAqB,EAAE,KAAc,EAAQ,EAAE;QAC1E,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,CAAC,CAAA;AACL,CAAC,EA7BgB,YAAY,4BAAZ,YAAY,QA6B5B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\n\nexport const isBoolProperty = (property: any): property is BoolProperty => !Array.isArray(property) && property.type === 'BoolProperty';\n\nexport type BoolProperty = AbstractBaseProperty & {\n type: 'BoolProperty';\n value: boolean;\n};\n\nexport namespace BoolProperty {\n\n export const Parse = (reader: ContextReader, ueType: string, index: number = 0): BoolProperty => {\n const value = ReadValue(reader);\n const guidInfo = GUIDInfo.read(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'BoolProperty',\n value\n } satisfies BoolProperty;\n }\n\n export const ReadValue = (reader: ContextReader): boolean => {\n return reader.readByte() > 0;\n }\n\n export const CalcOverhead = (property: BoolProperty): number => {\n return 1 + 1;\n }\n\n export const Serialize = (writer: ContextWriter, property: BoolProperty): void => {\n SerializeValue(writer, property.value);\n GUIDInfo.write(writer, property.guidInfo);\n }\n\n export const SerializeValue = (writer: ContextWriter, value: boolean): void => {\n writer.writeByte(value ? 1 : 0);\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { BinaryReadable } from '../../../../byte/binary-readable.interface';
2
- import { ByteWriter } from '../../../../byte/byte-writer.class';
1
+ import { ContextReader } from '../../../../context/context-reader';
2
+ import { ContextWriter } from '../../../../context/context-writer';
3
3
  import { AbstractBaseProperty } from './AbstractBaseProperty';
4
4
  export declare const isByteProperty: (property: any) => property is ByteProperty;
5
5
  export type ByteProperty = AbstractBaseProperty & {
@@ -7,11 +7,11 @@ export type ByteProperty = AbstractBaseProperty & {
7
7
  value: BytePropertyValue;
8
8
  };
9
9
  export declare namespace ByteProperty {
10
- const Parse: (reader: BinaryReadable, ueType: string, index?: number) => ByteProperty;
11
- const ReadValue: (reader: BinaryReadable) => number;
10
+ const Parse: (reader: ContextReader, ueType: string, index?: number) => ByteProperty;
11
+ const ReadValue: (reader: ContextReader) => number;
12
12
  const CalcOverhead: (property: ByteProperty) => number;
13
- const Serialize: (writer: ByteWriter, property: ByteProperty) => void;
14
- const SerializeValue: (writer: ByteWriter, value: number) => void;
13
+ const Serialize: (writer: ContextWriter, property: ByteProperty) => void;
14
+ const SerializeValue: (writer: ContextWriter, value: number) => void;
15
15
  }
16
16
  export type BytePropertyValue = {
17
17
  type: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ByteProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/ByteProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAA4E,CAAC;AAExI,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAEnB,MAAM,KAAK,WAAY,cAAc,UAAU,MAAM,UAAS,MAAM,KAAO,YAyBjF,CAAA;IAEM,MAAM,SAAS,WAAY,cAAc,KAAG,MAElD,CAAA;IAEM,MAAM,YAAY,aAAc,YAAY,KAAG,MAErD,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,YAAY,KAAG,IAUtE,CAAA;IAEM,MAAM,cAAc,WAAY,UAAU,SAAS,MAAM,KAAG,IAElE,CAAA;CACJ;AACD,MAAM,MAAM,iBAAiB,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,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;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAA4E,CAAC;AAExI,MAA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AC,EApDgB,YAAY,4BAAZ,YAAY,QAoD5B","sourcesContent":["import { BinaryReadable } from '../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../byte/byte-writer.class';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\n\nexport const isByteProperty = (property: any): property is ByteProperty => !Array.isArray(property) && property.type === 'ByteProperty';\n\nexport type ByteProperty = AbstractBaseProperty & {\n type: 'ByteProperty';\n value: BytePropertyValue;\n};\n\nexport namespace ByteProperty {\n\n export const Parse = (reader: BinaryReadable, ueType: string, index: number = 0): ByteProperty => {\n\n const type = reader.readString();\n const guidInfo = GUIDInfo.read(reader);\n\n\n let value;\n if (type === 'None') {\n value = {\n type,\n value: ReadValue(reader)\n };\n }\n else {\n value = {\n type,\n value: reader.readString()\n };\n }\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'ByteProperty',\n value\n } satisfies ByteProperty;\n }\n\n export const ReadValue = (reader: BinaryReadable): number => {\n return reader.readByte();\n }\n\n export const CalcOverhead = (property: ByteProperty): number => {\n return property.value.type.length + 5 + 1;\n }\n\n export const Serialize = (writer: ByteWriter, property: ByteProperty): void => {\n writer.writeString(property.value.type);\n GUIDInfo.write(writer, property.guidInfo);\n\n if (property.value.type === 'None') {\n SerializeValue(writer, property.value.value as number);\n }\n else {\n writer.writeString(property.value.value as string);\n }\n }\n\n export const SerializeValue = (writer: ByteWriter, value: number): void => {\n writer.writeByte(value);\n }\n}\nexport type BytePropertyValue = {\n type: string;\n value: string | number;\n};\n\n"]}
1
+ {"version":3,"file":"ByteProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/ByteProperty.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,iEAA8D;AAGvD,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,Q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AAQ,CAAC,CAAC;QAE1C,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;YACjC,aAAA,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAe,CAAC,CAAC;QAC3D,CAAC;aACI,CAAC;YACF,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAe,CAAC,CAAC;QACvD,CAAC;IACL,CAAC,CAAA;IAEY,2BAAc,GAAG,CAAC,MAAqB,EAAE,KAAa,EAAQ,EAAE;QACzE,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC,CAAA;AACL,CAAC,EApDgB,YAAY,4BAAZ,YAAY,QAoD5B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\n\nexport const isByteProperty = (property: any): property is ByteProperty => !Array.isArray(property) && property.type === 'ByteProperty';\n\nexport type ByteProperty = AbstractBaseProperty & {\n type: 'ByteProperty';\n value: BytePropertyValue;\n};\n\nexport namespace ByteProperty {\n\n export const Parse = (reader: ContextReader, ueType: string, index: number = 0): ByteProperty => {\n\n const type = reader.readString();\n const guidInfo = GUIDInfo.read(reader);\n\n\n let value;\n if (type === 'None') {\n value = {\n type,\n value: ReadValue(reader)\n };\n }\n else {\n value = {\n type,\n value: reader.readString()\n };\n }\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'ByteProperty',\n value\n } satisfies ByteProperty;\n }\n\n export const ReadValue = (reader: ContextReader): number => {\n return reader.readByte();\n }\n\n export const CalcOverhead = (property: ByteProperty): number => {\n return property.value.type.length + 5 + 1;\n }\n\n export const Serialize = (writer: ContextWriter, property: ByteProperty): void => {\n writer.writeString(property.value.type);\n GUIDInfo.write(writer, property.guidInfo);\n\n if (property.value.type === 'None') {\n SerializeValue(writer, property.value.value as number);\n }\n else {\n writer.writeString(property.value.value as string);\n }\n }\n\n export const SerializeValue = (writer: ContextWriter, value: number): void => {\n writer.writeByte(value);\n }\n}\nexport type BytePropertyValue = {\n type: string;\n value: string | number;\n};\n\n"]}
@@ -1,5 +1,5 @@
1
- import { BinaryReadable } from '../../../../byte/binary-readable.interface';
2
- import { ByteWriter } from '../../../../byte/byte-writer.class';
1
+ import { ContextReader } from '../../../../context/context-reader';
2
+ import { ContextWriter } from '../../../../context/context-writer';
3
3
  import { AbstractBaseProperty } from './AbstractBaseProperty';
4
4
  export declare const isDoubleProperty: (property: any) => property is DoubleProperty;
5
5
  export type DoubleProperty = AbstractBaseProperty & {
@@ -7,10 +7,10 @@ export type DoubleProperty = AbstractBaseProperty & {
7
7
  value: number;
8
8
  };
9
9
  export declare namespace DoubleProperty {
10
- const Parse: (reader: BinaryReadable, ueType: string, index?: number) => DoubleProperty;
11
- const ReadValue: (reader: BinaryReadable) => number;
10
+ const Parse: (reader: ContextReader, ueType: string, index?: number) => DoubleProperty;
11
+ const ReadValue: (reader: ContextReader) => number;
12
12
  const CalcOverhead: (property: DoubleProperty) => number;
13
- const Serialize: (writer: ByteWriter, property: DoubleProperty) => void;
14
- const SerializeValue: (writer: ByteWriter, value: number) => void;
13
+ const Serialize: (writer: ContextWriter, property: DoubleProperty) => void;
14
+ const SerializeValue: (writer: ContextWriter, value: number) => void;
15
15
  }
16
16
  //# sourceMappingURL=DoubleProperty.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DoubleProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/DoubleProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,eAAO,MAAM,gBAAgB,aAAc,GAAG,KAAG,QAAQ,IAAI,cAAgF,CAAC;AAE9I,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG;IAChD,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,cAAc,CAAC;IAErB,MAAM,KAAK,WAAY,cAAc,UAAU,MAAM,UAAS,MAAM,KAAO,cASjF,CAAA;IAEM,MAAM,SAAS,WAAY,cAAc,KAAG,MAElD,CAAA;IAEM,MAAM,YAAY,aAAc,cAAc,KAAG,MAEvD,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,cAAc,KAAG,IAGxE,CAAA;IAEM,MAAM,cAAc,WAAY,UAAU,SAAS,MAAM,KAAG,IAElE,CAAA;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;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,eAAO,MAAM,gBAAgB,aAAc,GAAG,KAAG,QAAQ,IAAI,cAAgF,CAAC;AAE9I,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG;IAChD,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,cAAc,CAAC;IAErB,MAAM,KAAK,WAAY,aAAa,UAAU,MAAM,UAAS,MAAM,KAAO,cAShF,CAAA;IAEM,MAAM,SAAS,WAAY,aAAa,KAAG,MAEjD,CAAA;IAEM,MAAM,YAAY,aAAc,cAAc,KAAG,MAEvD,CAAA;IAEM,MAAM,SAAS,WAAY,aAAa,YAAY,cAAc,KAAG,IAG3E,CAAA;IAEM,MAAM,cAAc,WAAY,aAAa,SA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Y,6BAAc,GAAG,CAAC,MAAkB,EAAE,KAAa,EAAQ,EAAE;QACtE,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC,CAAA;AACL,CAAC,EA7BgB,cAAc,8BAAd,cAAc,QA6B9B","sourcesContent":["import { BinaryReadable } from '../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../byte/byte-writer.class';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\n\nexport const isDoubleProperty = (property: any): property is DoubleProperty => !Array.isArray(property) && property.type === 'DoubleProperty';\n\nexport type DoubleProperty = AbstractBaseProperty & {\n type: 'DoubleProperty';\n value: number;\n};\n\nexport namespace DoubleProperty {\n\n export const Parse = (reader: BinaryReadable, ueType: string, index: number = 0): DoubleProperty => {\n const guidInfo = GUIDInfo.read(reader);\n const value = ReadValue(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'DoubleProperty',\n value\n } satisfies DoubleProperty;\n }\n\n export const ReadValue = (reader: BinaryReadable): number => {\n return reader.readDouble();\n }\n\n export const CalcOverhead = (property: DoubleProperty): number => {\n return 1;\n }\n\n export const Serialize = (writer: ByteWriter, property: DoubleProperty): void => {\n GUIDInfo.write(writer, property.guidInfo);\n SerializeValue(writer, property.value);\n }\n\n export const SerializeValue = (writer: ByteWriter, 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":";;;AAEA,qDAAkD;AAClD,iEAA8D;AAGvD,MAAM,gBAAgB,GAAG,CAAC,QAAa,EAA8B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,gBAAgB,CAAC;AAAjI,QAAA,gBAAgB,oBAAiH;AAO9I,IAAiB,cAAc,CA6B9B;AA7BD,WAAiB,cAAc;IAEd,oBAAK,GAAG,CAAC,MAAqB,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAkB,EAAE;QAC9F,MAAM,QAAQ,GAAG,mBAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,MAAM,KAAK,GAAG,eAAA,SAAS,CAAC,MAAM,CAAC,CAAC;QAEhC,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YACrE,IAAI,EAAE,gBAAgB;YACtB,KAAK;SACiB,CAAC;IAC/B,CAAC,CAAA;IAEY,wBAAS,GAAG,CAAC,MAAqB,EAAU,EAAE;QACvD,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC,CAAA;IAEY,2BAAY,GAAG,CAAC,QAAwB,EAAU,EAAE;QAC7D,OAAO,CAAC,CAAC;IACb,CAAC,CAAA;IAEY,wBAAS,GAAG,CAAC,MAAqB,EAAE,QAAwB,EAAQ,EAAE;QAC/E,mBAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAC1C,eAAA,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC,CAAA;IAEY,6BAAc,GAAG,CAAC,MAAqB,EAAE,KAAa,EAAQ,EAAE;QACzE,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC,CAAA;AACL,CAAC,EA7BgB,cAAc,8BAAd,cAAc,QA6B9B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\n\nexport const isDoubleProperty = (property: any): property is DoubleProperty => !Array.isArray(property) && property.type === 'DoubleProperty';\n\nexport type DoubleProperty = AbstractBaseProperty & {\n type: 'DoubleProperty';\n value: number;\n};\n\nexport namespace DoubleProperty {\n\n export const Parse = (reader: ContextReader, ueType: string, index: number = 0): DoubleProperty => {\n const guidInfo = GUIDInfo.read(reader);\n const value = ReadValue(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'DoubleProperty',\n value\n } satisfies DoubleProperty;\n }\n\n export const ReadValue = (reader: ContextReader): number => {\n return reader.readDouble();\n }\n\n export const CalcOverhead = (property: DoubleProperty): number => {\n return 1;\n }\n\n export const Serialize = (writer: ContextWriter, property: DoubleProperty): void => {\n GUIDInfo.write(writer, property.guidInfo);\n SerializeValue(writer, property.value);\n }\n\n export const SerializeValue = (writer: ContextWriter, value: number): void => {\n writer.writeDouble(value);\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { BinaryReadable } from '../../../../byte/binary-readable.interface';
2
- import { ByteWriter } from '../../../../byte/byte-writer.class';
1
+ import { ContextReader } from '../../../../context/context-reader';
2
+ import { ContextWriter } from '../../../../context/context-writer';
3
3
  import { AbstractBaseProperty } from './AbstractBaseProperty';
4
4
  export declare const isEnumProperty: (property: any) => property is EnumProperty;
5
5
  export type EnumProperty = AbstractBaseProperty & {
@@ -10,10 +10,10 @@ export type EnumProperty = AbstractBaseProperty & {
10
10
  };
11
11
  };
12
12
  export declare namespace EnumProperty {
13
- const Parse: (reader: BinaryReadable, ueType: string, index?: number) => EnumProperty;
14
- const ReadValue: (reader: BinaryReadable) => string;
13
+ const Parse: (reader: ContextReader, ueType: string, index?: number) => EnumProperty;
14
+ const ReadValue: (reader: ContextReader) => string;
15
15
  const CalcOverhead: (property: EnumProperty) => number;
16
- const Serialize: (writer: ByteWriter, property: EnumProperty) => void;
17
- const SerializeValue: (writer: ByteWriter, value: string) => void;
16
+ const Serialize: (writer: ContextWriter, property: EnumProperty) => void;
17
+ const SerializeValue: (writer: ContextWriter, value: string) => void;
18
18
  }
19
19
  //# sourceMappingURL=EnumProperty.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EnumProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/EnumProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAA4E,CAAC;AAExI,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;KAAE,CAAC;CAC3C,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAEnB,MAAM,KAAK,WAAY,cAAc,UAAU,MAAM,UAAS,MAAM,KAAO,YAUjF,CAAA;IAEM,MAAM,SAAS,WAAY,cAAc,KAAG,MAElD,CAAA;IAEM,MAAM,YAAY,aAAc,YAAY,KAAG,MAErD,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,YAAY,KAAG,IAItE,CAAA;IAEM,MAAM,cAAc,WAAY,UAAU,SAAS,MAAM,KAAG,IAElE,CAAA;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;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAA4E,CAAC;AAExI,MAAM,MAAM,YAAY,GAA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YACrE,IAAI,EAAE,cAAc;YACpB,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;SACF,CAAC;IAC7B,CAAC,CAAA;IAEY,sBAAS,GAAG,CAAC,MAAsB,EAAU,EAAE;QACxD,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC,CAAA;IAEY,yBAAY,GAAG,CAAC,QAAsB,EAAU,EAAE;QAC3D,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9C,CAAC,CAAA;IAEY,sBAAS,GAAG,CAAC,MAAkB,EAAE,QAAsB,EAAQ,EAAE;QAC1E,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACxC,mBAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAC1C,aAAA,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjD,CAAC,CAAA;IAEY,2BAAc,GAAG,CAAC,MAAkB,EAAE,KAAa,EAAQ,EAAE;QACtE,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC,CAAA;AACL,CAAC,EA/BgB,YAAY,4BAAZ,YAAY,QA+B5B","sourcesContent":["import { BinaryReadable } from '../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../byte/byte-writer.class';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isEnumProperty = (property: any): property is EnumProperty => !Array.isArray(property) && property.type === 'EnumProperty';\n\nexport type EnumProperty = AbstractBaseProperty & {\n type: 'EnumProperty';\n value: { name: string; value: string; };\n};\n\nexport namespace EnumProperty {\n\n export const Parse = (reader: BinaryReadable, ueType: string, index: number = 0): EnumProperty => {\n let name = reader.readString();\n const guidInfo = GUIDInfo.read(reader);\n const value = ReadValue(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'EnumProperty',\n value: { name, value },\n } satisfies EnumProperty;\n }\n\n export const ReadValue = (reader: BinaryReadable): string => {\n return reader.readString();\n }\n\n export const CalcOverhead = (property: EnumProperty): number => {\n return property.value.name.length + 5 + 1;\n }\n\n export const Serialize = (writer: ByteWriter, property: EnumProperty): void => {\n writer.writeString(property.value.name);\n GUIDInfo.write(writer, property.guidInfo);\n SerializeValue(writer, property.value.value);\n }\n\n export const SerializeValue = (writer: ByteWriter, 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":";;;AAEA,qDAAkD;AAClD,iEAA8D;AAEvD,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,cAAc,CAAC;AAA3H,QAAA,cAAc,kBAA6G;AAOxI,IAAiB,YAAY,CA+B5B;AA/BD,WAAiB,YAAY;IAEZ,kBAAK,GAAG,CAAC,MAAqB,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAgB,EAAE;QAC5F,IAAI,IAAI,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;QAC/B,MAAM,QAAQ,GAAG,mBAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,MAAM,KAAK,GAAG,aAAA,SAAS,CAAC,MAAM,CAAC,CAAC;QAEhC,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YACrE,IAAI,EAAE,cAAc;YACpB,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;SACF,CAAC;IAC7B,CAAC,CAAA;IAEY,sBAAS,GAAG,CAAC,MAAqB,EAAU,EAAE;QACvD,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC,CAAA;IAEY,yBAAY,GAAG,CAAC,QAAsB,EAAU,EAAE;QAC3D,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9C,CAAC,CAAA;IAEY,sBAAS,GAAG,CAAC,MAAqB,EAAE,QAAsB,EAAQ,EAAE;QAC7E,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACxC,mBAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAC1C,aAAA,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjD,CAAC,CAAA;IAEY,2BAAc,GAAG,CAAC,MAAqB,EAAE,KAAa,EAAQ,EAAE;QACzE,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC,CAAA;AACL,CAAC,EA/BgB,YAAY,4BAAZ,YAAY,QA+B5B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isEnumProperty = (property: any): property is EnumProperty => !Array.isArray(property) && property.type === 'EnumProperty';\n\nexport type EnumProperty = AbstractBaseProperty & {\n type: 'EnumProperty';\n value: { name: string; value: string; };\n};\n\nexport namespace EnumProperty {\n\n export const Parse = (reader: ContextReader, ueType: string, index: number = 0): EnumProperty => {\n let name = reader.readString();\n const guidInfo = GUIDInfo.read(reader);\n const value = ReadValue(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'EnumProperty',\n value: { name, value },\n } satisfies EnumProperty;\n }\n\n export const ReadValue = (reader: ContextReader): string => {\n return reader.readString();\n }\n\n export const CalcOverhead = (property: EnumProperty): number => {\n return property.value.name.length + 5 + 1;\n }\n\n export const Serialize = (writer: ContextWriter, property: EnumProperty): void => {\n writer.writeString(property.value.name);\n GUIDInfo.write(writer, property.guidInfo);\n SerializeValue(writer, property.value.value);\n }\n\n export const SerializeValue = (writer: ContextWriter, value: string): void => {\n writer.writeString(value);\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { BinaryReadable } from '../../../../byte/binary-readable.interface';
2
- import { ByteWriter } from '../../../../byte/byte-writer.class';
1
+ import { ContextReader } from '../../../../context/context-reader';
2
+ import { ContextWriter } from '../../../../context/context-writer';
3
3
  import { AbstractBaseProperty } from './AbstractBaseProperty';
4
4
  export declare const isFloatProperty: (property: any) => property is FloatProperty;
5
5
  export type FloatProperty = AbstractBaseProperty & {
@@ -7,10 +7,10 @@ export type FloatProperty = AbstractBaseProperty & {
7
7
  value: number;
8
8
  };
9
9
  export declare namespace FloatProperty {
10
- const Parse: (reader: BinaryReadable, ueType: string, index?: number) => FloatProperty;
10
+ const Parse: (reader: ContextReader, ueType: string, index?: number) => FloatProperty;
11
11
  const CalcOverhead: (property: FloatProperty) => number;
12
- const ReadValue: (reader: BinaryReadable) => number;
13
- const Serialize: (writer: ByteWriter, property: FloatProperty) => void;
14
- const SerializeValue: (writer: ByteWriter, value: number) => void;
12
+ const ReadValue: (reader: ContextReader) => number;
13
+ const Serialize: (writer: ContextWriter, property: FloatProperty) => void;
14
+ const SerializeValue: (writer: ContextWriter, value: number) => void;
15
15
  }
16
16
  //# sourceMappingURL=FloatProperty.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FloatProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/FloatProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAA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,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC,CAAA;IAEY,4BAAc,GAAG,CAAC,MAAkB,EAAE,KAAa,EAAQ,EAAE;QACtE,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC,CAAA;AACL,CAAC,EA7BgB,aAAa,6BAAb,aAAa,QA6B7B","sourcesContent":["import { BinaryReadable } from '../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../byte/byte-writer.class';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isFloatProperty = (property: any): property is FloatProperty => !Array.isArray(property) && property.type === 'FloatProperty';\n\nexport type FloatProperty = AbstractBaseProperty & {\n type: 'FloatProperty';\n value: number;\n};\n\nexport namespace FloatProperty {\n\n export const Parse = (reader: BinaryReadable, ueType: string, index: number = 0): FloatProperty => {\n const guidInfo = GUIDInfo.read(reader);\n const value = ReadValue(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'FloatProperty',\n value,\n } satisfies FloatProperty;\n }\n\n export const CalcOverhead = (property: FloatProperty): number => {\n return 1;\n }\n\n export const ReadValue = (reader: BinaryReadable): number => {\n return reader.readFloat32();\n }\n\n export const Serialize = (writer: ByteWriter, property: FloatProperty): void => {\n GUIDInfo.write(writer, property.guidInfo);\n SerializeValue(writer, property.value);\n }\n\n export const SerializeValue = (writer: ByteWriter, 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":";;;AAEA,qDAAkD;AAClD,iEAA8D;AAEvD,MAAM,eAAe,GAAG,CAAC,QAAa,EAA6B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,eAAe,CAAC;AAA9H,QAAA,eAAe,mBAA+G;AAO3I,IAAiB,aAAa,CA6B7B;AA7BD,WAAiB,aAAa;IAEb,mBAAK,GAAG,CAAC,MAAqB,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAiB,EAAE;QAC7F,MAAM,QAAQ,GAAG,mBAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,MAAM,KAAK,GAAG,cAAA,SAAS,CAAC,MAAM,CAAC,CAAC;QAEhC,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YACrE,IAAI,EAAE,eAAe;YACrB,KAAK;SACgB,CAAC;IAC9B,CAAC,CAAA;IAEY,0BAAY,GAAG,CAAC,QAAuB,EAAU,EAAE;QAC5D,OAAO,CAAC,CAAC;IACb,CAAC,CAAA;IAEY,uBAAS,GAAG,CAAC,MAAqB,EAAU,EAAE;QACvD,OAAO,MAAM,CAAC,WAAW,EAAE,CAAC;IAChC,CAAC,CAAA;IAEY,uBAAS,GAAG,CAAC,MAAqB,EAAE,QAAuB,EAAQ,EAAE;QAC9E,mBAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAC1C,cAAA,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC,CAAA;IAEY,4BAAc,GAAG,CAAC,MAAqB,EAAE,KAAa,EAAQ,EAAE;QACzE,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC,CAAA;AACL,CAAC,EA7BgB,aAAa,6BAAb,aAAa,QA6B7B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isFloatProperty = (property: any): property is FloatProperty => !Array.isArray(property) && property.type === 'FloatProperty';\n\nexport type FloatProperty = AbstractBaseProperty & {\n type: 'FloatProperty';\n value: number;\n};\n\nexport namespace FloatProperty {\n\n export const Parse = (reader: ContextReader, ueType: string, index: number = 0): FloatProperty => {\n const guidInfo = GUIDInfo.read(reader);\n const value = ReadValue(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'FloatProperty',\n value,\n } satisfies FloatProperty;\n }\n\n export const CalcOverhead = (property: FloatProperty): number => {\n return 1;\n }\n\n export const ReadValue = (reader: ContextReader): number => {\n return reader.readFloat32();\n }\n\n export const Serialize = (writer: ContextWriter, property: FloatProperty): void => {\n GUIDInfo.write(writer, property.guidInfo);\n SerializeValue(writer, property.value);\n }\n\n export const SerializeValue = (writer: ContextWriter, value: number): void => {\n writer.writeFloat32(value);\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { BinaryReadable } from '../../../../byte/binary-readable.interface';
2
- import { ByteWriter } from '../../../../byte/byte-writer.class';
1
+ import { ContextReader } from '../../../../context/context-reader';
2
+ import { ContextWriter } from '../../../../context/context-writer';
3
3
  import { AbstractBaseProperty } from './AbstractBaseProperty';
4
4
  export declare const isInt32Property: (property: any) => property is Int32Property;
5
5
  export type Int32Property = AbstractBaseProperty & {
@@ -7,10 +7,10 @@ export type Int32Property = AbstractBaseProperty & {
7
7
  value: number;
8
8
  };
9
9
  export declare namespace Int32Property {
10
- const Parse: (reader: BinaryReadable, ueType: string, index?: number) => Int32Property;
11
- const ReadValue: (reader: BinaryReadable) => number;
10
+ const Parse: (reader: ContextReader, ueType: string, index?: number) => Int32Property;
11
+ const ReadValue: (reader: ContextReader) => number;
12
12
  const CalcOverhead: (property: Int32Property) => number;
13
- const Serialize: (writer: ByteWriter, property: Int32Property) => void;
14
- const SerializeValue: (writer: ByteWriter, value: number) => void;
13
+ const Serialize: (writer: ContextWriter, property: Int32Property) => void;
14
+ const SerializeValue: (writer: ContextWriter, value: number) => void;
15
15
  }
16
16
  //# sourceMappingURL=Int32Property.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Int32Property.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Int32Property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,eAAe,aAAc,GAAG,KAAG,QAAQ,IAAI,aAA8E,CAAC;AAE3I,MAAM,MAAM,aAAa,GAAG,oBAAoB,GAAG;IAC/C,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,aAAa,CAAC;IAEpB,MAAM,KAAK,WAAY,cAAc,UAAU,MAAM,UAAS,MAAM,KAAO,aASjF,CAAA;IAEM,MAAM,SAAS,WAAY,cAAc,KAAG,MAElD,CAAA;IAEM,MAAM,YAAY,aAAc,aAAa,KAAG,MAEtD,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,aAAa,KAAG,IAGvE,CAAA;IAEM,MAAM,cAAc,WAAY,UAAU,SAAS,MAAM,KAAG,IAElE,CAAA;CACJ"}
1
+ {"version":3,"file":"Int32Property.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Int32Property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,eAAe,aAAc,GAAG,KAAG,QAAQ,IAAI,aAA8E,CAAC;AAE3I,MAAM,MAAM,aAAa,GAAG,oBAAoB,GAAG;IAC/C,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,aAAa,CAAC;IAEpB,MAAM,KAAK,WAAY,aAAa,UAAU,MAAM,UAAS,MAAM,KAAO,aAShF,CAAA;IAEM,MAAM,SAAS,WAAY,aAAa,KAAG,MAEjD,CAAA;IAEM,MAAM,YAAY,aAAc,aAAa,KAAG,MAEtD,CAAA;IAEM,MAAM,SAAS,WAAY,aAAa,YAAY,aAAa,KAAG,IAG1E,CAAA;IAEM,MAAM,cAAc,WAAY,aAAa,SAAS,MAAM,KAAG,IAErE,CAAA;CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"Int32Property.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Int32Property.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,iEAA8D;AAEvD,MAAM,eAAe,GAAG,CAAC,QAAa,EAA6B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,eAAe,CAAC;AAA9H,QAAA,eAAe,mBAA+G;AAO3I,IAAiB,aAAa,CA6B7B;AA7BD,WAAiB,aAAa;IAEb,mBAAK,GAAG,CAAC,MAAsB,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAiB,EAAE;QAC9F,MAAM,QAAQ,GAAG,mBAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,MAAM,KAAK,GAAG,cAAA,SAAS,CAAC,MAAM,CAAC,CAAC;QAEhC,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YACrE,IAAI,EAAE,eAAe;YACrB,KAAK;SACgB,CAAC;IAC9B,CAAC,CAAA;IAEY,uBAAS,GAAG,CAAC,MAAsB,EAAU,EAAE;QACxD,OAAO,MAAM,CAAC,SAAS,EAAE,CAAC;IAC9B,CAAC,CAAA;IAEY,0BAAY,GAAG,CAAC,QAAuB,EAAU,EAAE;QAC5D,OAAO,CAAC,CAAC;IACb,CAAC,CAAA;IAEY,uBAAS,GAAG,CAAC,MAAkB,EAAE,QAAuB,EAAQ,EAAE;QAC3E,mBAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAC1C,cAAA,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC,CAAA;IAEY,4BAAc,GAAG,CAAC,MAAkB,EAAE,KAAa,EAAQ,EAAE;QACtE,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC,CAAA;AACL,CAAC,EA7BgB,aAAa,6BAAb,aAAa,QA6B7B","sourcesContent":["import { BinaryReadable } from '../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../byte/byte-writer.class';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isInt32Property = (property: any): property is Int32Property => !Array.isArray(property) && property.type === 'Int32Property';\n\nexport type Int32Property = AbstractBaseProperty & {\n type: 'Int32Property';\n value: number;\n};\n\nexport namespace Int32Property {\n\n export const Parse = (reader: BinaryReadable, ueType: string, index: number = 0): Int32Property => {\n const guidInfo = GUIDInfo.read(reader);\n const value = ReadValue(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'Int32Property',\n value,\n } satisfies Int32Property;\n }\n\n export const ReadValue = (reader: BinaryReadable): number => {\n return reader.readInt32();\n }\n\n export const CalcOverhead = (property: Int32Property): number => {\n return 1;\n }\n\n export const Serialize = (writer: ByteWriter, property: Int32Property): void => {\n GUIDInfo.write(writer, property.guidInfo);\n SerializeValue(writer, property.value);\n }\n\n export const SerializeValue = (writer: ByteWriter, value: number): void => {\n writer.writeInt32(value);\n }\n}\n"]}
1
+ {"version":3,"file":"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C,KAAK,CAAC,CAAC;IAC7B,CAAC,CAAA;AACL,CAAC,EA7BgB,aAAa,6BAAb,aAAa,QA6B7B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isInt32Property = (property: any): property is Int32Property => !Array.isArray(property) && property.type === 'Int32Property';\n\nexport type Int32Property = AbstractBaseProperty & {\n type: 'Int32Property';\n value: number;\n};\n\nexport namespace Int32Property {\n\n export const Parse = (reader: ContextReader, ueType: string, index: number = 0): Int32Property => {\n const guidInfo = GUIDInfo.read(reader);\n const value = ReadValue(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'Int32Property',\n value,\n } satisfies Int32Property;\n }\n\n export const ReadValue = (reader: ContextReader): number => {\n return reader.readInt32();\n }\n\n export const CalcOverhead = (property: Int32Property): number => {\n return 1;\n }\n\n export const Serialize = (writer: ContextWriter, property: Int32Property): void => {\n GUIDInfo.write(writer, property.guidInfo);\n SerializeValue(writer, property.value);\n }\n\n export const SerializeValue = (writer: ContextWriter, value: number): void => {\n writer.writeInt32(value);\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { BinaryReadable } from '../../../../byte/binary-readable.interface';
2
- import { ByteWriter } from '../../../../byte/byte-writer.class';
1
+ import { ContextReader } from '../../../../context/context-reader';
2
+ import { ContextWriter } from '../../../../context/context-writer';
3
3
  import { AbstractBaseProperty } from './AbstractBaseProperty';
4
4
  export declare const isInt64Property: (property: any) => property is Int64Property;
5
5
  export type Int64Property = AbstractBaseProperty & {
@@ -7,10 +7,10 @@ export type Int64Property = AbstractBaseProperty & {
7
7
  value: string;
8
8
  };
9
9
  export declare namespace Int64Property {
10
- const Parse: (reader: BinaryReadable, ueType: string, index?: number) => Int64Property;
11
- const ReadValue: (reader: BinaryReadable) => string;
10
+ const Parse: (reader: ContextReader, ueType: string, index?: number) => Int64Property;
11
+ const ReadValue: (reader: ContextReader) => string;
12
12
  const CalcOverhead: (property: Int64Property) => number;
13
- const Serialize: (writer: ByteWriter, property: Int64Property) => void;
14
- const SerializeValue: (writer: ByteWriter, value: string) => void;
13
+ const Serialize: (writer: ContextWriter, property: Int64Property) => void;
14
+ const SerializeValue: (writer: ContextWriter, value: string) => void;
15
15
  }
16
16
  //# sourceMappingURL=Int64Property.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Int64Property.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Int64Property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,eAAe,aAAc,GAAG,KAAG,QAAQ,IAAI,aAA8E,CAAC;AAE3I,MAAM,MAAM,aAAa,GAAG,oBAAoB,GAAG;IAC/C,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,aAAa,CAAC;IAEpB,MAAM,KAAK,WAAY,cAAc,UAAU,MAAM,UAAS,MAAM,KAAO,aASjF,CAAA;IAEM,MAAM,SAAS,WAAY,cAAc,KAAG,MAElD,CAAA;IAEM,MAAM,YAAY,aAAc,aAAa,KAAG,MAEtD,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,aAAa,KAAG,IAGvE,CAAA;IAEM,MAAM,cAAc,WAAY,UAAU,SAAS,MAAM,KAAG,IAElE,CAAA;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,E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E,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YACrE,IAAI,EAAE,eAAe;YACrB,KAAK;SACgB,CAAC;IAC9B,CAAC,CAAA;IAEY,uBAAS,GAAG,CAAC,MAAsB,EAAU,EAAE;QACxD,OAAO,MAAM,CAAC,SAAS,EAAE,CAAC,QAAQ,EAAE,CAAC;IACzC,CAAC,CAAA;IAEY,0BAAY,GAAG,CAAC,QAAuB,EAAU,EAAE;QAC5D,OAAO,CAAC,CAAC;IACb,CAAC,CAAA;IAEY,uBAAS,GAAG,CAAC,MAAkB,EAAE,QAAuB,EAAQ,EAAE;QAC3E,mBAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAC1C,cAAA,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC,CAAA;IAEY,4BAAc,GAAG,CAAC,MAAkB,EAAE,KAAa,EAAQ,EAAE;QACtE,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IACrC,CAAC,CAAA;AACL,CAAC,EA7BgB,aAAa,6BAAb,aAAa,QA6B7B","sourcesContent":["import { BinaryReadable } from '../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../byte/byte-writer.class';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isInt64Property = (property: any): property is Int64Property => !Array.isArray(property) && property.type === 'Int64Property';\n\nexport type Int64Property = AbstractBaseProperty & {\n type: 'Int64Property';\n value: string;\n};\n\nexport namespace Int64Property {\n\n export const Parse = (reader: BinaryReadable, ueType: string, index: number = 0): Int64Property => {\n const guidInfo = GUIDInfo.read(reader);\n const value = ReadValue(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'Int64Property',\n value,\n } satisfies Int64Property;\n }\n\n export const ReadValue = (reader: BinaryReadable): string => {\n return reader.readInt64().toString();\n }\n\n export const CalcOverhead = (property: Int64Property): number => {\n return 1;\n }\n\n export const Serialize = (writer: ByteWriter, property: Int64Property): void => {\n GUIDInfo.write(writer, property.guidInfo);\n SerializeValue(writer, property.value);\n }\n\n export const SerializeValue = (writer: ByteWriter, 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":";;;AAEA,qDAAkD;AAClD,iEAA8D;AAEvD,MAAM,eAAe,GAAG,CAAC,QAAa,EAA6B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,eAAe,CAAC;AAA9H,QAAA,eAAe,mBAA+G;AAO3I,IAAiB,aAAa,CA6B7B;AA7BD,WAAiB,aAAa;IAEb,mBAAK,GAAG,CAAC,MAAqB,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAiB,EAAE;QAC7F,MAAM,QAAQ,GAAG,mBAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,MAAM,KAAK,GAAG,cAAA,SAAS,CAAC,MAAM,CAAC,CAAC;QAEhC,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YACrE,IAAI,EAAE,eAAe;YACrB,KAAK;SACgB,CAAC;IAC9B,CAAC,CAAA;IAEY,uBAAS,GAAG,CAAC,MAAqB,EAAU,EAAE;QACvD,OAAO,MAAM,CAAC,SAAS,EAAE,CAAC,QAAQ,EAAE,CAAC;IACzC,CAAC,CAAA;IAEY,0BAAY,GAAG,CAAC,QAAuB,EAAU,EAAE;QAC5D,OAAO,CAAC,CAAC;IACb,CAAC,CAAA;IAEY,uBAAS,GAAG,CAAC,MAAqB,EAAE,QAAuB,EAAQ,EAAE;QAC9E,mBAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAC1C,cAAA,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC,CAAA;IAEY,4BAAc,GAAG,CAAC,MAAqB,EAAE,KAAa,EAAQ,EAAE;QACzE,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IACrC,CAAC,CAAA;AACL,CAAC,EA7BgB,aAAa,6BAAb,aAAa,QA6B7B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isInt64Property = (property: any): property is Int64Property => !Array.isArray(property) && property.type === 'Int64Property';\n\nexport type Int64Property = AbstractBaseProperty & {\n type: 'Int64Property';\n value: string;\n};\n\nexport namespace Int64Property {\n\n export const Parse = (reader: ContextReader, ueType: string, index: number = 0): Int64Property => {\n const guidInfo = GUIDInfo.read(reader);\n const value = ReadValue(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'Int64Property',\n value,\n } satisfies Int64Property;\n }\n\n export const ReadValue = (reader: ContextReader): string => {\n return reader.readInt64().toString();\n }\n\n export const CalcOverhead = (property: Int64Property): number => {\n return 1;\n }\n\n export const Serialize = (writer: ContextWriter, property: Int64Property): void => {\n GUIDInfo.write(writer, property.guidInfo);\n SerializeValue(writer, property.value);\n }\n\n export const SerializeValue = (writer: ContextWriter, value: string): void => {\n writer.writeInt64(BigInt(value));\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { BinaryReadable } from '../../../../byte/binary-readable.interface';
2
- import { ByteWriter } from '../../../../byte/byte-writer.class';
1
+ import { ContextReader } from '../../../../context/context-reader';
2
+ import { ContextWriter } from '../../../../context/context-writer';
3
3
  import { AbstractBaseProperty } from './AbstractBaseProperty';
4
4
  export declare const isInt8Property: (property: any) => property is Int8Property;
5
5
  export type Int8Property = AbstractBaseProperty & {
@@ -7,10 +7,10 @@ export type Int8Property = AbstractBaseProperty & {
7
7
  value: number;
8
8
  };
9
9
  export declare namespace Int8Property {
10
- const Parse: (reader: BinaryReadable, ueType: string, index?: number) => Int8Property;
11
- const ReadValue: (reader: BinaryReadable) => number;
10
+ const Parse: (reader: ContextReader, ueType: string, index?: number) => Int8Property;
11
+ const ReadValue: (reader: ContextReader) => number;
12
12
  const CalcOverhead: (property: Int8Property) => number;
13
- const Serialize: (writer: ByteWriter, property: Int8Property) => void;
14
- const SerializeValue: (writer: ByteWriter, value: number) => void;
13
+ const Serialize: (writer: ContextWriter, property: Int8Property) => void;
14
+ const SerializeValue: (writer: ContextWriter, value: number) => void;
15
15
  }
16
16
  //# sourceMappingURL=Int8Property.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Int8Property.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Int8Property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAA4E,CAAC;AAExI,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAEnB,MAAM,KAAK,WAAY,cAAc,UAAU,MAAM,UAAS,MAAM,KAAO,YASjF,CAAA;IAEM,MAAM,SAAS,WAAY,cAAc,KAAG,MAElD,CAAA;IAEM,MAAM,YAAY,aAAc,YAAY,KAAG,MAErD,CAAA;IAEM,MAAM,SAAS,WAAY,UAAU,YAAY,YAAY,KAAG,IAGtE,CAAA;IAEM,MAAM,cAAc,WAAY,UAAU,SAAS,MAAM,KAAG,IAElE,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;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAA4E,CAAC;AAExI,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAEnB,MAAM,KAAK,WAAY,aAAa,UAAU,MAAM,UAAS,MAAM,KAAO,YAShF,CAAA;IAEM,MAAM,SAAS,WAAY,aAAa,KAAG,MAEjD,CAAA;IAEM,MAAM,YAAY,aAAc,YAAY,KAAG,MAErD,CAAA;IAEM,MAAM,SAAS,WAAY,aAAa,YAAY,YAAY,KAAG,IAGzE,CAAA;IAEM,MAAM,cAAc,WAAY,aAAa,SAAS,MAAM,KAAG,IAErE,CAAA;CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"Int8Property.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Int8Property.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,iEAA8D;AAEvD,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,cAAc,CAAC;AAA3H,QAAA,cAAc,kBAA6G;AAOxI,IAAiB,YAAY,CA6B5B;AA7BD,WAAiB,YAAY;IAEZ,kBAAK,GAAG,CAAC,MAAsB,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAgB,EAAE;QAC7F,MAAM,QAAQ,GAAG,mBAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,MAAM,KAAK,GAAG,aAAA,SAAS,CAAC,MAAM,CAAC,CAAC;QAEhC,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YACrE,IAAI,EAAE,cAAc;YACpB,KAAK;SACe,CAAC;IAC7B,CAAC,CAAA;IAEY,sBAAS,GAAG,CAAC,MAAsB,EAAU,EAAE;QACxD,OAAO,MAAM,CAAC,QAAQ,EAAE,CAAC;IAC7B,CAAC,CAAA;IAEY,yBAAY,GAAG,CAAC,QAAsB,EAAU,EAAE;QAC3D,OAAO,CAAC,CAAC;IACb,CAAC,CAAA;IAEY,sBAAS,GAAG,CAAC,MAAkB,EAAE,QAAsB,EAAQ,EAAE;QAC1E,mBAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAC1C,aAAA,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC,CAAA;IAEY,2BAAc,GAAG,CAAC,MAAkB,EAAE,KAAa,EAAQ,EAAE;QACtE,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC,CAAA;AACL,CAAC,EA7BgB,YAAY,4BAAZ,YAAY,QA6B5B","sourcesContent":["import { BinaryReadable } from '../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../byte/byte-writer.class';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isInt8Property = (property: any): property is Int8Property => !Array.isArray(property) && property.type === 'Int8Property';\n\nexport type Int8Property = AbstractBaseProperty & {\n type: 'Int8Property';\n value: number;\n};\n\nexport namespace Int8Property {\n\n export const Parse = (reader: BinaryReadable, ueType: string, index: number = 0): Int8Property => {\n const guidInfo = GUIDInfo.read(reader);\n const value = ReadValue(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'Int8Property',\n value,\n } satisfies Int8Property;\n }\n\n export const ReadValue = (reader: BinaryReadable): number => {\n return reader.readInt8();\n }\n\n export const CalcOverhead = (property: Int8Property): number => {\n return 1;\n }\n\n export const Serialize = (writer: ByteWriter, property: Int8Property): void => {\n GUIDInfo.write(writer, property.guidInfo);\n SerializeValue(writer, property.value);\n }\n\n export const SerializeValue = (writer: ByteWriter, 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":";;;AAEA,qDAAkD;AAClD,iEAA8D;AAEvD,MAAM,cAAc,GAAG,CAAC,QAAa,EAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,cAAc,CAAC;AAA3H,QAAA,cAAc,kBAA6G;AAOxI,IAAiB,YAAY,CA6B5B;AA7BD,WAAiB,YAAY;IAEZ,kBAAK,GAAG,CAAC,MAAqB,EAAE,MAAc,EAAE,QAAgB,CAAC,EAAgB,EAAE;QAC5F,MAAM,QAAQ,GAAG,mBAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,MAAM,KAAK,GAAG,aAAA,SAAS,CAAC,MAAM,CAAC,CAAC;QAEhC,OAAO;YACH,GAAG,2CAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YACrE,IAAI,EAAE,cAAc;YACpB,KAAK;SACe,CAAC;IAC7B,CAAC,CAAA;IAEY,sBAAS,GAAG,CAAC,MAAqB,EAAU,EAAE;QACvD,OAAO,MAAM,CAAC,QAAQ,EAAE,CAAC;IAC7B,CAAC,CAAA;IAEY,yBAAY,GAAG,CAAC,QAAsB,EAAU,EAAE;QAC3D,OAAO,CAAC,CAAC;IACb,CAAC,CAAA;IAEY,sBAAS,GAAG,CAAC,MAAqB,EAAE,QAAsB,EAAQ,EAAE;QAC7E,mBAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAC1C,aAAA,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC,CAAA;IAEY,2BAAc,GAAG,CAAC,MAAqB,EAAE,KAAa,EAAQ,EAAE;QACzE,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC,CAAA;AACL,CAAC,EA7BgB,YAAY,4BAAZ,YAAY,QA6B5B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isInt8Property = (property: any): property is Int8Property => !Array.isArray(property) && property.type === 'Int8Property';\n\nexport type Int8Property = AbstractBaseProperty & {\n type: 'Int8Property';\n value: number;\n};\n\nexport namespace Int8Property {\n\n export const Parse = (reader: ContextReader, ueType: string, index: number = 0): Int8Property => {\n const guidInfo = GUIDInfo.read(reader);\n const value = ReadValue(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'Int8Property',\n value,\n } satisfies Int8Property;\n }\n\n export const ReadValue = (reader: ContextReader): number => {\n return reader.readInt8();\n }\n\n export const CalcOverhead = (property: Int8Property): number => {\n return 1;\n }\n\n export const Serialize = (writer: ContextWriter, property: Int8Property): void => {\n GUIDInfo.write(writer, property.guidInfo);\n SerializeValue(writer, property.value);\n }\n\n export const SerializeValue = (writer: ContextWriter, value: number): void => {\n writer.writeInt8(value);\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { BinaryReadable } from '../../../../byte/binary-readable.interface';
2
- import { ByteWriter } from '../../../../byte/byte-writer.class';
1
+ import { ContextReader } from '../../../../context/context-reader';
2
+ import { ContextWriter } from '../../../../context/context-writer';
3
3
  import { ObjectReference } from '../../structs/ObjectReference';
4
4
  import { AbstractBaseProperty } from './AbstractBaseProperty';
5
5
  import { GENERIC_STRUCT_PROPERTY_VALUE } from './StructProperty';
@@ -18,8 +18,8 @@ export type MapProperty = AbstractBaseProperty & {
18
18
  values: [key: GENERIC_MAP_KEY_TYPE, value: GENERIC_MAP_VALUE_TYPE][];
19
19
  };
20
20
  export declare namespace MapProperty {
21
- const Parse: (reader: BinaryReadable, propertyName: string, buildVersion: number, size: number, ueType?: string, index?: number) => MapProperty;
21
+ const Parse: (reader: ContextReader, propertyName: string, size: number, ueType?: string, index?: number) => MapProperty;
22
22
  const CalcOverhead: (property: MapProperty) => number;
23
- const Serialize: (writer: ByteWriter, property: MapProperty) => void;
23
+ const Serialize: (writer: ContextWriter, property: MapProperty) => void;
24
24
  }
25
25
  //# sourceMappingURL=MapProperty.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MapProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/MapProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAO9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,kBAAkB,CAAC;AAGjE,MAAM,MAAM,oBAAoB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,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Property = (property) => !Array.isArray(property) && property.type ==
13
13
  exports.isMapProperty = isMapProperty;
14
14
  var MapProperty;
15
15
  (function (MapProperty) {
16
- MapProperty.Parse = (reader, propertyName, buildVersion, size, ueType = 'MapProperty', index = 0) => {
16
+ MapProperty.Parse = (reader, propertyName, size, ueType = 'MapProperty', index = 0) => {
17
17
  const start = reader.getBufferPosition();
18
18
  const property = {
19
19
  ...AbstractBaseProperty_1.AbstractBaseProperty.Create({ index, ueType, type: '' }),
@@ -39,7 +39,7 @@ var MapProperty;
39
39
  key = Array.from(reader.readBytes(12));
40
40
  }
41
41
  else {
42
- key = DynamicStructPropertyValue_1.DynamicStructPropertyValue.read(reader, 0, property.keyType);
42
+ key = DynamicStructPropertyValue_1.DynamicStructPropertyValue.read(reader, property.keyType);
43
43
  }
44
44
  break;
45
45
  case 'ObjectProperty':
@@ -67,7 +67,7 @@ var MapProperty;
67
67
  }
68
68
  switch (property.valueType) {
69
69
  case 'StructProperty':
70
- value = DynamicStructPropertyValue_1.DynamicStructPropertyValue.read(reader, 0, property.valueType);
70
+ value = DynamicStructPropertyValue_1.DynamicStructPropertyValue.read(reader, property.valueType);
71
71
  break;
72
72
  case 'ObjectProperty':
73
73
  value = ObjectProperty_1.ObjectProperty.ReadValue(reader);
@@ -112,7 +112,7 @@ var MapProperty;
112
112
  writer.writeBytesArray(entry[0]);
113
113
  }
114
114
  else {
115
- DynamicStructPropertyValue_1.DynamicStructPropertyValue.write(writer, 0, entry[0]);
115
+ DynamicStructPropertyValue_1.DynamicStructPropertyValue.write(writer, entry[0]);
116
116
  }
117
117
  break;
118
118
  case 'ObjectProperty':
@@ -140,7 +140,7 @@ var MapProperty;
140
140
  }
141
141
  switch (property.valueType) {
142
142
  case 'StructProperty':
143
- DynamicStructPropertyValue_1.DynamicStructPropertyValue.write(writer, 0, entry[1]);
143
+ DynamicStructPropertyValue_1.DynamicStructPropertyValue.write(writer, entry[1]);
144
144
  break;
145
145
  case 'ObjectProperty':
146
146
  ObjectProperty_1.ObjectProperty.SerializeValue(writer, entry[1]);