@etothepii/satisfactory-file-parser 3.3.0 → 4.0.0

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 (895) hide show
  1. package/.vscode/settings.json +6 -0
  2. package/CHANGELOG.md +35 -4
  3. package/GUIDE.md +11 -7
  4. package/README.md +8 -6
  5. package/build/index.d.ts +112 -101
  6. package/build/index.d.ts.map +1 -1
  7. package/build/index.js +43 -40
  8. package/build/index.js.map +1 -1
  9. package/build/parser/byte/binary-readable.interface.d.ts +1 -0
  10. package/build/parser/byte/binary-readable.interface.d.ts.map +1 -1
  11. package/build/parser/byte/binary-readable.interface.js.map +1 -1
  12. package/build/parser/byte/byte-reader.class.d.ts +1 -0
  13. package/build/parser/byte/byte-reader.class.d.ts.map +1 -1
  14. package/build/parser/byte/byte-reader.class.js +6 -2
  15. package/build/parser/byte/byte-reader.class.js.map +1 -1
  16. package/build/parser/byte/byte-writer.class.d.ts +1 -0
  17. package/build/parser/byte/byte-writer.class.d.ts.map +1 -1
  18. package/build/parser/byte/byte-writer.class.js +6 -0
  19. package/build/parser/byte/byte-writer.class.js.map +1 -1
  20. package/build/parser/context/context-reader.d.ts +1 -1
  21. package/build/parser/context/context-reader.d.ts.map +1 -1
  22. package/build/parser/context/context-reader.js.map +1 -1
  23. package/build/parser/context/context-writer.d.ts +1 -1
  24. package/build/parser/context/context-writer.d.ts.map +1 -1
  25. package/build/parser/context/context-writer.js.map +1 -1
  26. package/build/parser/context/hierarchical-version-context.d.ts +11 -0
  27. package/build/parser/context/hierarchical-version-context.d.ts.map +1 -0
  28. package/build/parser/context/hierarchical-version-context.js +24 -0
  29. package/build/parser/context/hierarchical-version-context.js.map +1 -0
  30. package/build/parser/context/{context.d.ts → reader-writer-context.d.ts} +5 -3
  31. package/build/parser/context/reader-writer-context.d.ts.map +1 -0
  32. package/build/parser/context/{context.js → reader-writer-context.js} +1 -1
  33. package/build/parser/context/reader-writer-context.js.map +1 -0
  34. package/build/parser/parser.d.ts.map +1 -1
  35. package/build/parser/parser.js +36 -20
  36. package/build/parser/parser.js.map +1 -1
  37. package/build/parser/satisfactory/blueprint/blueprint-config-version.d.ts +4 -2
  38. package/build/parser/satisfactory/blueprint/blueprint-config-version.d.ts.map +1 -1
  39. package/build/parser/satisfactory/blueprint/blueprint-config-version.js +4 -2
  40. package/build/parser/satisfactory/blueprint/blueprint-config-version.js.map +1 -1
  41. package/build/parser/satisfactory/blueprint/blueprint-config.d.ts +4 -5
  42. package/build/parser/satisfactory/blueprint/blueprint-config.d.ts.map +1 -1
  43. package/build/parser/satisfactory/blueprint/blueprint-config.js +16 -14
  44. package/build/parser/satisfactory/blueprint/blueprint-config.js.map +1 -1
  45. package/build/parser/satisfactory/blueprint/blueprint-header.d.ts +2 -0
  46. package/build/parser/satisfactory/blueprint/blueprint-header.d.ts.map +1 -1
  47. package/build/parser/satisfactory/blueprint/blueprint-header.js +18 -2
  48. package/build/parser/satisfactory/blueprint/blueprint-header.js.map +1 -1
  49. package/build/parser/satisfactory/blueprint/blueprint-reader.d.ts.map +1 -1
  50. package/build/parser/satisfactory/blueprint/blueprint-reader.js +6 -2
  51. package/build/parser/satisfactory/blueprint/blueprint-reader.js.map +1 -1
  52. package/build/parser/satisfactory/blueprint/blueprint-writer.d.ts.map +1 -1
  53. package/build/parser/satisfactory/blueprint/blueprint-writer.js +5 -2
  54. package/build/parser/satisfactory/blueprint/blueprint-writer.js.map +1 -1
  55. package/build/parser/satisfactory/save/data-blob.d.ts +17 -0
  56. package/build/parser/satisfactory/save/data-blob.d.ts.map +1 -0
  57. package/build/parser/satisfactory/save/data-blob.js +137 -0
  58. package/build/parser/satisfactory/save/data-blob.js.map +1 -0
  59. package/build/parser/satisfactory/save/level.d.ts +5 -10
  60. package/build/parser/satisfactory/save/level.d.ts.map +1 -1
  61. package/build/parser/satisfactory/save/level.js +52 -180
  62. package/build/parser/satisfactory/save/level.js.map +1 -1
  63. package/build/parser/satisfactory/save/satisfactory-save-header.d.ts.map +1 -1
  64. package/build/parser/satisfactory/save/satisfactory-save-header.js +5 -3
  65. package/build/parser/satisfactory/save/satisfactory-save-header.js.map +1 -1
  66. package/build/parser/satisfactory/save/satisfactory-save.d.ts +3 -1
  67. package/build/parser/satisfactory/save/satisfactory-save.d.ts.map +1 -1
  68. package/build/parser/satisfactory/save/satisfactory-save.js.map +1 -1
  69. package/build/parser/satisfactory/save/save-body-chunks.js +2 -2
  70. package/build/parser/satisfactory/save/save-body-chunks.js.map +1 -1
  71. package/build/parser/satisfactory/save/save-custom-version.d.ts +8 -2
  72. package/build/parser/satisfactory/save/save-custom-version.d.ts.map +1 -1
  73. package/build/parser/satisfactory/save/save-custom-version.js +8 -2
  74. package/build/parser/satisfactory/save/save-custom-version.js.map +1 -1
  75. package/build/parser/satisfactory/save/save-reader.d.ts +2 -2
  76. package/build/parser/satisfactory/save/save-reader.d.ts.map +1 -1
  77. package/build/parser/satisfactory/save/save-reader.js +16 -13
  78. package/build/parser/satisfactory/save/save-reader.js.map +1 -1
  79. package/build/parser/satisfactory/save/save-writer.d.ts.map +1 -1
  80. package/build/parser/satisfactory/save/save-writer.js +4 -1
  81. package/build/parser/satisfactory/save/save-writer.js.map +1 -1
  82. package/build/parser/satisfactory/save/save.types.d.ts +1 -1
  83. package/build/parser/satisfactory/save/save.types.d.ts.map +1 -1
  84. package/build/parser/satisfactory/save/save.types.js.map +1 -1
  85. package/build/parser/satisfactory/save/toc-blob.d.ts +18 -0
  86. package/build/parser/satisfactory/save/toc-blob.d.ts.map +1 -0
  87. package/build/parser/satisfactory/save/toc-blob.js +97 -0
  88. package/build/parser/satisfactory/save/toc-blob.js.map +1 -0
  89. package/build/parser/satisfactory/types/objects/SaveObject.d.ts +4 -0
  90. package/build/parser/satisfactory/types/objects/SaveObject.d.ts.map +1 -1
  91. package/build/parser/satisfactory/types/objects/SaveObject.js +19 -5
  92. package/build/parser/satisfactory/types/objects/SaveObject.js.map +1 -1
  93. package/build/parser/satisfactory/types/property/PropertiesList.d.ts +4 -4
  94. package/build/parser/satisfactory/types/property/PropertiesList.d.ts.map +1 -1
  95. package/build/parser/satisfactory/types/property/PropertiesList.js +73 -114
  96. package/build/parser/satisfactory/types/property/PropertiesList.js.map +1 -1
  97. package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.d.ts +9 -12
  98. package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.d.ts.map +1 -1
  99. package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.js +12 -7
  100. package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.js.map +1 -1
  101. package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts +10 -5
  102. package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts.map +1 -1
  103. package/build/parser/satisfactory/types/property/generic/BoolProperty.js +20 -23
  104. package/build/parser/satisfactory/types/property/generic/BoolProperty.js.map +1 -1
  105. package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts +12 -7
  106. package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts.map +1 -1
  107. package/build/parser/satisfactory/types/property/generic/ByteProperty.js +37 -34
  108. package/build/parser/satisfactory/types/property/generic/ByteProperty.js.map +1 -1
  109. package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts +9 -5
  110. package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts.map +1 -1
  111. package/build/parser/satisfactory/types/property/generic/DoubleProperty.js +15 -23
  112. package/build/parser/satisfactory/types/property/generic/DoubleProperty.js.map +1 -1
  113. package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts +10 -5
  114. package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts.map +1 -1
  115. package/build/parser/satisfactory/types/property/generic/EnumProperty.js +17 -23
  116. package/build/parser/satisfactory/types/property/generic/EnumProperty.js.map +1 -1
  117. package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts +9 -5
  118. package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts.map +1 -1
  119. package/build/parser/satisfactory/types/property/generic/FloatProperty.js +15 -23
  120. package/build/parser/satisfactory/types/property/generic/FloatProperty.js.map +1 -1
  121. package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts +9 -5
  122. package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts.map +1 -1
  123. package/build/parser/satisfactory/types/property/generic/Int64Property.js +15 -23
  124. package/build/parser/satisfactory/types/property/generic/Int64Property.js.map +1 -1
  125. package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts +8 -4
  126. package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts.map +1 -1
  127. package/build/parser/satisfactory/types/property/generic/Int8Property.js +11 -20
  128. package/build/parser/satisfactory/types/property/generic/Int8Property.js.map +1 -1
  129. package/build/parser/satisfactory/types/property/generic/IntProperty.d.ts +20 -0
  130. package/build/parser/satisfactory/types/property/generic/IntProperty.d.ts.map +1 -0
  131. package/build/parser/satisfactory/types/property/generic/IntProperty.js +25 -0
  132. package/build/parser/satisfactory/types/property/generic/IntProperty.js.map +1 -0
  133. package/build/parser/satisfactory/types/property/generic/InterfaceProperty.d.ts +21 -0
  134. package/build/parser/satisfactory/types/property/generic/InterfaceProperty.d.ts.map +1 -0
  135. package/build/parser/satisfactory/types/property/generic/InterfaceProperty.js +26 -0
  136. package/build/parser/satisfactory/types/property/generic/InterfaceProperty.js.map +1 -0
  137. package/build/parser/satisfactory/types/property/generic/NameProperty.d.ts +20 -0
  138. package/build/parser/satisfactory/types/property/generic/NameProperty.d.ts.map +1 -0
  139. package/build/parser/satisfactory/types/property/generic/NameProperty.js +25 -0
  140. package/build/parser/satisfactory/types/property/generic/NameProperty.js.map +1 -0
  141. package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts +9 -5
  142. package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts.map +1 -1
  143. package/build/parser/satisfactory/types/property/generic/ObjectProperty.js +15 -23
  144. package/build/parser/satisfactory/types/property/generic/ObjectProperty.js.map +1 -1
  145. package/build/parser/satisfactory/types/property/generic/SingleProperty.d.ts +20 -0
  146. package/build/parser/satisfactory/types/property/generic/SingleProperty.d.ts.map +1 -0
  147. package/build/parser/satisfactory/types/property/generic/SingleProperty.js +25 -0
  148. package/build/parser/satisfactory/types/property/generic/SingleProperty.js.map +1 -0
  149. package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts +9 -5
  150. package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts.map +1 -1
  151. package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js +15 -23
  152. package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js.map +1 -1
  153. package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts +9 -5
  154. package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts.map +1 -1
  155. package/build/parser/satisfactory/types/property/generic/StrProperty.js +15 -23
  156. package/build/parser/satisfactory/types/property/generic/StrProperty.js.map +1 -1
  157. package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts +9 -5
  158. package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts.map +1 -1
  159. package/build/parser/satisfactory/types/property/generic/TextProperty.js +38 -45
  160. package/build/parser/satisfactory/types/property/generic/TextProperty.js.map +1 -1
  161. package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts +9 -5
  162. package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts.map +1 -1
  163. package/build/parser/satisfactory/types/property/generic/Uint32Property.js +15 -23
  164. package/build/parser/satisfactory/types/property/generic/Uint32Property.js.map +1 -1
  165. package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts +9 -5
  166. package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts.map +1 -1
  167. package/build/parser/satisfactory/types/property/generic/Uint64Property.js +14 -22
  168. package/build/parser/satisfactory/types/property/generic/Uint64Property.js.map +1 -1
  169. package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts +9 -5
  170. package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts.map +1 -1
  171. package/build/parser/satisfactory/types/property/generic/Uint8Property.js +14 -22
  172. package/build/parser/satisfactory/types/property/generic/Uint8Property.js.map +1 -1
  173. package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.d.ts +15 -0
  174. package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.d.ts.map +1 -0
  175. package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.js +129 -0
  176. package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.js.map +1 -0
  177. package/build/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.d.ts +55 -0
  178. package/build/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.d.ts.map +1 -0
  179. package/build/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.js +24 -0
  180. package/build/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.js.map +1 -0
  181. package/build/parser/satisfactory/types/property/generic/containers/MapProperty.d.ts +20 -0
  182. package/build/parser/satisfactory/types/property/generic/containers/MapProperty.d.ts.map +1 -0
  183. package/build/parser/satisfactory/types/property/generic/{MapProperty.js → containers/MapProperty.js} +52 -61
  184. package/build/parser/satisfactory/types/property/generic/containers/MapProperty.js.map +1 -0
  185. package/build/parser/satisfactory/types/property/generic/containers/SetProperty.d.ts +14 -0
  186. package/build/parser/satisfactory/types/property/generic/containers/SetProperty.d.ts.map +1 -0
  187. package/build/parser/satisfactory/types/property/generic/containers/SetProperty.js +90 -0
  188. package/build/parser/satisfactory/types/property/generic/containers/SetProperty.js.map +1 -0
  189. package/build/parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes.d.ts +34 -0
  190. package/build/parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes.d.ts.map +1 -0
  191. package/build/parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes.js +17 -0
  192. package/build/parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes.js.map +1 -0
  193. package/build/parser/satisfactory/types/property/generic/containers/StructProperty.d.ts +59 -0
  194. package/build/parser/satisfactory/types/property/generic/containers/StructProperty.d.ts.map +1 -0
  195. package/build/parser/satisfactory/types/property/generic/{StructProperty.js → containers/StructProperty.js} +69 -82
  196. package/build/parser/satisfactory/types/property/generic/containers/StructProperty.js.map +1 -0
  197. package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.d.ts +2 -0
  198. package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.d.ts.map +1 -1
  199. package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.js +14 -5
  200. package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.js.map +1 -1
  201. package/build/parser/satisfactory/types/property/special/PlayerSpecialProperties.d.ts.map +1 -1
  202. package/build/parser/satisfactory/types/property/special/PlayerSpecialProperties.js.map +1 -1
  203. package/build/parser/satisfactory/types/property/special/PowerLineSpecialProperties.js +2 -2
  204. package/build/parser/satisfactory/types/property/special/PowerLineSpecialProperties.js.map +1 -1
  205. package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.d.ts +4 -2
  206. package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.d.ts.map +1 -1
  207. package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.js +4 -2
  208. package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.js.map +1 -1
  209. package/build/parser/satisfactory/types/structs/GUIDInfo.d.ts +4 -4
  210. package/build/parser/satisfactory/types/structs/GUIDInfo.d.ts.map +1 -1
  211. package/build/parser/satisfactory/types/structs/GUIDInfo.js +6 -6
  212. package/build/parser/satisfactory/types/structs/GUIDInfo.js.map +1 -1
  213. package/build/parser/satisfactory/types/structs/SaveBodyValidation.d.ts.map +1 -1
  214. package/build/parser/satisfactory/types/structs/SaveBodyValidation.js +0 -2
  215. package/build/parser/satisfactory/types/structs/SaveBodyValidation.js.map +1 -1
  216. package/build/parser/satisfactory/types/structs/SoftObjectReference.d.ts +1 -1
  217. package/build/parser/satisfactory/types/structs/SoftObjectReference.d.ts.map +1 -1
  218. package/build/parser/satisfactory/types/structs/SoftObjectReference.js +2 -2
  219. package/build/parser/satisfactory/types/structs/SoftObjectReference.js.map +1 -1
  220. package/build/parser/satisfactory/types/structs/binary/FCustomVersion.d.ts +12 -0
  221. package/build/parser/satisfactory/types/structs/binary/FCustomVersion.d.ts.map +1 -0
  222. package/build/parser/satisfactory/types/structs/binary/FCustomVersion.js +21 -0
  223. package/build/parser/satisfactory/types/structs/binary/FCustomVersion.js.map +1 -0
  224. package/build/parser/satisfactory/types/structs/binary/FCustomVersionContainer.d.ts +11 -0
  225. package/build/parser/satisfactory/types/structs/binary/FCustomVersionContainer.d.ts.map +1 -0
  226. package/build/parser/satisfactory/types/structs/binary/FCustomVersionContainer.js +22 -0
  227. package/build/parser/satisfactory/types/structs/binary/FCustomVersionContainer.js.map +1 -0
  228. package/build/parser/satisfactory/types/structs/binary/FEngineVersion.d.ts +14 -0
  229. package/build/parser/satisfactory/types/structs/binary/FEngineVersion.d.ts.map +1 -0
  230. package/build/parser/satisfactory/types/structs/binary/FEngineVersion.js +24 -0
  231. package/build/parser/satisfactory/types/structs/binary/FEngineVersion.js.map +1 -0
  232. package/build/parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle.d.ts +12 -0
  233. package/build/parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle.d.ts.map +1 -0
  234. package/build/parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle.js +22 -0
  235. package/build/parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle.js.map +1 -0
  236. package/build/parser/satisfactory/types/structs/binary/FPackageFileVersion.d.ts +11 -0
  237. package/build/parser/satisfactory/types/structs/binary/FPackageFileVersion.d.ts.map +1 -0
  238. package/build/parser/satisfactory/types/structs/binary/FPackageFileVersion.js +18 -0
  239. package/build/parser/satisfactory/types/structs/binary/FPackageFileVersion.js.map +1 -0
  240. package/build/parser/satisfactory/types/structs/binary/FPlayerInfoHandle.d.ts +11 -0
  241. package/build/parser/satisfactory/types/structs/binary/FPlayerInfoHandle.d.ts.map +1 -0
  242. package/build/parser/satisfactory/types/structs/binary/FPlayerInfoHandle.js +38 -0
  243. package/build/parser/satisfactory/types/structs/binary/FPlayerInfoHandle.js.map +1 -0
  244. package/build/parser/satisfactory/types/structs/binary/FPropertyTag.d.ts +30 -0
  245. package/build/parser/satisfactory/types/structs/binary/FPropertyTag.d.ts.map +1 -0
  246. package/build/parser/satisfactory/types/structs/binary/FPropertyTag.js +182 -0
  247. package/build/parser/satisfactory/types/structs/binary/FPropertyTag.js.map +1 -0
  248. package/build/parser/satisfactory/types/structs/binary/FPropertyTagNode.d.ts +11 -0
  249. package/build/parser/satisfactory/types/structs/binary/FPropertyTagNode.d.ts.map +1 -0
  250. package/build/parser/satisfactory/types/structs/binary/FPropertyTagNode.js +26 -0
  251. package/build/parser/satisfactory/types/structs/binary/FPropertyTagNode.js.map +1 -0
  252. package/build/parser/satisfactory/types/structs/binary/FSaveObjectVersionData.d.ts +17 -0
  253. package/build/parser/satisfactory/types/structs/binary/FSaveObjectVersionData.d.ts.map +1 -0
  254. package/build/parser/satisfactory/types/structs/binary/FSaveObjectVersionData.js +27 -0
  255. package/build/parser/satisfactory/types/structs/binary/FSaveObjectVersionData.js.map +1 -0
  256. package/build/parser/satisfactory/types/structs/binary/FUniqueNetIdRepl.d.ts +11 -0
  257. package/build/parser/satisfactory/types/structs/binary/FUniqueNetIdRepl.d.ts.map +1 -0
  258. package/build/parser/satisfactory/types/structs/binary/FUniqueNetIdRepl.js +21 -0
  259. package/build/parser/satisfactory/types/structs/binary/FUniqueNetIdRepl.js.map +1 -0
  260. package/build/parser/satisfactory/types/structs/binary/LBBalancerIndexing.d.ts +12 -0
  261. package/build/parser/satisfactory/types/structs/binary/LBBalancerIndexing.d.ts.map +1 -0
  262. package/build/parser/satisfactory/types/structs/binary/LBBalancerIndexing.js +22 -0
  263. package/build/parser/satisfactory/types/structs/binary/LBBalancerIndexing.js.map +1 -0
  264. package/build/parser/satisfactory/types/structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState.d.ts +22 -0
  265. package/build/parser/satisfactory/types/structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState.d.ts.map +1 -0
  266. package/build/parser/satisfactory/types/structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState.js +40 -0
  267. package/build/parser/satisfactory/types/structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState.js.map +1 -0
  268. package/build/parser/stream/reworked/readable-stream-parser.d.ts +2 -3
  269. package/build/parser/stream/reworked/readable-stream-parser.d.ts.map +1 -1
  270. package/build/parser/stream/reworked/readable-stream-parser.js +90 -50
  271. package/build/parser/stream/reworked/readable-stream-parser.js.map +1 -1
  272. package/build/parser/unreal-engine/ETextHistoryType.d.ts +17 -0
  273. package/build/parser/unreal-engine/ETextHistoryType.d.ts.map +1 -0
  274. package/build/parser/unreal-engine/ETextHistoryType.js +21 -0
  275. package/build/parser/unreal-engine/ETextHistoryType.js.map +1 -0
  276. package/build/parser/unreal-engine/EUnrealEngineObjectUE5Version.d.ts +24 -0
  277. package/build/parser/unreal-engine/EUnrealEngineObjectUE5Version.d.ts.map +1 -0
  278. package/build/parser/unreal-engine/EUnrealEngineObjectUE5Version.js +29 -0
  279. package/build/parser/unreal-engine/EUnrealEngineObjectUE5Version.js.map +1 -0
  280. package/docs/assets/navigation.js +1 -1
  281. package/docs/assets/search.js +1 -1
  282. package/docs/classes/BlueprintConfigReader.html +4 -4
  283. package/docs/classes/BlueprintReader.html +4 -4
  284. package/docs/classes/CompressionLibraryError.html +27 -6
  285. package/docs/classes/ContextReader.html +4 -4
  286. package/docs/classes/ContextWriter.html +4 -4
  287. package/docs/classes/CorruptBlueprintError.html +27 -6
  288. package/docs/classes/CorruptSaveError.html +27 -6
  289. package/docs/classes/Parser.html +6 -6
  290. package/docs/classes/ParserError.html +27 -6
  291. package/docs/classes/ReadableStreamParser.html +2 -2
  292. package/docs/classes/SatisfactorySave.html +2 -2
  293. package/docs/classes/SaveComponent.html +2 -2
  294. package/docs/classes/SaveEntity.html +2 -2
  295. package/docs/classes/SaveObject.html +2 -2
  296. package/docs/classes/SaveReader.html +4 -4
  297. package/docs/classes/SaveStreamJsonStringifier.html +2 -2
  298. package/docs/classes/SaveStreamWriter.html +2 -2
  299. package/docs/classes/SaveWriter.html +4 -4
  300. package/docs/classes/TimeoutError.html +27 -6
  301. package/docs/classes/UnimplementedError.html +27 -6
  302. package/docs/classes/UnsupportedVersionError.html +27 -6
  303. package/docs/enums/Alignment.html +2 -2
  304. package/docs/enums/BlueprintConfigVersion.html +2 -2
  305. package/docs/enums/BlueprintHeaderVersion.html +2 -2
  306. package/docs/enums/CompressionAlgorithmCode.html +2 -2
  307. package/docs/enums/FactoryGameCustomVersion.html +2 -2
  308. package/docs/enums/RuntimeBuildableInstanceDataVersion.html +2 -2
  309. package/docs/enums/SaveCustomVersion.html +10 -10
  310. package/docs/enums/SaveHeaderType.html +2 -2
  311. package/docs/functions/AbstractBaseProperty.Create.html +1 -1
  312. package/docs/functions/ArrayProperty.CalcOverhead.html +1 -1
  313. package/docs/functions/ArrayProperty.Parse.html +1 -1
  314. package/docs/functions/ArrayProperty.Serialize.html +1 -1
  315. package/docs/functions/BlueprintConfig.Parse.html +1 -1
  316. package/docs/functions/BlueprintConfig.Serialize.html +1 -1
  317. package/docs/functions/BlueprintHeader.Parse.html +1 -1
  318. package/docs/functions/BlueprintHeader.Serialize.html +1 -1
  319. package/docs/functions/BoolArrayProperty.Parse.html +1 -1
  320. package/docs/functions/BoolArrayProperty.Serialize.html +1 -1
  321. package/docs/functions/BoolProperty.CalcOverhead.html +1 -1
  322. package/docs/functions/BoolProperty.Parse.html +1 -1
  323. package/docs/functions/BoolProperty.ReadValue.html +1 -1
  324. package/docs/functions/BoolProperty.Serialize.html +1 -1
  325. package/docs/functions/BoolProperty.SerializeValue.html +1 -1
  326. package/docs/functions/BuildableSubsystemSpecialProperties.Parse.html +1 -1
  327. package/docs/functions/BuildableSubsystemSpecialProperties.Serialize.html +1 -1
  328. package/docs/functions/BuildableTypeInstance.Parse.html +1 -1
  329. package/docs/functions/BuildableTypeInstance.Serialize.html +1 -1
  330. package/docs/functions/ByteArrayProperty.Parse.html +1 -1
  331. package/docs/functions/ByteArrayProperty.Serialize.html +1 -1
  332. package/docs/functions/ByteProperty.CalcOverhead.html +1 -1
  333. package/docs/functions/ByteProperty.Parse.html +1 -1
  334. package/docs/functions/ByteProperty.ReadValue.html +1 -1
  335. package/docs/functions/ByteProperty.Serialize.html +1 -1
  336. package/docs/functions/ByteProperty.SerializeValue.html +1 -1
  337. package/docs/functions/CircuitSpecialProperties.Parse.html +1 -1
  338. package/docs/functions/CircuitSpecialProperties.Serialize.html +1 -1
  339. package/docs/functions/ConveyorChainActorSpecialProperties.Parse.html +1 -1
  340. package/docs/functions/ConveyorChainActorSpecialProperties.Serialize.html +1 -1
  341. package/docs/functions/ConveyorSpecialProperties.Parse.html +1 -1
  342. package/docs/functions/ConveyorSpecialProperties.Serialize.html +1 -1
  343. package/docs/functions/DoubleArrayProperty.Parse.html +1 -1
  344. package/docs/functions/DoubleArrayProperty.Serialize.html +1 -1
  345. package/docs/functions/DoubleProperty.CalcOverhead.html +1 -1
  346. package/docs/functions/DoubleProperty.Parse.html +1 -1
  347. package/docs/functions/DoubleProperty.ReadValue.html +1 -1
  348. package/docs/functions/DoubleProperty.Serialize.html +1 -1
  349. package/docs/functions/DoubleProperty.SerializeValue.html +1 -1
  350. package/docs/functions/DynamicStructPropertyValue.read.html +1 -1
  351. package/docs/functions/DynamicStructPropertyValue.write.html +1 -1
  352. package/docs/functions/EmptySpecialProperties.Parse.html +1 -1
  353. package/docs/functions/EmptySpecialProperties.Serialize.html +1 -1
  354. package/docs/functions/EnumArrayProperty.Parse.html +1 -1
  355. package/docs/functions/EnumArrayProperty.Serialize.html +1 -1
  356. package/docs/functions/EnumProperty.CalcOverhead.html +1 -1
  357. package/docs/functions/EnumProperty.Parse.html +1 -1
  358. package/docs/functions/EnumProperty.ReadValue.html +1 -1
  359. package/docs/functions/EnumProperty.Serialize.html +1 -1
  360. package/docs/functions/EnumProperty.SerializeValue.html +1 -1
  361. package/docs/functions/FClientIdentityInfo.read.html +1 -1
  362. package/docs/functions/FClientIdentityInfo.write.html +1 -1
  363. package/docs/functions/FColor.read.html +1 -1
  364. package/docs/functions/FColor.write.html +1 -1
  365. package/docs/functions/FGDynamicStruct.Parse.html +1 -1
  366. package/docs/functions/FGDynamicStruct.Serialize.html +1 -1
  367. package/docs/functions/FICFrameRange.read.html +1 -1
  368. package/docs/functions/FICFrameRange.write.html +1 -1
  369. package/docs/functions/FINGPUT1BufferPixel.read.html +1 -1
  370. package/docs/functions/FINGPUT1BufferPixel.write.html +1 -1
  371. package/docs/functions/FINItemStateFileSystem.IsFINItemStateFileSystem.html +1 -1
  372. package/docs/functions/FINItemStateFileSystem.read.html +1 -1
  373. package/docs/functions/FINItemStateFileSystem.write.html +1 -1
  374. package/docs/functions/FINNetworkTrace.read.html +1 -1
  375. package/docs/functions/FINNetworkTrace.write.html +1 -1
  376. package/docs/functions/FLBBalancerIndexing.read.html +1 -1
  377. package/docs/functions/FLBBalancerIndexing.write.html +1 -1
  378. package/docs/functions/FLinearColor.read.html +1 -1
  379. package/docs/functions/FLinearColor.write.html +1 -1
  380. package/docs/functions/FloatArrayProperty.Parse.html +1 -1
  381. package/docs/functions/FloatArrayProperty.Serialize.html +1 -1
  382. package/docs/functions/FloatProperty.CalcOverhead.html +1 -1
  383. package/docs/functions/FloatProperty.Parse.html +1 -1
  384. package/docs/functions/FloatProperty.ReadValue.html +1 -1
  385. package/docs/functions/FloatProperty.Serialize.html +1 -1
  386. package/docs/functions/FloatProperty.SerializeValue.html +1 -1
  387. package/docs/functions/GUID.read.html +1 -1
  388. package/docs/functions/GUID.write.html +1 -1
  389. package/docs/functions/GUIDInfo.read.html +1 -1
  390. package/docs/functions/GUIDInfo.write.html +1 -1
  391. package/docs/functions/Int32ArrayProperty.Parse.html +1 -1
  392. package/docs/functions/Int32ArrayProperty.Serialize.html +1 -1
  393. package/docs/functions/Int32Property.CalcOverhead.html +1 -1
  394. package/docs/functions/Int32Property.Parse.html +1 -1
  395. package/docs/functions/Int32Property.ReadValue.html +1 -1
  396. package/docs/functions/Int32Property.Serialize.html +1 -1
  397. package/docs/functions/Int32Property.SerializeValue.html +1 -1
  398. package/docs/functions/Int32SetProperty.Parse.html +1 -1
  399. package/docs/functions/Int32SetProperty.Serialize.html +1 -1
  400. package/docs/functions/Int64ArrayProperty.Parse.html +1 -1
  401. package/docs/functions/Int64ArrayProperty.Serialize.html +1 -1
  402. package/docs/functions/Int64Property.CalcOverhead.html +1 -1
  403. package/docs/functions/Int64Property.Parse.html +1 -1
  404. package/docs/functions/Int64Property.ReadValue.html +1 -1
  405. package/docs/functions/Int64Property.Serialize.html +1 -1
  406. package/docs/functions/Int64Property.SerializeValue.html +1 -1
  407. package/docs/functions/Int8Property.CalcOverhead.html +1 -1
  408. package/docs/functions/Int8Property.Parse.html +1 -1
  409. package/docs/functions/Int8Property.ReadValue.html +1 -1
  410. package/docs/functions/Int8Property.Serialize.html +1 -1
  411. package/docs/functions/Int8Property.SerializeValue.html +1 -1
  412. package/docs/functions/Level.ReadAllObjectContents.html +1 -1
  413. package/docs/functions/Level.ReadAllObjectHeaders.html +1 -1
  414. package/docs/functions/Level.ReadLevel.html +1 -1
  415. package/docs/functions/Level.ReadNObjectContents.html +1 -1
  416. package/docs/functions/Level.ReadNObjectHeaders.html +1 -1
  417. package/docs/functions/Level.SerializeAllObjectContents.html +1 -1
  418. package/docs/functions/Level.SerializeAllObjectHeaders.html +1 -1
  419. package/docs/functions/Level.SerializeLevel.html +1 -1
  420. package/docs/functions/LevelToDestroyedActorsMap.read.html +1 -1
  421. package/docs/functions/LevelToDestroyedActorsMap.write.html +1 -1
  422. package/docs/functions/MD5Hash.read.html +1 -1
  423. package/docs/functions/MD5Hash.write.html +1 -1
  424. package/docs/functions/MapProperty.CalcOverhead.html +1 -1
  425. package/docs/functions/MapProperty.Parse.html +1 -1
  426. package/docs/functions/MapProperty.Serialize.html +1 -1
  427. package/docs/functions/ObjectArrayProperty.Parse.html +1 -1
  428. package/docs/functions/ObjectArrayProperty.Serialize.html +1 -1
  429. package/docs/functions/ObjectProperty.CalcOverhead.html +1 -1
  430. package/docs/functions/ObjectProperty.Parse.html +1 -1
  431. package/docs/functions/ObjectProperty.ReadValue.html +1 -1
  432. package/docs/functions/ObjectProperty.Serialize.html +1 -1
  433. package/docs/functions/ObjectProperty.SerializeValue.html +1 -1
  434. package/docs/functions/ObjectReference.IsEqual.html +1 -1
  435. package/docs/functions/ObjectReference.read.html +1 -1
  436. package/docs/functions/ObjectReference.write.html +1 -1
  437. package/docs/functions/ObjectSetProperty.Parse.html +1 -1
  438. package/docs/functions/ObjectSetProperty.Serialize.html +1 -1
  439. package/docs/functions/ObjectsListSpecialProperties.Parse.html +1 -1
  440. package/docs/functions/ObjectsListSpecialProperties.Serialize.html +1 -1
  441. package/docs/functions/PlayerSpecialProperties.Parse.html +1 -1
  442. package/docs/functions/PlayerSpecialProperties.Serialize.html +1 -1
  443. package/docs/functions/PowerLineSpecialProperties.Parse.html +1 -1
  444. package/docs/functions/PowerLineSpecialProperties.Serialize.html +1 -1
  445. package/docs/functions/PropertiesList.ParseList.html +1 -1
  446. package/docs/functions/PropertiesList.ParseSingleProperty.html +1 -1
  447. package/docs/functions/PropertiesList.SerializeList.html +1 -1
  448. package/docs/functions/PropertiesList.SerializeSingleProperty.html +1 -1
  449. package/docs/functions/SatisfactorySaveHeader.Parse.html +1 -1
  450. package/docs/functions/SatisfactorySaveHeader.Serialize.html +1 -1
  451. package/docs/functions/SaveBodyChunks.CompressDataIntoChunks.html +1 -1
  452. package/docs/functions/SaveBodyChunks.DecompressChunks.html +1 -1
  453. package/docs/functions/SaveBodyValidation.Parse.html +1 -1
  454. package/docs/functions/SaveBodyValidation.Serialize.html +1 -1
  455. package/docs/functions/SetProperty.CalcOverhead.html +1 -1
  456. package/docs/functions/SetProperty.Parse.html +1 -1
  457. package/docs/functions/SetProperty.Serialize.html +1 -1
  458. package/docs/functions/SoftObjectArrayProperty.Parse.html +1 -1
  459. package/docs/functions/SoftObjectArrayProperty.Serialize.html +1 -1
  460. package/docs/functions/SoftObjectProperty.CalcOverhead.html +1 -0
  461. package/docs/functions/SoftObjectProperty.Parse.html +1 -0
  462. package/docs/functions/SoftObjectProperty.ReadValue.html +1 -0
  463. package/docs/functions/SoftObjectProperty.Serialize.html +1 -0
  464. package/docs/functions/SoftObjectProperty.SerializeValue.html +1 -0
  465. package/docs/functions/SoftObjectReference.read.html +1 -1
  466. package/docs/functions/SoftObjectReference.write.html +1 -1
  467. package/docs/functions/SpecialDroneActionProperties.Parse.html +1 -1
  468. package/docs/functions/SpecialDroneActionProperties.Serialize.html +1 -1
  469. package/docs/functions/SpecialProperties.ParseClassSpecificSpecialProperties.html +1 -1
  470. package/docs/functions/SpecialProperties.SerializeClassSpecificSpecialProperties.html +1 -1
  471. package/docs/functions/StrArrayProperty.Parse.html +1 -1
  472. package/docs/functions/StrArrayProperty.Serialize.html +1 -1
  473. package/docs/functions/StrProperty.CalcOverhead.html +1 -1
  474. package/docs/functions/StrProperty.Parse.html +1 -1
  475. package/docs/functions/StrProperty.ReadValue.html +1 -1
  476. package/docs/functions/StrProperty.Serialize.html +1 -1
  477. package/docs/functions/StrProperty.SerializeValue.html +1 -1
  478. package/docs/functions/StrSetProperty.Parse.html +1 -1
  479. package/docs/functions/StrSetProperty.Serialize.html +1 -1
  480. package/docs/functions/StructArrayProperty.Parse.html +1 -1
  481. package/docs/functions/StructArrayProperty.Serialize.html +1 -1
  482. package/docs/functions/StructProperty.CalcOverhead.html +1 -1
  483. package/docs/functions/StructProperty.Parse.html +1 -1
  484. package/docs/functions/StructProperty.ParseValue.html +1 -1
  485. package/docs/functions/StructProperty.Serialize.html +1 -1
  486. package/docs/functions/StructProperty.SerializeValue.html +1 -1
  487. package/docs/functions/StructSetProperty.Parse.html +1 -1
  488. package/docs/functions/StructSetProperty.Serialize.html +1 -1
  489. package/docs/functions/TextArrayProperty.Parse.html +1 -1
  490. package/docs/functions/TextArrayProperty.Serialize.html +1 -1
  491. package/docs/functions/TextProperty.CalcOverhead.html +1 -1
  492. package/docs/functions/TextProperty.Parse.html +1 -1
  493. package/docs/functions/TextProperty.ReadValue.html +1 -1
  494. package/docs/functions/TextProperty.Serialize.html +1 -1
  495. package/docs/functions/TextProperty.SerializeValue.html +1 -1
  496. package/docs/functions/Transform.Parse.html +1 -1
  497. package/docs/functions/Transform.ParseF.html +1 -1
  498. package/docs/functions/Transform.Serialize.html +1 -1
  499. package/docs/functions/Transform.SerializeF.html +1 -1
  500. package/docs/functions/Uint32Property.CalcOverhead.html +1 -1
  501. package/docs/functions/Uint32Property.Parse.html +1 -1
  502. package/docs/functions/Uint32Property.ReadValue.html +1 -1
  503. package/docs/functions/Uint32Property.Serialize.html +1 -1
  504. package/docs/functions/Uint32Property.SerializeValue.html +1 -1
  505. package/docs/functions/Uint32SetProperty.Parse.html +1 -1
  506. package/docs/functions/Uint32SetProperty.Serialize.html +1 -1
  507. package/docs/functions/Uint64Property.CalcOverhead.html +1 -1
  508. package/docs/functions/Uint64Property.Parse.html +1 -1
  509. package/docs/functions/Uint64Property.ReadValue.html +1 -1
  510. package/docs/functions/Uint64Property.Serialize.html +1 -1
  511. package/docs/functions/Uint64Property.SerializeValue.html +1 -1
  512. package/docs/functions/Uint8Property.CalcOverhead.html +1 -1
  513. package/docs/functions/Uint8Property.Parse.html +1 -1
  514. package/docs/functions/Uint8Property.ReadValue.html +1 -1
  515. package/docs/functions/Uint8Property.Serialize.html +1 -1
  516. package/docs/functions/Uint8Property.SerializeValue.html +1 -1
  517. package/docs/functions/VehiclePhysicsData.Parse.html +1 -1
  518. package/docs/functions/VehiclePhysicsData.Serialize.html +1 -1
  519. package/docs/functions/VehicleSpecialProperties.Parse.html +1 -1
  520. package/docs/functions/VehicleSpecialProperties.Serialize.html +1 -1
  521. package/docs/functions/col4.ParseBGRA.html +1 -1
  522. package/docs/functions/col4.ParseRGBA.html +1 -1
  523. package/docs/functions/col4.SerializeBGRA.html +1 -1
  524. package/docs/functions/col4.SerializeRGBA.html +1 -1
  525. package/docs/functions/isArrayProperty.html +1 -1
  526. package/docs/functions/isBoolArrayProperty.html +1 -1
  527. package/docs/functions/isBoolProperty.html +1 -1
  528. package/docs/functions/isBuildableSubsystemSpecialProperties.html +1 -1
  529. package/docs/functions/isByteArrayProperty.html +1 -1
  530. package/docs/functions/isByteProperty.html +1 -1
  531. package/docs/functions/isCircuitSpecialProperties.html +1 -1
  532. package/docs/functions/isConveyorChainActorSpecialProperties.html +1 -1
  533. package/docs/functions/isConveyorSpecialProperties.html +1 -1
  534. package/docs/functions/isDoubleArrayProperty.html +1 -1
  535. package/docs/functions/isDoubleProperty.html +1 -1
  536. package/docs/functions/isEmptySpecialProperties.html +1 -1
  537. package/docs/functions/isEnumArrayProperty.html +1 -1
  538. package/docs/functions/isEnumProperty.html +1 -1
  539. package/docs/functions/isFloatArrayProperty.html +1 -1
  540. package/docs/functions/isFloatProperty.html +1 -1
  541. package/docs/functions/isInt32ArrayProperty.html +1 -1
  542. package/docs/functions/isInt32Property.html +1 -1
  543. package/docs/functions/isInt32SetProperty.html +1 -1
  544. package/docs/functions/isInt64ArrayProperty.html +1 -1
  545. package/docs/functions/isInt64Property.html +1 -1
  546. package/docs/functions/isInt8Property.html +1 -1
  547. package/docs/functions/isMapProperty.html +1 -1
  548. package/docs/functions/isObjectArrayProperty.html +1 -1
  549. package/docs/functions/isObjectProperty.html +1 -1
  550. package/docs/functions/isObjectSetProperty.html +1 -1
  551. package/docs/functions/isObjectsListSpecialProperties.html +1 -1
  552. package/docs/functions/isPlayerSpecialProperties.html +1 -1
  553. package/docs/functions/isPowerLineSpecialProperties.html +1 -1
  554. package/docs/functions/isSaveComponent.html +1 -1
  555. package/docs/functions/isSaveEntity.html +1 -1
  556. package/docs/functions/isSetProperty.html +1 -1
  557. package/docs/functions/isSoftObjectArrayProperty.html +1 -1
  558. package/docs/functions/isSoftObjectProperty.html +1 -0
  559. package/docs/functions/isSpecialDroneActionProperties.html +1 -1
  560. package/docs/functions/isStrArrayProperty.html +1 -1
  561. package/docs/functions/isStrProperty.html +1 -1
  562. package/docs/functions/isStrSetProperty.html +1 -1
  563. package/docs/functions/isStructArrayProperty.html +1 -1
  564. package/docs/functions/isStructProperty.html +1 -1
  565. package/docs/functions/isStructSetProperty.html +1 -1
  566. package/docs/functions/isTextArrayProperty.html +1 -1
  567. package/docs/functions/isTextProperty.html +1 -1
  568. package/docs/functions/isUInt64Property.html +1 -1
  569. package/docs/functions/isUint32Property.html +1 -1
  570. package/docs/functions/isUint32SetProperty.html +1 -1
  571. package/docs/functions/isUint8Property.html +1 -1
  572. package/docs/functions/isVehicleSpecialProperties.html +1 -1
  573. package/docs/functions/vec2.Parse.html +1 -1
  574. package/docs/functions/vec2.ParseF.html +1 -1
  575. package/docs/functions/vec2.Serialize.html +1 -1
  576. package/docs/functions/vec2.SerializeF.html +1 -1
  577. package/docs/functions/vec3.Parse.html +1 -1
  578. package/docs/functions/vec3.ParseF.html +1 -1
  579. package/docs/functions/vec3.ParseInt.html +1 -1
  580. package/docs/functions/vec3.Serialize.html +1 -1
  581. package/docs/functions/vec3.SerializeF.html +1 -1
  582. package/docs/functions/vec3.SerializeInt.html +1 -1
  583. package/docs/functions/vec3.add.html +1 -1
  584. package/docs/functions/vec3.length.html +1 -1
  585. package/docs/functions/vec3.mult.html +1 -1
  586. package/docs/functions/vec3.norm.html +1 -1
  587. package/docs/functions/vec3.sub.html +1 -1
  588. package/docs/functions/vec4.Parse.html +1 -1
  589. package/docs/functions/vec4.ParseF.html +1 -1
  590. package/docs/functions/vec4.Serialize.html +1 -1
  591. package/docs/functions/vec4.SerializeF.html +1 -1
  592. package/docs/index.html +3 -2
  593. package/docs/interfaces/Blueprint.html +2 -2
  594. package/docs/interfaces/BlueprintConfig-1.html +2 -2
  595. package/docs/interfaces/SaveComponentHeader.html +2 -2
  596. package/docs/interfaces/SaveEntityHeader.html +2 -2
  597. package/docs/interfaces/SaveObjectHeader.html +2 -2
  598. package/docs/modules/AbstractBaseProperty.html +1 -1
  599. package/docs/modules/ArrayProperty.html +1 -1
  600. package/docs/modules/BlueprintConfig.html +1 -1
  601. package/docs/modules/BlueprintHeader.html +1 -1
  602. package/docs/modules/BoolArrayProperty.html +1 -1
  603. package/docs/modules/BoolProperty.html +1 -1
  604. package/docs/modules/BuildableSubsystemSpecialProperties.html +1 -1
  605. package/docs/modules/BuildableTypeInstance.html +1 -1
  606. package/docs/modules/ByteArrayProperty.html +1 -1
  607. package/docs/modules/ByteProperty.html +1 -1
  608. package/docs/modules/CircuitSpecialProperties.html +1 -1
  609. package/docs/modules/ConveyorChainActorSpecialProperties.html +1 -1
  610. package/docs/modules/ConveyorSpecialProperties.html +1 -1
  611. package/docs/modules/DoubleArrayProperty.html +1 -1
  612. package/docs/modules/DoubleProperty.html +1 -1
  613. package/docs/modules/DynamicStructPropertyValue.html +1 -1
  614. package/docs/modules/EmptySpecialProperties.html +1 -1
  615. package/docs/modules/EnumArrayProperty.html +1 -1
  616. package/docs/modules/EnumProperty.html +1 -1
  617. package/docs/modules/FClientIdentityInfo.html +1 -1
  618. package/docs/modules/FColor.html +1 -1
  619. package/docs/modules/FGDynamicStruct.html +1 -1
  620. package/docs/modules/FICFrameRange.html +1 -1
  621. package/docs/modules/FINGPUT1BufferPixel.html +1 -1
  622. package/docs/modules/FINItemStateFileSystem.html +1 -1
  623. package/docs/modules/FINNetworkTrace.html +1 -1
  624. package/docs/modules/FLBBalancerIndexing.html +1 -1
  625. package/docs/modules/FLinearColor.html +1 -1
  626. package/docs/modules/FloatArrayProperty.html +1 -1
  627. package/docs/modules/FloatProperty.html +1 -1
  628. package/docs/modules/GUID.html +1 -1
  629. package/docs/modules/GUIDInfo.html +1 -1
  630. package/docs/modules/Int32ArrayProperty.html +1 -1
  631. package/docs/modules/Int32Property.html +1 -1
  632. package/docs/modules/Int32SetProperty.html +1 -1
  633. package/docs/modules/Int64ArrayProperty.html +1 -1
  634. package/docs/modules/Int64Property.html +1 -1
  635. package/docs/modules/Int8Property.html +1 -1
  636. package/docs/modules/Level.html +1 -1
  637. package/docs/modules/LevelToDestroyedActorsMap.html +1 -1
  638. package/docs/modules/MD5Hash.html +1 -1
  639. package/docs/modules/MapProperty.html +1 -1
  640. package/docs/modules/ObjectArrayProperty.html +1 -1
  641. package/docs/modules/ObjectProperty.html +1 -1
  642. package/docs/modules/ObjectReference.html +1 -1
  643. package/docs/modules/ObjectSetProperty.html +1 -1
  644. package/docs/modules/ObjectsListSpecialProperties.html +1 -1
  645. package/docs/modules/PlayerSpecialProperties.html +1 -1
  646. package/docs/modules/PowerLineSpecialProperties.html +1 -1
  647. package/docs/modules/PropertiesList.html +1 -1
  648. package/docs/modules/SatisfactorySaveHeader.html +1 -1
  649. package/docs/modules/SaveBodyChunks.html +1 -1
  650. package/docs/modules/SaveBodyValidation.html +1 -1
  651. package/docs/modules/SetProperty.html +1 -1
  652. package/docs/modules/SoftObjectArrayProperty.html +1 -1
  653. package/docs/modules/SoftObjectProperty.html +6 -0
  654. package/docs/modules/SoftObjectReference.html +1 -1
  655. package/docs/modules/SpecialDroneActionProperties.html +1 -1
  656. package/docs/modules/SpecialProperties.html +1 -1
  657. package/docs/modules/StrArrayProperty.html +1 -1
  658. package/docs/modules/StrProperty.html +1 -1
  659. package/docs/modules/StrSetProperty.html +1 -1
  660. package/docs/modules/StructArrayProperty.html +1 -1
  661. package/docs/modules/StructProperty.html +1 -1
  662. package/docs/modules/StructSetProperty.html +1 -1
  663. package/docs/modules/TextArrayProperty.html +1 -1
  664. package/docs/modules/TextProperty.html +1 -1
  665. package/docs/modules/Transform.html +1 -1
  666. package/docs/modules/Uint32Property.html +1 -1
  667. package/docs/modules/Uint32SetProperty.html +1 -1
  668. package/docs/modules/Uint64Property.html +1 -1
  669. package/docs/modules/Uint8Property.html +1 -1
  670. package/docs/modules/VehiclePhysicsData.html +1 -1
  671. package/docs/modules/VehicleSpecialProperties.html +1 -1
  672. package/docs/modules/col4.html +1 -1
  673. package/docs/modules/vec2.html +1 -1
  674. package/docs/modules/vec3.html +1 -1
  675. package/docs/modules/vec4.html +1 -1
  676. package/docs/modules.html +3 -0
  677. package/docs/types/AbstractBaseProperty-1.html +1 -1
  678. package/docs/types/ArrayProperty.AvailableArrayPropertyTypes.html +1 -1
  679. package/docs/types/ArrayPropertyStructValueFields.html +1 -1
  680. package/docs/types/BasicMultipleStructPropertyValue.html +1 -1
  681. package/docs/types/BasicStructPropertyValue.html +1 -1
  682. package/docs/types/BlueprintHeader-1.html +1 -1
  683. package/docs/types/BlueprintReaderWriterContext.html +1 -1
  684. package/docs/types/BoolArrayProperty-1.html +1 -1
  685. package/docs/types/BoolProperty-1.html +1 -1
  686. package/docs/types/BoxStructPropertyValue.html +1 -1
  687. package/docs/types/BuildableSubsystemSpecialProperties-1.html +1 -1
  688. package/docs/types/BuildableTypeInstance-1.html +1 -1
  689. package/docs/types/ByteArrayProperty-1.html +1 -1
  690. package/docs/types/ByteProperty-1.html +1 -1
  691. package/docs/types/BytePropertyValue.html +1 -1
  692. package/docs/types/ChunkCompressionInfo.html +1 -1
  693. package/docs/types/ChunkSummary.html +1 -1
  694. package/docs/types/CircuitSpecialProperties-1.html +1 -1
  695. package/docs/types/ConveyorChainActorSpecialProperties-1.html +1 -1
  696. package/docs/types/ConveyorChainSegmentSpecialProperties.html +1 -1
  697. package/docs/types/ConveyorItemSpecialProperties.html +1 -1
  698. package/docs/types/ConveyorSpecialProperties-1.html +1 -1
  699. package/docs/types/DoubleArrayProperty-1.html +1 -1
  700. package/docs/types/DoubleProperty-1.html +1 -1
  701. package/docs/types/DynamicStructPropertyValue-1.html +1 -1
  702. package/docs/types/EmptySpecialProperties-1.html +1 -1
  703. package/docs/types/EnumArrayProperty-1.html +1 -1
  704. package/docs/types/EnumProperty-1.html +1 -1
  705. package/docs/types/FClientIdentityInfo-1.html +1 -1
  706. package/docs/types/FColor-1.html +1 -1
  707. package/docs/types/FGDynamicStruct-1.html +1 -1
  708. package/docs/types/FICFrameRange-1.html +1 -1
  709. package/docs/types/FICFrameRangeStructPropertyValue.html +1 -1
  710. package/docs/types/FINGPUT1BufferPixel-1.html +1 -1
  711. package/docs/types/FINItemStateFileSystem-1.html +1 -1
  712. package/docs/types/FINNetworkTrace-1.html +1 -1
  713. package/docs/types/FLBBalancerIndexing-1.html +1 -1
  714. package/docs/types/FLinearColor-1.html +1 -1
  715. package/docs/types/FloatArrayProperty-1.html +1 -1
  716. package/docs/types/FloatProperty-1.html +1 -1
  717. package/docs/types/GENERIC_MAP_KEY_TYPE.html +1 -1
  718. package/docs/types/GENERIC_MAP_VALUE_TYPE.html +1 -1
  719. package/docs/types/GENERIC_STRUCT_PROPERTY_VALUE.html +1 -1
  720. package/docs/types/GUID-1.html +1 -1
  721. package/docs/types/GUIDInfo-1.html +1 -1
  722. package/docs/types/Grids.html +1 -1
  723. package/docs/types/Int32ArrayProperty-1.html +1 -1
  724. package/docs/types/Int32Property-1.html +1 -1
  725. package/docs/types/Int32SetProperty-1.html +1 -1
  726. package/docs/types/Int64ArrayProperty-1.html +1 -1
  727. package/docs/types/Int64Property-1.html +1 -1
  728. package/docs/types/Int8Property-1.html +1 -1
  729. package/docs/types/InventoryItemStructPropertyValue.html +1 -1
  730. package/docs/types/Level-1.html +1 -1
  731. package/docs/types/LevelToDestroyedActorsMap-1.html +1 -1
  732. package/docs/types/Levels.html +1 -1
  733. package/docs/types/MAP_STRUCT_PROXY.html +1 -1
  734. package/docs/types/MD5Hash-1.html +1 -1
  735. package/docs/types/MapProperty-1.html +1 -1
  736. package/docs/types/ModData.html +1 -1
  737. package/docs/types/ObjectArrayProperty-1.html +1 -1
  738. package/docs/types/ObjectProperty-1.html +1 -1
  739. package/docs/types/ObjectReference-1.html +1 -1
  740. package/docs/types/ObjectSetProperty-1.html +1 -1
  741. package/docs/types/ObjectsListSpecialProperties-1.html +1 -1
  742. package/docs/types/PlayerSpecialProperties-1.html +1 -1
  743. package/docs/types/PowerLineSpecialProperties-1.html +1 -1
  744. package/docs/types/PropertiesMap.html +1 -1
  745. package/docs/types/RailroadTrackPositionStructPropertyValue.html +1 -1
  746. package/docs/types/ReaderWriterContext.html +1 -1
  747. package/docs/types/RoughSaveVersion.html +1 -1
  748. package/docs/types/SatisfactoryModMetadata.html +1 -1
  749. package/docs/types/SatisfactorySaveHeader-1.html +1 -1
  750. package/docs/types/SaveBodyChunks-1.html +1 -1
  751. package/docs/types/SaveBodyValidation-1.html +1 -1
  752. package/docs/types/SaveReaderWriterContext.html +1 -1
  753. package/docs/types/SetProperty.AvailableSetPropertyTypes.html +1 -1
  754. package/docs/types/SoftObjectArrayProperty-1.html +1 -1
  755. package/docs/types/SoftObjectProperty-1.html +1 -0
  756. package/docs/types/SoftObjectReference-1.html +1 -1
  757. package/docs/types/SpecialDroneAction.html +1 -1
  758. package/docs/types/SpecialDroneActionProperties-1.html +1 -1
  759. package/docs/types/SpecialProperties.AvailableSpecialPropertiesTypes.html +1 -1
  760. package/docs/types/StrArrayProperty-1.html +1 -1
  761. package/docs/types/StrProperty-1.html +1 -1
  762. package/docs/types/StrSetProperty-1.html +1 -1
  763. package/docs/types/StructArrayProperty-1.html +1 -1
  764. package/docs/types/StructProperty-1.html +1 -1
  765. package/docs/types/StructSetProperty-1.html +1 -1
  766. package/docs/types/TextArrayProperty-1.html +1 -1
  767. package/docs/types/TextProperty-1.html +1 -1
  768. package/docs/types/TextPropertyValue.html +1 -1
  769. package/docs/types/Transform-1.html +1 -1
  770. package/docs/types/Uint32Property-1.html +1 -1
  771. package/docs/types/Uint32SetProperty-1.html +1 -1
  772. package/docs/types/Uint64Property-1.html +1 -1
  773. package/docs/types/Uint8Property-1.html +1 -1
  774. package/docs/types/VehiclePhysicsData-1.html +1 -1
  775. package/docs/types/VehicleSpecialProperties-1.html +1 -1
  776. package/docs/types/col4-1.html +1 -1
  777. package/docs/types/vec2-1.html +1 -1
  778. package/docs/types/vec3-1.html +1 -1
  779. package/docs/types/vec4-1.html +1 -1
  780. package/docs/variables/DEFAULT_SATISFACTORY_CHUNK_HEADER_SIZE.html +1 -1
  781. package/docs/variables/EDIT.html +1 -1
  782. package/docs/variables/FINItemStateFileSystem.ExactStructReference.html +1 -1
  783. package/docs/variables/SaveBodyChunks.HEADER_V1.html +1 -1
  784. package/docs/variables/SaveBodyChunks.HEADER_V2.html +1 -1
  785. package/jsr.json +1 -1
  786. package/package.json +6 -5
  787. package/tsconfig.test.json +13 -0
  788. package/build/parser/context/context.d.ts.map +0 -1
  789. package/build/parser/context/context.js.map +0 -1
  790. package/build/parser/file.types.d.ts +0 -14
  791. package/build/parser/file.types.d.ts.map +0 -1
  792. package/build/parser/file.types.js +0 -8
  793. package/build/parser/file.types.js.map +0 -1
  794. package/build/parser/satisfactory/save/level.class.d.ts +0 -29
  795. package/build/parser/satisfactory/save/level.class.d.ts.map +0 -1
  796. package/build/parser/satisfactory/save/level.class.js +0 -204
  797. package/build/parser/satisfactory/save/level.class.js.map +0 -1
  798. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.d.ts +0 -22
  799. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.d.ts.map +0 -1
  800. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.js +0 -127
  801. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.js.map +0 -1
  802. package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.d.ts +0 -14
  803. package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.d.ts.map +0 -1
  804. package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.js +0 -23
  805. package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.js.map +0 -1
  806. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.d.ts +0 -14
  807. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.d.ts.map +0 -1
  808. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.js +0 -23
  809. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.js.map +0 -1
  810. package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.d.ts +0 -14
  811. package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.d.ts.map +0 -1
  812. package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.js +0 -23
  813. package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.js.map +0 -1
  814. package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.d.ts +0 -14
  815. package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.d.ts.map +0 -1
  816. package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.js +0 -23
  817. package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.js.map +0 -1
  818. package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.d.ts +0 -14
  819. package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.d.ts.map +0 -1
  820. package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.js +0 -23
  821. package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.js.map +0 -1
  822. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.d.ts +0 -14
  823. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.d.ts.map +0 -1
  824. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.js +0 -23
  825. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.js.map +0 -1
  826. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.d.ts +0 -14
  827. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.d.ts.map +0 -1
  828. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.js +0 -23
  829. package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.js.map +0 -1
  830. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.d.ts +0 -15
  831. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.d.ts.map +0 -1
  832. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.js +0 -23
  833. package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.js.map +0 -1
  834. package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.d.ts +0 -15
  835. package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.d.ts.map +0 -1
  836. package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.js +0 -23
  837. package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.js.map +0 -1
  838. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.d.ts +0 -14
  839. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.d.ts.map +0 -1
  840. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.js +0 -23
  841. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.js.map +0 -1
  842. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.d.ts +0 -26
  843. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.d.ts.map +0 -1
  844. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.js +0 -75
  845. package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.js.map +0 -1
  846. package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.d.ts +0 -15
  847. package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.d.ts.map +0 -1
  848. package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.js +0 -23
  849. package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.js.map +0 -1
  850. package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts +0 -16
  851. package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts.map +0 -1
  852. package/build/parser/satisfactory/types/property/generic/Int32Property.js +0 -33
  853. package/build/parser/satisfactory/types/property/generic/Int32Property.js.map +0 -1
  854. package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts +0 -25
  855. package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts.map +0 -1
  856. package/build/parser/satisfactory/types/property/generic/MapProperty.js.map +0 -1
  857. package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts +0 -14
  858. package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts.map +0 -1
  859. package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.js +0 -23
  860. package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.js.map +0 -1
  861. package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.d.ts +0 -15
  862. package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.d.ts.map +0 -1
  863. package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.js +0 -23
  864. package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.js.map +0 -1
  865. package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.d.ts +0 -15
  866. package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.d.ts.map +0 -1
  867. package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.js +0 -75
  868. package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.js.map +0 -1
  869. package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.d.ts +0 -14
  870. package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.d.ts.map +0 -1
  871. package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.js +0 -23
  872. package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.js.map +0 -1
  873. package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.d.ts +0 -14
  874. package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.d.ts.map +0 -1
  875. package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js +0 -42
  876. package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js.map +0 -1
  877. package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.d.ts +0 -14
  878. package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.d.ts.map +0 -1
  879. package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.js +0 -23
  880. package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.js.map +0 -1
  881. package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts +0 -59
  882. package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts.map +0 -1
  883. package/build/parser/satisfactory/types/property/generic/StructProperty.js.map +0 -1
  884. package/build/parser/satisfactory/types/structs/GUID.d.ts +0 -8
  885. package/build/parser/satisfactory/types/structs/GUID.d.ts.map +0 -1
  886. package/build/parser/satisfactory/types/structs/GUID.js +0 -22
  887. package/build/parser/satisfactory/types/structs/GUID.js.map +0 -1
  888. package/build/parser/stream/reworked/save-stream-json-stringifier.d.ts +0 -6
  889. package/build/parser/stream/reworked/save-stream-json-stringifier.d.ts.map +0 -1
  890. package/build/parser/stream/reworked/save-stream-json-stringifier.js +0 -35
  891. package/build/parser/stream/reworked/save-stream-json-stringifier.js.map +0 -1
  892. package/build/parser/stream/reworked/save-stream-writer.class.d.ts +0 -28
  893. package/build/parser/stream/reworked/save-stream-writer.class.d.ts.map +0 -1
  894. package/build/parser/stream/reworked/save-stream-writer.class.js +0 -84
  895. package/build/parser/stream/reworked/save-stream-writer.class.js.map +0 -1
@@ -0,0 +1,182 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FPropertyTag = void 0;
4
+ const EUnrealEngineObjectUE5Version_1 = require("../../../../unreal-engine/EUnrealEngineObjectUE5Version");
5
+ const save_custom_version_1 = require("../../../save/save-custom-version");
6
+ const GUIDInfo_1 = require("../GUIDInfo");
7
+ const FPropertyTagNode_1 = require("./FPropertyTagNode");
8
+ const GUID_1 = require("./GUID");
9
+ var FPropertyTag;
10
+ (function (FPropertyTag) {
11
+ function IsCompletePropertyTagType(readerOrWriter) {
12
+ return readerOrWriter.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.SerializeDataPackageVersionAndCustomVersions
13
+ && readerOrWriter.context.packageFileVersionUE5.object >= EUnrealEngineObjectUE5Version_1.EUnrealEngineObjectUE5Version.PROPERTY_TAG_COMPLETE_TYPE_NAME;
14
+ }
15
+ FPropertyTag.IsCompletePropertyTagType = IsCompletePropertyTagType;
16
+ function read(reader) {
17
+ const tag = {
18
+ propertyName: reader.readString(),
19
+ binarySize: 0,
20
+ propertyTagType: { name: '', children: [] }
21
+ };
22
+ if (tag.propertyName === 'None') {
23
+ return tag;
24
+ }
25
+ if (IsCompletePropertyTagType(reader)) {
26
+ tag.propertyTagType = FPropertyTagNode_1.FPropertyTagNode.read(reader);
27
+ tag.binarySize = reader.readInt32();
28
+ tag.flags = reader.readUint8();
29
+ if (tag.flags & 0x1) {
30
+ tag.index = reader.readInt32();
31
+ }
32
+ if (tag.flags & 0x2) {
33
+ tag.propertyGuid = GUID_1.GUID.read(reader);
34
+ }
35
+ }
36
+ else {
37
+ tag.propertyType = reader.readString();
38
+ tag.binarySize = reader.readInt32();
39
+ tag.index = reader.readInt32();
40
+ if (tag.propertyType === 'ArrayProperty') {
41
+ tag.subtype = reader.readString();
42
+ }
43
+ else if (tag.propertyType === 'StructProperty') {
44
+ tag.subtype = reader.readString();
45
+ tag.structGuid = GUID_1.GUID.read(reader);
46
+ }
47
+ else if (tag.propertyType === 'SetProperty') {
48
+ tag.subtype = reader.readString();
49
+ }
50
+ else if (tag.propertyType === 'BoolProperty') {
51
+ tag.boolValue = reader.readInt8() > 0;
52
+ }
53
+ else if (tag.propertyType === 'ByteProperty') {
54
+ tag.byteValueEnumName = reader.readString();
55
+ }
56
+ else if (tag.propertyType === 'EnumProperty') {
57
+ tag.enumValueEnumName = reader.readString();
58
+ }
59
+ else if (tag.propertyType === 'MapProperty') {
60
+ tag.mapKeyType = reader.readString();
61
+ tag.mapValueType = reader.readString();
62
+ }
63
+ tag.propertyGuid = GUIDInfo_1.OptionalGUID.read(reader);
64
+ tag.propertyTagType = {
65
+ name: tag.propertyType,
66
+ children: []
67
+ };
68
+ if (tag.subtype !== undefined) {
69
+ tag.propertyTagType.children.push({
70
+ name: tag.subtype,
71
+ children: []
72
+ });
73
+ }
74
+ else if (tag.mapKeyType !== undefined && tag.mapValueType !== undefined) {
75
+ tag.propertyTagType.children.push({
76
+ name: tag.mapKeyType,
77
+ children: []
78
+ }, {
79
+ name: tag.mapValueType,
80
+ children: []
81
+ });
82
+ }
83
+ }
84
+ return tag;
85
+ }
86
+ FPropertyTag.read = read;
87
+ function write(writer, tag) {
88
+ writer.writeString(tag.propertyName);
89
+ if (IsCompletePropertyTagType(writer)) {
90
+ FPropertyTagNode_1.FPropertyTagNode.write(writer, tag.propertyTagType);
91
+ writer.writeInt32(tag.binarySize);
92
+ writer.writeUint8(tag.flags ?? 0);
93
+ if (tag.flags & 0x1) {
94
+ writer.writeInt32(tag.index);
95
+ }
96
+ if (tag.flags & 0x2) {
97
+ GUID_1.GUID.write(writer, tag.propertyGuid);
98
+ }
99
+ }
100
+ else {
101
+ writer.writeString(tag.propertyType);
102
+ writer.writeInt32(tag.binarySize);
103
+ writer.writeInt32(tag.index ?? 0);
104
+ if (tag.propertyType === 'ArrayProperty') {
105
+ writer.writeString(tag.subtype);
106
+ }
107
+ else if (tag.propertyType === 'StructProperty') {
108
+ writer.writeString(tag.subtype);
109
+ GUID_1.GUID.write(writer, tag.structGuid);
110
+ }
111
+ else if (tag.propertyType === 'SetProperty') {
112
+ writer.writeString(tag.subtype);
113
+ }
114
+ else if (tag.propertyType === 'BoolProperty') {
115
+ writer.writeInt8(tag.boolValue ? 1 : 0);
116
+ }
117
+ else if (tag.propertyType === 'ByteProperty') {
118
+ writer.writeString(tag.byteValueEnumName);
119
+ }
120
+ else if (tag.propertyType === 'EnumProperty') {
121
+ writer.writeString(tag.enumValueEnumName);
122
+ }
123
+ else if (tag.propertyType === 'MapProperty') {
124
+ writer.writeString(tag.mapKeyType);
125
+ writer.writeString(tag.mapValueType);
126
+ }
127
+ GUIDInfo_1.OptionalGUID.write(writer, tag.propertyGuid);
128
+ }
129
+ }
130
+ FPropertyTag.write = write;
131
+ function writeFromProperty(writer, property) {
132
+ writer.writeString(property.name);
133
+ let binarySizeLocation = writer.getBufferPosition();
134
+ if (IsCompletePropertyTagType(writer)) {
135
+ FPropertyTagNode_1.FPropertyTagNode.write(writer, property.propertyTagType);
136
+ binarySizeLocation = writer.getBufferPosition();
137
+ writer.writeInt32(0);
138
+ writer.writeUint8(property.flags ?? 0);
139
+ if (property.flags & 0x1) {
140
+ writer.writeInt32(property.index);
141
+ }
142
+ if (property.flags & 0x2) {
143
+ GUID_1.GUID.write(writer, property.propertyGuid);
144
+ }
145
+ }
146
+ else {
147
+ writer.writeString(property.propertyTagType.name);
148
+ binarySizeLocation = writer.getBufferPosition();
149
+ writer.writeInt32(0);
150
+ writer.writeInt32(property.index ?? 0);
151
+ if (property.propertyTagType.name === 'ArrayProperty') {
152
+ writer.writeString(property.propertyTagType.children[0].name);
153
+ }
154
+ else if (property.propertyTagType.name === 'StructProperty') {
155
+ writer.writeString(property.propertyTagType.children[0].name);
156
+ GUID_1.GUID.write(writer, property.structGuid ?? [0, 0, 0, 0]);
157
+ }
158
+ else if (property.propertyTagType.name === 'SetProperty') {
159
+ writer.writeString(property.propertyTagType.children[0].name);
160
+ }
161
+ else if (property.propertyTagType.name === 'BoolProperty') {
162
+ writer.writeInt8(property.value ? 1 : 0);
163
+ }
164
+ else if (property.propertyTagType.name === 'ByteProperty') {
165
+ writer.writeString(property.value.type);
166
+ }
167
+ else if (property.propertyTagType.name === 'EnumProperty') {
168
+ writer.writeString(property.value.name);
169
+ }
170
+ else if (property.propertyTagType.name === 'MapProperty') {
171
+ writer.writeString(property.propertyTagType.children[0].name);
172
+ writer.writeString(property.propertyTagType.children[1].name);
173
+ }
174
+ GUIDInfo_1.OptionalGUID.write(writer, property.propertyGuid);
175
+ }
176
+ return {
177
+ binarySizeLocation
178
+ };
179
+ }
180
+ FPropertyTag.writeFromProperty = writeFromProperty;
181
+ })(FPropertyTag || (exports.FPropertyTag = FPropertyTag = {}));
182
+ //# sourceMappingURL=FPropertyTag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FPropertyTag.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/FPropertyTag.ts"],"names":[],"mappings":";;;AAEA,2GAAwG;AACxG,2EAAsE;AAKtE,0CAA2C;AAC3C,yDAAsD;AACtD,iCAA8B;AAyB9B,IAAiB,YAAY,CAmL5B;AAnLD,WAAiB,YAAY;IAEzB,SAAgB,yBAAyB,CAAC,cAA6C;QACnF,OAAO,cAAc,CAAC,OAAO,CAAC,WAAW,CAAC,MAAM,IAAI,uCAAiB,CAAC,4CAA4C;eAC3G,cAAc,CAAC,OAAO,CAAC,qBAAqB,CAAC,MAAM,IAAI,6DAA6B,CAAC,+BAA+B,CAAC;IAChI,CAAC;IAHe,sCAAyB,4BAGxC,CAAA;IAKD,SAAgB,IAAI,CAAC,MAAqB;QAEtC,MAAM,GAAG,GAAiB;YACtB,YAAY,EAAE,MAAM,CAAC,UAAU,EAAE;YACjC,UAAU,EAAE,CAAC;YACb,eAAe,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ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CAAC;IACN,CAAC;IA9Ce,8BAAiB,oBA8ChC,CAAA;AACL,CAAC,EAnLgB,YAAY,4BAAZ,YAAY,QAmL5B","sourcesContent":["import { ContextReader } from \"../../../../context/context-reader\";\nimport { ContextWriter } from \"../../../../context/context-writer\";\nimport { EUnrealEngineObjectUE5Version } from \"../../../../unreal-engine/EUnrealEngineObjectUE5Version\";\nimport { SaveCustomVersion } from \"../../../save/save-custom-version\";\nimport { AbstractBaseProperty } from \"../../property/generic/AbstractBaseProperty\";\nimport { BoolProperty } from \"../../property/generic/BoolProperty\";\nimport { ByteProperty } from \"../../property/generic/ByteProperty\";\nimport { EnumProperty } from \"../../property/generic/EnumProperty\";\nimport { OptionalGUID } from \"../GUIDInfo\";\nimport { FPropertyTagNode } from \"./FPropertyTagNode\";\nimport { GUID } from \"./GUID\";\n\n/**\n * @propertyTagType with its nested structure describes the whole type + subtype.\n */\nexport type FPropertyTag = {\n propertyName: string;\n binarySize: number;\n index?: number;\n flags?: number;\n propertyGuid?: GUID;\n\n propertyTagType: FPropertyTagNode;\n\n propertyType?: string;\n subtype?: string;\n\n structGuid?: GUID;\n boolValue?: boolean;\n mapKeyType?: string;\n mapValueType?: string;\n byteValueEnumName?: string;\n enumValueEnumName?: string;\n};\n\nexport namespace FPropertyTag {\n\n export function IsCompletePropertyTagType(readerOrWriter: ContextReader | ContextWriter) {\n return readerOrWriter.context.saveVersion.object >= SaveCustomVersion.SerializeDataPackageVersionAndCustomVersions\n && readerOrWriter.context.packageFileVersionUE5.object >= EUnrealEngineObjectUE5Version.PROPERTY_TAG_COMPLETE_TYPE_NAME;\n }\n\n /**\n * in order to keep the parsed properties and their values simple, we will merge fields from tag into property.\n */\n export function read(reader: ContextReader): FPropertyTag {\n\n const tag: FPropertyTag = {\n propertyName: reader.readString(),\n binarySize: 0,\n propertyTagType: { name: '', children: [] }\n };\n\n if (tag.propertyName === 'None') {\n return tag;\n }\n\n if (IsCompletePropertyTagType(reader)) {\n\n tag.propertyTagType = FPropertyTagNode.read(reader);\n tag.binarySize = reader.readInt32();\n tag.flags = reader.readUint8();\n if (tag.flags & 0x1) {\n tag.index = reader.readInt32();\n }\n if (tag.flags & 0x2) {\n tag.propertyGuid = GUID.read(reader);\n }\n\n } else {\n tag.propertyType = reader.readString();\n tag.binarySize = reader.readInt32();\n tag.index = reader.readInt32();\n\n if (tag.propertyType === 'ArrayProperty') {\n tag.subtype = reader.readString();\n } else if (tag.propertyType === 'StructProperty') {\n tag.subtype = reader.readString();\n tag.structGuid = GUID.read(reader);\n } else if (tag.propertyType === 'SetProperty') {\n tag.subtype = reader.readString();\n } else if (tag.propertyType === 'BoolProperty') {\n tag.boolValue = reader.readInt8() > 0;\n } else if (tag.propertyType === 'ByteProperty') {\n tag.byteValueEnumName = reader.readString();\n } else if (tag.propertyType === 'EnumProperty') {\n tag.enumValueEnumName = reader.readString();\n } else if (tag.propertyType === 'MapProperty') {\n tag.mapKeyType = reader.readString();\n tag.mapValueType = reader.readString();\n }\n tag.propertyGuid = OptionalGUID.read(reader);\n\n // we construct our artificial property tag type. so that we can handle tags the same way across versions\n // Here we deviate from the structure of the official FPropertyTag\n tag.propertyTagType = {\n name: tag.propertyType,\n children: []\n };\n if (tag.subtype !== undefined) {\n tag.propertyTagType.children.push(\n {\n name: tag.subtype,\n children: []\n }\n );\n } else if (tag.mapKeyType !== undefined && tag.mapValueType !== undefined) {\n tag.propertyTagType.children.push(\n {\n name: tag.mapKeyType,\n children: []\n },\n {\n name: tag.mapValueType,\n children: []\n }\n );\n }\n }\n\n return tag;\n }\n\n export function write(writer: ContextWriter, tag: FPropertyTag): void {\n writer.writeString(tag.propertyName);\n\n if (IsCompletePropertyTagType(writer)) {\n\n FPropertyTagNode.write(writer, tag.propertyTagType!);\n writer.writeInt32(tag.binarySize);\n writer.writeUint8(tag.flags ?? 0);\n if (tag.flags! & 0x1) {\n writer.writeInt32(tag.index!);\n }\n if (tag.flags! & 0x2) {\n GUID.write(writer, tag.propertyGuid!);\n }\n\n } else {\n writer.writeString(tag.propertyType!);\n writer.writeInt32(tag.binarySize);\n writer.writeInt32(tag.index ?? 0);\n\n if (tag.propertyType === 'ArrayProperty') {\n writer.writeString(tag.subtype!);\n } else if (tag.propertyType === 'StructProperty') {\n writer.writeString(tag.subtype!);\n GUID.write(writer, tag.structGuid!);\n } else if (tag.propertyType === 'SetProperty') {\n writer.writeString(tag.subtype!);\n } else if (tag.propertyType === 'BoolProperty') {\n writer.writeInt8(tag.boolValue ? 1 : 0);\n } else if (tag.propertyType === 'ByteProperty') {\n writer.writeString(tag.byteValueEnumName!);\n } else if (tag.propertyType === 'EnumProperty') {\n writer.writeString(tag.enumValueEnumName!)\n } else if (tag.propertyType === 'MapProperty') {\n writer.writeString(tag.mapKeyType!);\n writer.writeString(tag.mapValueType!);\n }\n OptionalGUID.write(writer, tag.propertyGuid);\n }\n }\n\n /**\n * since we merge tag & property when reading, we need to separate them here.\n */\n export function writeFromProperty(writer: ContextWriter, property: AbstractBaseProperty): { binarySizeLocation: number } {\n writer.writeString(property.name);\n let binarySizeLocation = writer.getBufferPosition();\n\n if (IsCompletePropertyTagType(writer)) {\n\n FPropertyTagNode.write(writer, property.propertyTagType!);\n binarySizeLocation = writer.getBufferPosition();\n writer.writeInt32(0);\n writer.writeUint8(property.flags ?? 0);\n if (property.flags! & 0x1) {\n writer.writeInt32(property.index!);\n }\n if (property.flags! & 0x2) {\n GUID.write(writer, property.propertyGuid!);\n }\n\n } else {\n writer.writeString(property.propertyTagType.name);\n binarySizeLocation = writer.getBufferPosition();\n writer.writeInt32(0);\n writer.writeInt32(property.index ?? 0);\n\n if (property.propertyTagType.name === 'ArrayProperty') {\n writer.writeString(property.propertyTagType.children[0].name);\n } else if (property.propertyTagType.name === 'StructProperty') {\n writer.writeString(property.propertyTagType.children[0].name);\n GUID.write(writer, property.structGuid ?? [0, 0, 0, 0]);\n } else if (property.propertyTagType.name === 'SetProperty') {\n writer.writeString(property.propertyTagType.children[0].name);\n } else if (property.propertyTagType.name === 'BoolProperty') {\n writer.writeInt8((property as BoolProperty).value ? 1 : 0);\n } else if (property.propertyTagType.name === 'ByteProperty') {\n writer.writeString((property as ByteProperty).value.type!);\n } else if (property.propertyTagType.name === 'EnumProperty') {\n writer.writeString((property as EnumProperty).value.name)\n } else if (property.propertyTagType.name === 'MapProperty') {\n writer.writeString(property.propertyTagType.children[0].name);\n writer.writeString(property.propertyTagType.children[1].name);\n }\n OptionalGUID.write(writer, property.propertyGuid);\n }\n\n return {\n binarySizeLocation\n };\n }\n}"]}
@@ -0,0 +1,11 @@
1
+ import { ContextReader } from '../../../../context/context-reader';
2
+ import { ContextWriter } from '../../../../context/context-writer';
3
+ export type FPropertyTagNode = {
4
+ name: string;
5
+ children: FPropertyTagNode[];
6
+ };
7
+ export declare namespace FPropertyTagNode {
8
+ function read(reader: ContextReader): FPropertyTagNode;
9
+ function write(writer: ContextWriter, node: FPropertyTagNode): void;
10
+ }
11
+ //# sourceMappingURL=FPropertyTagNode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FPropertyTagNode.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/FPropertyTagNode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,MAAM,MAAM,gBAAgB,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,gBAAgB,EAAE,CAAC;CAChC,CAAC;AAEF,yBAAiB,gBAAgB,CAAC;IAC9B,SAAgB,IAAI,CAAC,MAAM,EAAE,aAAa,GAAG,gBAAgB,CAQ5D;IAED,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAMzE;CACJ"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FPropertyTagNode = void 0;
4
+ var FPropertyTagNode;
5
+ (function (FPropertyTagNode) {
6
+ function read(reader) {
7
+ const name = reader.readString();
8
+ const count = reader.readInt32();
9
+ const children = new Array(count).fill('0').map(() => FPropertyTagNode.read(reader));
10
+ return {
11
+ name,
12
+ children
13
+ };
14
+ }
15
+ FPropertyTagNode.read = read;
16
+ function write(writer, node) {
17
+ writer.writeString(node.name);
18
+ writer.writeInt32(node.children.length);
19
+ for (const child of node.children) {
20
+ FPropertyTagNode.write(writer, child);
21
+ }
22
+ }
23
+ FPropertyTagNode.write = write;
24
+ })(FPropertyTagNode || (exports.FPropertyTagNode = FPropertyTagNode = {}));
25
+ ;
26
+ //# sourceMappingURL=FPropertyTagNode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FPropertyTagNode.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/FPropertyTagNode.ts"],"names":[],"mappings":";;;AAQA,IAAiB,gBAAgB,CAkBhC;AAlBD,WAAiB,gBAAgB;IAC7B,SAAgB,IAAI,CAAC,MAAqB;QACtC,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;QACjC,MAAM,KAAK,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QACjC,MAAM,QAAQ,GAAG,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACrF,OAAO;YACH,IAAI;YACJ,QAAQ;SACX,CAAA;IACL,CAAC;IARe,qBAAI,OAQnB,CAAA;IAED,SAAgB,KAAK,CAAC,MAAqB,EAAE,IAAsB;QAC/D,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC9B,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QACxC,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAChC,gBAAgB,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;QAC1C,CAAC;IACL,CAAC;IANe,sBAAK,QAMpB,CAAA;AACL,CAAC,EAlBgB,gBAAgB,gCAAhB,gBAAgB,QAkBhC;AAAA,CAAC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\n\nexport type FPropertyTagNode = {\n name: string;\n children: FPropertyTagNode[];\n};\n\nexport namespace FPropertyTagNode {\n export function read(reader: ContextReader): FPropertyTagNode {\n const name = reader.readString();\n const count = reader.readInt32();\n const children = new Array(count).fill('0').map(() => FPropertyTagNode.read(reader));\n return {\n name,\n children\n }\n }\n\n export function write(writer: ContextWriter, node: FPropertyTagNode): void {\n writer.writeString(node.name);\n writer.writeInt32(node.children.length);\n for (const child of node.children) {\n FPropertyTagNode.write(writer, child);\n }\n }\n};"]}
@@ -0,0 +1,17 @@
1
+ import { ContextReader } from '../../../../context/context-reader';
2
+ import { ContextWriter } from '../../../../context/context-writer';
3
+ import { FCustomVersionContainer } from './FCustomVersionContainer';
4
+ import { FEngineVersion } from './FEngineVersion';
5
+ import { FPackageFileVersion } from './FPackageFileVersion';
6
+ export type FSaveObjectVersionData = {
7
+ saveObjectVersionDataVersion: number;
8
+ packageFileVersion: FPackageFileVersion;
9
+ licenceVersion: number;
10
+ engineVersion: FEngineVersion;
11
+ customVersionContainer: FCustomVersionContainer;
12
+ };
13
+ export declare namespace FSaveObjectVersionData {
14
+ const read: (reader: ContextReader) => FSaveObjectVersionData;
15
+ const write: (writer: ContextWriter, data: FSaveObjectVersionData) => void;
16
+ }
17
+ //# sourceMappingURL=FSaveObjectVersionData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FSaveObjectVersionData.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/FSaveObjectVersionData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,MAAM,sBAAsB,GAAG;IACjC,4BAA4B,EAAE,MAAM,CAAC;IACrC,kBAAkB,EAAE,mBAAmB,CAAC;IACxC,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,cAAc,CAAC;IAC9B,sBAAsB,EAAE,uBAAuB,CAAC;CACnD,CAAC;AAEF,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,IAAI,WAAY,aAAa,KAAG,sBAQ5C,CAAA;IAEM,MAAM,KAAK,WAAY,aAAa,QAAQ,sBAAsB,KAAG,IAM3E,CAAA;CACJ"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FSaveObjectVersionData = void 0;
4
+ const FCustomVersionContainer_1 = require("./FCustomVersionContainer");
5
+ const FEngineVersion_1 = require("./FEngineVersion");
6
+ const FPackageFileVersion_1 = require("./FPackageFileVersion");
7
+ var FSaveObjectVersionData;
8
+ (function (FSaveObjectVersionData) {
9
+ FSaveObjectVersionData.read = (reader) => {
10
+ return {
11
+ saveObjectVersionDataVersion: reader.readUint32(),
12
+ packageFileVersion: FPackageFileVersion_1.FPackageFileVersion.read(reader),
13
+ licenceVersion: reader.readInt32(),
14
+ engineVersion: FEngineVersion_1.FEngineVersion.read(reader),
15
+ customVersionContainer: FCustomVersionContainer_1.FCustomVersionContainer.read(reader)
16
+ };
17
+ };
18
+ FSaveObjectVersionData.write = (writer, data) => {
19
+ writer.writeUint32(data.saveObjectVersionDataVersion);
20
+ FPackageFileVersion_1.FPackageFileVersion.write(writer, data.packageFileVersion);
21
+ writer.writeInt32(data.licenceVersion);
22
+ FEngineVersion_1.FEngineVersion.write(writer, data.engineVersion);
23
+ FCustomVersionContainer_1.FCustomVersionContainer.write(writer, data.customVersionContainer);
24
+ };
25
+ })(FSaveObjectVersionData || (exports.FSaveObjectVersionData = FSaveObjectVersionData = {}));
26
+ ;
27
+ //# sourceMappingURL=FSaveObjectVersionData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FSaveObjectVersionData.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/FSaveObjectVersionData.ts"],"names":[],"mappings":";;;AAEA,uEAAoE;AACpE,qDAAkD;AAClD,+DAA4D;AAU5D,IAAiB,sBAAsB,CAkBtC;AAlBD,WAAiB,sBAAsB;IACtB,2BAAI,GAAG,CAAC,MAAqB,EAA0B,EAAE;QAClE,OAAO;YACH,4BAA4B,EAAE,MAAM,CAAC,UAAU,EAAE;YACjD,kBAAkB,EAAE,yCAAmB,CAAC,IAAI,CAAC,MAAM,CAAC;YACpD,cAAc,EAAE,MAAM,CAAC,SAAS,EAAE;YAClC,aAAa,EAAE,+BAAc,CAAC,IAAI,CAAC,MAAM,CAAC;YAC1C,sBAAsB,EAAE,iDAAuB,CAAC,IAAI,CAAC,MAAM,CAAC;SAC/D,CAAC;IACN,CAAC,CAAA;IAEY,4BAAK,GAAG,CAAC,MAAqB,EAAE,IAA4B,EAAQ,EAAE;QAC/E,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC;QACtD,yCAAmB,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC;QAC3D,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACvC,+BAAc,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;QACjD,iDAAuB,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,sBAAsB,CAAC,CAAC;IACvE,CAAC,CAAA;AACL,CAAC,EAlBgB,sBAAsB,sCAAtB,sBAAsB,QAkBtC;AAAA,CAAC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FCustomVersionContainer } from './FCustomVersionContainer';\nimport { FEngineVersion } from './FEngineVersion';\nimport { FPackageFileVersion } from './FPackageFileVersion';\n\nexport type FSaveObjectVersionData = {\n saveObjectVersionDataVersion: number;\n packageFileVersion: FPackageFileVersion;\n licenceVersion: number;\n engineVersion: FEngineVersion;\n customVersionContainer: FCustomVersionContainer;\n};\n\nexport namespace FSaveObjectVersionData {\n export const read = (reader: ContextReader): FSaveObjectVersionData => {\n return {\n saveObjectVersionDataVersion: reader.readUint32(),\n packageFileVersion: FPackageFileVersion.read(reader),\n licenceVersion: reader.readInt32(),\n engineVersion: FEngineVersion.read(reader),\n customVersionContainer: FCustomVersionContainer.read(reader)\n };\n }\n\n export const write = (writer: ContextWriter, data: FSaveObjectVersionData): void => {\n writer.writeUint32(data.saveObjectVersionDataVersion);\n FPackageFileVersion.write(writer, data.packageFileVersion);\n writer.writeInt32(data.licenceVersion);\n FEngineVersion.write(writer, data.engineVersion);\n FCustomVersionContainer.write(writer, data.customVersionContainer);\n }\n};"]}
@@ -0,0 +1,11 @@
1
+ import { ContextReader } from '../../../../context/context-reader';
2
+ import { ContextWriter } from '../../../../context/context-writer';
3
+ export type FUniqueNetIdRepl = {
4
+ flags: number;
5
+ rawData: number[];
6
+ };
7
+ export declare namespace FUniqueNetIdRepl {
8
+ function read(reader: ContextReader, size: number): FUniqueNetIdRepl;
9
+ function write(writer: ContextWriter, replId: FUniqueNetIdRepl): void;
10
+ }
11
+ //# sourceMappingURL=FUniqueNetIdRepl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FUniqueNetIdRepl.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/FUniqueNetIdRepl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,MAAM,MAAM,gBAAgB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAEF,yBAAiB,gBAAgB,CAAC;IAC9B,SAAgB,IAAI,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,GAAG,gBAAgB,CAQ1E;IAED,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,gBAAgB,GAAG,IAAI,CAE3E;CACJ"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FUniqueNetIdRepl = void 0;
4
+ var FUniqueNetIdRepl;
5
+ (function (FUniqueNetIdRepl) {
6
+ function read(reader, size) {
7
+ const flags = 0;
8
+ const rawData = Array.from(reader.readBytes(size));
9
+ return {
10
+ flags,
11
+ rawData
12
+ };
13
+ }
14
+ FUniqueNetIdRepl.read = read;
15
+ function write(writer, replId) {
16
+ writer.writeBytes(new Uint8Array(replId.rawData));
17
+ }
18
+ FUniqueNetIdRepl.write = write;
19
+ })(FUniqueNetIdRepl || (exports.FUniqueNetIdRepl = FUniqueNetIdRepl = {}));
20
+ ;
21
+ //# sourceMappingURL=FUniqueNetIdRepl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FUniqueNetIdRepl.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/FUniqueNetIdRepl.ts"],"names":[],"mappings":";;;AAQA,IAAiB,gBAAgB,CAchC;AAdD,WAAiB,gBAAgB;IAC7B,SAAgB,IAAI,CAAC,MAAqB,EAAE,IAAY;QACpD,MAAM,KAAK,GAAG,CAAC,CAAC;QAEhB,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;QACnD,OAAO;YACH,KAAK;YACL,OAAO;SACV,CAAA;IACL,CAAC;IARe,qBAAI,OAQnB,CAAA;IAED,SAAgB,KAAK,CAAC,MAAqB,EAAE,MAAwB;QACjE,MAAM,CAAC,UAAU,CAAC,IAAI,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;IACtD,CAAC;IAFe,sBAAK,QAEpB,CAAA;AACL,CAAC,EAdgB,gBAAgB,gCAAhB,gBAAgB,QAchC;AAAA,CAAC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\n\nexport type FUniqueNetIdRepl = {\n flags: number;\n rawData: number[];\n};\n\nexport namespace FUniqueNetIdRepl {\n export function read(reader: ContextReader, size: number): FUniqueNetIdRepl {\n const flags = 0;//reader.readUint8();\n //TODO interpret?\n const rawData = Array.from(reader.readBytes(size));\n return {\n flags,\n rawData\n }\n }\n\n export function write(writer: ContextWriter, replId: FUniqueNetIdRepl): void {\n writer.writeBytes(new Uint8Array(replId.rawData));\n }\n};"]}
@@ -0,0 +1,12 @@
1
+ import { ContextReader } from "../../../../context/context-reader";
2
+ import { ContextWriter } from "../../../../context/context-writer";
3
+ export type LBBalancerIndexing = {
4
+ mNormalIndex: number;
5
+ mOverflowIndex: number;
6
+ mFilterIndex: number;
7
+ };
8
+ export declare namespace LBBalancerIndexing {
9
+ function read(reader: ContextReader): LBBalancerIndexing;
10
+ function write(writer: ContextWriter, handle: LBBalancerIndexing): void;
11
+ }
12
+ //# sourceMappingURL=LBBalancerIndexing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LBBalancerIndexing.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/LBBalancerIndexing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,MAAM,MAAM,kBAAkB,GAAG;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;CACxB,CAAA;AAED,yBAAiB,kBAAkB,CAAC;IAChC,SAAgB,IAAI,CAAC,MAAM,EAAE,aAAa,GAAG,kBAAkB,CAM9D;IAED,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAI7E;CACJ"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LBBalancerIndexing = void 0;
4
+ var LBBalancerIndexing;
5
+ (function (LBBalancerIndexing) {
6
+ function read(reader) {
7
+ return {
8
+ mNormalIndex: reader.readInt32(),
9
+ mOverflowIndex: reader.readInt32(),
10
+ mFilterIndex: reader.readInt32()
11
+ };
12
+ }
13
+ LBBalancerIndexing.read = read;
14
+ function write(writer, handle) {
15
+ writer.writeInt32(handle.mNormalIndex);
16
+ writer.writeInt32(handle.mOverflowIndex);
17
+ writer.writeInt32(handle.mFilterIndex);
18
+ }
19
+ LBBalancerIndexing.write = write;
20
+ })(LBBalancerIndexing || (exports.LBBalancerIndexing = LBBalancerIndexing = {}));
21
+ ;
22
+ //# sourceMappingURL=LBBalancerIndexing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LBBalancerIndexing.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/LBBalancerIndexing.ts"],"names":[],"mappings":";;;AASA,IAAiB,kBAAkB,CAclC;AAdD,WAAiB,kBAAkB;IAC/B,SAAgB,IAAI,CAAC,MAAqB;QACtC,OAAO;YACH,YAAY,EAAE,MAAM,CAAC,SAAS,EAAE;YAChC,cAAc,EAAE,MAAM,CAAC,SAAS,EAAE;YAClC,YAAY,EAAE,MAAM,CAAC,SAAS,EAAE;SACnC,CAAC;IACN,CAAC;IANe,uBAAI,OAMnB,CAAA;IAED,SAAgB,KAAK,CAAC,MAAqB,EAAE,MAA0B;QACnE,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QACvC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;QACzC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAC3C,CAAC;IAJe,wBAAK,QAIpB,CAAA;AACL,CAAC,EAdgB,kBAAkB,kCAAlB,kBAAkB,QAclC;AAAA,CAAC","sourcesContent":["import { ContextReader } from \"../../../../context/context-reader\";\nimport { ContextWriter } from \"../../../../context/context-writer\";\n\nexport type LBBalancerIndexing = {\n mNormalIndex: number;\n mOverflowIndex: number;\n mFilterIndex: number;\n}\n\nexport namespace LBBalancerIndexing {\n export function read(reader: ContextReader): LBBalancerIndexing {\n return {\n mNormalIndex: reader.readInt32(),\n mOverflowIndex: reader.readInt32(),\n mFilterIndex: reader.readInt32()\n };\n }\n\n export function write(writer: ContextWriter, handle: LBBalancerIndexing): void {\n writer.writeInt32(handle.mNormalIndex);\n writer.writeInt32(handle.mOverflowIndex);\n writer.writeInt32(handle.mFilterIndex);\n }\n};"]}
@@ -0,0 +1,22 @@
1
+ import { ContextReader } from "../../../../../context/context-reader";
2
+ import { ContextWriter } from "../../../../../context/context-writer";
3
+ import { DynamicStructPropertyValue } from "../../DynamicStructPropertyValue";
4
+ import { ObjectReference } from "../../ObjectReference";
5
+ import { FINNetworkTrace } from "./FINNetworkTrace";
6
+ export type FINLuaRuntimePersistenceState = {
7
+ traces: FINNetworkTrace[];
8
+ references: ObjectReference[];
9
+ thread: string;
10
+ globals: string;
11
+ structs: FIRInstancedStruct[];
12
+ remainingRawData: number[];
13
+ };
14
+ export type FIRInstancedStruct = DynamicStructPropertyValue | {
15
+ [key: string]: any;
16
+ remainingRawBytes: number[];
17
+ };
18
+ export declare namespace FINLuaRuntimePersistenceState {
19
+ const read: (reader: ContextReader, size: number) => FINLuaRuntimePersistenceState;
20
+ const write: (writer: ContextWriter, state: FINLuaRuntimePersistenceState) => void;
21
+ }
22
+ //# sourceMappingURL=FINLuaRuntimePersistenceState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FINLuaRuntimePersistenceState.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAEtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,MAAM,MAAM,6BAA6B,GAAG;IACxC,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,0BAA0B,GAAG;IAC1D,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC/B,CAAA;AAKD,yBAAiB,6BAA6B,CAAC;IAEpC,MAAM,IAAI,WAAY,aAAa,QAAQ,MAAM,KAAG,6BAmD1D,CAAA;IAEM,MAAM,KAAK,WAAY,aAAa,SAAS,6BAA6B,KAAG,IAYnF,CAAA;CACJ"}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FINLuaRuntimePersistenceState = void 0;
4
+ const object_references_list_1 = require("../../../../save/object-references-list");
5
+ const FINNetworkTrace_1 = require("./FINNetworkTrace");
6
+ var FINLuaRuntimePersistenceState;
7
+ (function (FINLuaRuntimePersistenceState) {
8
+ FINLuaRuntimePersistenceState.read = (reader, size) => {
9
+ const start = reader.getBufferPosition();
10
+ const state = {
11
+ traces: [],
12
+ references: [],
13
+ thread: '',
14
+ globals: '',
15
+ structs: [],
16
+ remainingRawData: []
17
+ };
18
+ const countTraces = reader.readInt32();
19
+ for (let i = 0; i < countTraces; i++) {
20
+ state.traces.push(FINNetworkTrace_1.FINNetworkTrace.read(reader));
21
+ }
22
+ state.references = object_references_list_1.ObjectReferencesList.ReadList(reader);
23
+ state.thread = reader.readString();
24
+ state.globals = reader.readString();
25
+ const remainingSize = size - (reader.getBufferPosition() - start);
26
+ state.remainingRawData = Array.from(reader.readBytes(remainingSize));
27
+ return state;
28
+ };
29
+ FINLuaRuntimePersistenceState.write = (writer, state) => {
30
+ writer.writeInt32(state.traces.length);
31
+ for (const trace of state.traces) {
32
+ FINNetworkTrace_1.FINNetworkTrace.write(writer, trace);
33
+ }
34
+ object_references_list_1.ObjectReferencesList.SerializeList(writer, state.references);
35
+ writer.writeString(state.thread);
36
+ writer.writeString(state.globals);
37
+ writer.writeBytesArray(state.remainingRawData);
38
+ };
39
+ })(FINLuaRuntimePersistenceState || (exports.FINLuaRuntimePersistenceState = FINLuaRuntimePersistenceState = {}));
40
+ //# sourceMappingURL=FINLuaRuntimePersistenceState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FINLuaRuntimePersistenceState.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState.ts"],"names":[],"mappings":";;;AAEA,oFAA+E;AAG/E,uDAAoD;AAoBpD,IAAiB,6BAA6B,CAoE7C;AApED,WAAiB,6BAA6B;IAE7B,kCAAI,GAAG,CAAC,MAAqB,EAAE,IAAY,EAAiC,EAAE;QAEvF,MAAM,KAAK,GAAG,MAAM,CA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7D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACjC,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAClC,MAAM,CAAC,eAAe,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACnD,CAAC,CAAA;AACL,CAAC,EApEgB,6BAA6B,6CAA7B,6BAA6B,QAoE7C","sourcesContent":["import { ContextReader } from \"../../../../../context/context-reader\";\nimport { ContextWriter } from \"../../../../../context/context-writer\";\nimport { ObjectReferencesList } from \"../../../../save/object-references-list\";\nimport { DynamicStructPropertyValue } from \"../../DynamicStructPropertyValue\";\nimport { ObjectReference } from \"../../ObjectReference\";\nimport { FINNetworkTrace } from \"./FINNetworkTrace\";\n\n\nexport type FINLuaRuntimePersistenceState = {\n traces: FINNetworkTrace[];\n references: ObjectReference[];\n thread: string;\n globals: string;\n structs: FIRInstancedStruct[];\n remainingRawData: number[];\n};\n\nexport type FIRInstancedStruct = DynamicStructPropertyValue | {\n [key: string]: any;\n remainingRawBytes: number[];\n}\n\n/**\n * declared at https://github.com/Panakotta00/FicsIt-Networks/blob/789c32fdc857fc9971f7f73fbbf3789c64f637bc/Source/FicsItNetworksLua/Private/FINLuaRuntimePersistence.cpp#L8\n */\nexport namespace FINLuaRuntimePersistenceState {\n\n export const read = (reader: ContextReader, size: number): FINLuaRuntimePersistenceState => {\n\n const start = reader.getBufferPosition();\n const state: FINLuaRuntimePersistenceState = {\n traces: [],\n references: [],\n thread: '',\n globals: '',\n structs: [],\n remainingRawData: []\n };\n\n const countTraces = reader.readInt32();\n for (let i = 0; i < countTraces; i++) {\n state.traces.push(FINNetworkTrace.read(reader));\n }\n\n state.references = ObjectReferencesList.ReadList(reader);\n\n state.thread = reader.readString();\n state.globals = reader.readString();\n\n // TODO: in a future version map out more of the FicsitNetworks mod.\n // we already know here come the structs. but not every type is clear yet.\n /*\n const countStructs = reader.readInt32();\n for (let i = 0; i < countStructs; i++) {\n\n reader.readInt32();\n const subtype = reader.readString();\n let struct: FIRInstancedStruct = { remainingRawBytes: [] };\n\n switch (subtype) {\n case '/Script/FicsItNetworksLua.FINLuaEventRegistry':\n case '/Script/FicsItNetworksMisc.FINFutureReflection':\n case '/Script/FicsItNetworksLua.FINEventFilterExpression':\n case '/Script/FactoryGame.PrefabSignData':\n if (reader.context.saveVersion >= SaveCustomVersion.Version1) {\n struct = DynamicStructPropertyValue.read(reader, subtype);\n }\n break;\n }\n\n state.structs.push(struct);\n }\n */\n\n const remainingSize = size - (reader.getBufferPosition() - start);\n state.remainingRawData = Array.from(reader.readBytes(remainingSize));\n\n return state;\n }\n\n export const write = (writer: ContextWriter, state: FINLuaRuntimePersistenceState): void => {\n\n writer.writeInt32(state.traces.length);\n for (const trace of state.traces) {\n FINNetworkTrace.write(writer, trace);\n }\n\n ObjectReferencesList.SerializeList(writer, state.references);\n\n writer.writeString(state.thread);\n writer.writeString(state.globals);\n writer.writeBytesArray(state.remainingRawData);\n }\n}"]}
@@ -1,14 +1,13 @@
1
- import { ReadableStream } from "stream/web";
2
1
  export declare class ReadableStreamParser {
3
2
  private static CreateReadableStreamForParsingSave;
4
3
  static CreateReadableStreamFromSaveToJson: (name: string, bytes: ArrayBufferLike, options?: Partial<{
5
4
  onDecompressedSaveBody: (buffer: ArrayBufferLike) => void;
6
5
  onProgress: (progress: number, message?: string) => void;
7
6
  }>) => {
8
- stream: ReadableStream<string>;
7
+ stream: any;
9
8
  startStreaming: () => Promise<void>;
10
9
  };
11
- private static WriteHeaderAndSaveBodyValidation;
10
+ private static WriteHeaderAndFieldsBeforeLevel;
12
11
  private static ReadWriteLevels;
13
12
  }
14
13
  //# sourceMappingURL=readable-stream-parser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"readable-stream-parser.d.ts","sourceRoot":"","sources":["../../../../src/parser/stream/reworked/readable-stream-parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,cAAc,EAAmC,MAAM,YAAY,CAAC;AAyD9F,qBAAa,oBAAoB;IAEhC,OAAO,CAAC,MAAM,CAAC,kCAAkC,CAgC/C;IAUF,OAAc,kCAAkC,SACzC,MAAM,SACL,eAAe,YACZ,OAAO,CAAC;QACjB,sBAAsB,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;QAC1D,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;KACxD,CAAC,KACA;QAAE,MAAM,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;QAAC,cAAc,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;KAAE,CA2FzE;IAGD,OAAO,CAAC,MAAM,CAAC,gCAAgC,CAQ9C;mBAEoB,eAAe;CA0IpC"}
1
+ {"version":3,"file":"readable-stream-parser.d.ts","sourceRoot":"","sources":["../../../../src/parser/stream/reworked/readable-stream-parser.ts"],"names":[],"mappings":"AAkFA,qBAAa,oBAAoB;IAEhC,OAAO,CAAC,MAAM,CAAC,kCAAkC,CAgC/C;IAUF,OAAc,kCAAkC,SACzC,MAAM,SACL,eAAe,YACZ,OAAO,CAAC;QACjB,sBAAsB,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;QAC1D,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;KACxD,CAAC,KACA;QAAE,MAAM,EAAE,GAAG,CAAC;QAAC,cAAc,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;KAAE,CAsGtD;IAGD,OAAO,CAAC,MAAM,CAAC,+BAA+B,CAY7C;mBAEoB,eAAe;CA+IpC"}