@etothepii/satisfactory-file-parser 3.3.1 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/GUIDE.md +11 -7
- package/README.md +4 -4
- package/build/index.d.ts +112 -102
- package/build/index.d.ts.map +1 -1
- package/build/index.js +42 -40
- package/build/index.js.map +1 -1
- package/build/parser/byte/binary-readable.interface.d.ts +1 -0
- package/build/parser/byte/binary-readable.interface.d.ts.map +1 -1
- package/build/parser/byte/binary-readable.interface.js.map +1 -1
- package/build/parser/byte/byte-reader.class.d.ts +1 -0
- package/build/parser/byte/byte-reader.class.d.ts.map +1 -1
- package/build/parser/byte/byte-reader.class.js +6 -2
- package/build/parser/byte/byte-reader.class.js.map +1 -1
- package/build/parser/byte/byte-writer.class.d.ts +1 -0
- package/build/parser/byte/byte-writer.class.d.ts.map +1 -1
- package/build/parser/byte/byte-writer.class.js +6 -0
- package/build/parser/byte/byte-writer.class.js.map +1 -1
- package/build/parser/context/context-reader.d.ts +1 -1
- package/build/parser/context/context-reader.d.ts.map +1 -1
- package/build/parser/context/context-reader.js.map +1 -1
- package/build/parser/context/context-writer.d.ts +1 -1
- package/build/parser/context/context-writer.d.ts.map +1 -1
- package/build/parser/context/context-writer.js.map +1 -1
- package/build/parser/context/hierarchical-version-context.d.ts +11 -0
- package/build/parser/context/hierarchical-version-context.d.ts.map +1 -0
- package/build/parser/context/hierarchical-version-context.js +24 -0
- package/build/parser/context/hierarchical-version-context.js.map +1 -0
- package/build/parser/context/{context.d.ts → reader-writer-context.d.ts} +5 -3
- package/build/parser/context/reader-writer-context.d.ts.map +1 -0
- package/build/parser/context/{context.js → reader-writer-context.js} +1 -1
- package/build/parser/context/reader-writer-context.js.map +1 -0
- package/build/parser/parser.d.ts.map +1 -1
- package/build/parser/parser.js +29 -15
- package/build/parser/parser.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-config-version.d.ts +4 -2
- package/build/parser/satisfactory/blueprint/blueprint-config-version.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-config-version.js +4 -2
- package/build/parser/satisfactory/blueprint/blueprint-config-version.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-config.d.ts +4 -5
- package/build/parser/satisfactory/blueprint/blueprint-config.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-config.js +16 -14
- package/build/parser/satisfactory/blueprint/blueprint-config.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-header.d.ts +2 -0
- package/build/parser/satisfactory/blueprint/blueprint-header.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-header.js +18 -2
- package/build/parser/satisfactory/blueprint/blueprint-header.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-reader.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-reader.js +6 -2
- package/build/parser/satisfactory/blueprint/blueprint-reader.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-writer.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-writer.js +5 -2
- package/build/parser/satisfactory/blueprint/blueprint-writer.js.map +1 -1
- package/build/parser/satisfactory/save/data-blob.d.ts +17 -0
- package/build/parser/satisfactory/save/data-blob.d.ts.map +1 -0
- package/build/parser/satisfactory/save/data-blob.js +137 -0
- package/build/parser/satisfactory/save/data-blob.js.map +1 -0
- package/build/parser/satisfactory/save/level.d.ts +5 -10
- package/build/parser/satisfactory/save/level.d.ts.map +1 -1
- package/build/parser/satisfactory/save/level.js +52 -180
- package/build/parser/satisfactory/save/level.js.map +1 -1
- package/build/parser/satisfactory/save/satisfactory-save-header.d.ts.map +1 -1
- package/build/parser/satisfactory/save/satisfactory-save-header.js +5 -3
- package/build/parser/satisfactory/save/satisfactory-save-header.js.map +1 -1
- package/build/parser/satisfactory/save/satisfactory-save.d.ts +3 -1
- package/build/parser/satisfactory/save/satisfactory-save.d.ts.map +1 -1
- package/build/parser/satisfactory/save/satisfactory-save.js.map +1 -1
- package/build/parser/satisfactory/save/save-body-chunks.js +2 -2
- package/build/parser/satisfactory/save/save-body-chunks.js.map +1 -1
- package/build/parser/satisfactory/save/save-custom-version.d.ts +8 -2
- package/build/parser/satisfactory/save/save-custom-version.d.ts.map +1 -1
- package/build/parser/satisfactory/save/save-custom-version.js +8 -2
- package/build/parser/satisfactory/save/save-custom-version.js.map +1 -1
- package/build/parser/satisfactory/save/save-reader.d.ts +2 -2
- package/build/parser/satisfactory/save/save-reader.d.ts.map +1 -1
- package/build/parser/satisfactory/save/save-reader.js +16 -13
- package/build/parser/satisfactory/save/save-reader.js.map +1 -1
- package/build/parser/satisfactory/save/save-writer.d.ts.map +1 -1
- package/build/parser/satisfactory/save/save-writer.js +4 -1
- package/build/parser/satisfactory/save/save-writer.js.map +1 -1
- package/build/parser/satisfactory/save/save.types.d.ts +1 -1
- package/build/parser/satisfactory/save/save.types.d.ts.map +1 -1
- package/build/parser/satisfactory/save/save.types.js.map +1 -1
- package/build/parser/satisfactory/save/toc-blob.d.ts +18 -0
- package/build/parser/satisfactory/save/toc-blob.d.ts.map +1 -0
- package/build/parser/satisfactory/save/toc-blob.js +97 -0
- package/build/parser/satisfactory/save/toc-blob.js.map +1 -0
- package/build/parser/satisfactory/types/objects/SaveComponent.js +1 -1
- package/build/parser/satisfactory/types/objects/SaveComponent.js.map +1 -1
- package/build/parser/satisfactory/types/objects/SaveEntity.js +1 -1
- package/build/parser/satisfactory/types/objects/SaveEntity.js.map +1 -1
- package/build/parser/satisfactory/types/objects/SaveObject.d.ts +4 -0
- package/build/parser/satisfactory/types/objects/SaveObject.d.ts.map +1 -1
- package/build/parser/satisfactory/types/objects/SaveObject.js +19 -5
- package/build/parser/satisfactory/types/objects/SaveObject.js.map +1 -1
- package/build/parser/satisfactory/types/property/PropertiesList.d.ts +4 -4
- package/build/parser/satisfactory/types/property/PropertiesList.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/PropertiesList.js +73 -114
- package/build/parser/satisfactory/types/property/PropertiesList.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.d.ts +9 -12
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.js +12 -7
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts +10 -5
- package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/BoolProperty.js +20 -23
- package/build/parser/satisfactory/types/property/generic/BoolProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts +7 -7
- package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ByteProperty.js +52 -35
- package/build/parser/satisfactory/types/property/generic/ByteProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.js +15 -23
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts +10 -5
- package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/EnumProperty.js +17 -23
- package/build/parser/satisfactory/types/property/generic/EnumProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/FloatProperty.js +15 -23
- package/build/parser/satisfactory/types/property/generic/FloatProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int64Property.js +15 -23
- package/build/parser/satisfactory/types/property/generic/Int64Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts +8 -4
- package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int8Property.js +11 -20
- package/build/parser/satisfactory/types/property/generic/Int8Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/IntProperty.d.ts +20 -0
- package/build/parser/satisfactory/types/property/generic/IntProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/IntProperty.js +25 -0
- package/build/parser/satisfactory/types/property/generic/IntProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/InterfaceProperty.d.ts +21 -0
- package/build/parser/satisfactory/types/property/generic/InterfaceProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/InterfaceProperty.js +26 -0
- package/build/parser/satisfactory/types/property/generic/InterfaceProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/NameProperty.d.ts +20 -0
- package/build/parser/satisfactory/types/property/generic/NameProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/NameProperty.js +25 -0
- package/build/parser/satisfactory/types/property/generic/NameProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.js +15 -23
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SingleProperty.d.ts +20 -0
- package/build/parser/satisfactory/types/property/generic/SingleProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SingleProperty.js +25 -0
- package/build/parser/satisfactory/types/property/generic/SingleProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js +15 -23
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StrProperty.js +15 -23
- package/build/parser/satisfactory/types/property/generic/StrProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/TextProperty.js +38 -45
- package/build/parser/satisfactory/types/property/generic/TextProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint32Property.js +15 -23
- package/build/parser/satisfactory/types/property/generic/Uint32Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint64Property.js +14 -22
- package/build/parser/satisfactory/types/property/generic/Uint64Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint8Property.js +14 -22
- package/build/parser/satisfactory/types/property/generic/Uint8Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.d.ts +15 -0
- package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.js +129 -0
- package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.d.ts +55 -0
- package/build/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.js +24 -0
- package/build/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/MapProperty.d.ts +20 -0
- package/build/parser/satisfactory/types/property/generic/containers/MapProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/{MapProperty.js → containers/MapProperty.js} +52 -61
- package/build/parser/satisfactory/types/property/generic/containers/MapProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetProperty.d.ts +14 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetProperty.js +90 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes.d.ts +34 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes.js +17 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/StructProperty.d.ts +59 -0
- package/build/parser/satisfactory/types/property/generic/containers/StructProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/{StructProperty.js → containers/StructProperty.js} +61 -84
- package/build/parser/satisfactory/types/property/generic/containers/StructProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.d.ts +2 -0
- package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.js +14 -5
- package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/PlayerSpecialProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/PlayerSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/PowerLineSpecialProperties.js +2 -2
- package/build/parser/satisfactory/types/property/special/PowerLineSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.d.ts +4 -2
- package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.js +4 -2
- package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.js.map +1 -1
- package/build/parser/satisfactory/types/structs/GUIDInfo.d.ts +4 -4
- package/build/parser/satisfactory/types/structs/GUIDInfo.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/GUIDInfo.js +6 -6
- package/build/parser/satisfactory/types/structs/GUIDInfo.js.map +1 -1
- package/build/parser/satisfactory/types/structs/SaveBodyValidation.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/SaveBodyValidation.js +0 -2
- package/build/parser/satisfactory/types/structs/SaveBodyValidation.js.map +1 -1
- package/build/parser/satisfactory/types/structs/SoftObjectReference.d.ts +1 -1
- package/build/parser/satisfactory/types/structs/SoftObjectReference.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/SoftObjectReference.js +2 -2
- package/build/parser/satisfactory/types/structs/SoftObjectReference.js.map +1 -1
- package/build/parser/satisfactory/types/structs/binary/FCustomVersion.d.ts +12 -0
- package/build/parser/satisfactory/types/structs/binary/FCustomVersion.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FCustomVersion.js +21 -0
- package/build/parser/satisfactory/types/structs/binary/FCustomVersion.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FCustomVersionContainer.d.ts +11 -0
- package/build/parser/satisfactory/types/structs/binary/FCustomVersionContainer.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FCustomVersionContainer.js +22 -0
- package/build/parser/satisfactory/types/structs/binary/FCustomVersionContainer.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FEngineVersion.d.ts +14 -0
- package/build/parser/satisfactory/types/structs/binary/FEngineVersion.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FEngineVersion.js +24 -0
- package/build/parser/satisfactory/types/structs/binary/FEngineVersion.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle.d.ts +12 -0
- package/build/parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle.js +22 -0
- package/build/parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPackageFileVersion.d.ts +11 -0
- package/build/parser/satisfactory/types/structs/binary/FPackageFileVersion.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPackageFileVersion.js +18 -0
- package/build/parser/satisfactory/types/structs/binary/FPackageFileVersion.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPlayerInfoHandle.d.ts +11 -0
- package/build/parser/satisfactory/types/structs/binary/FPlayerInfoHandle.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPlayerInfoHandle.js +38 -0
- package/build/parser/satisfactory/types/structs/binary/FPlayerInfoHandle.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTag.d.ts +30 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTag.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTag.js +182 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTag.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTagNode.d.ts +11 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTagNode.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTagNode.js +26 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTagNode.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FSaveObjectVersionData.d.ts +17 -0
- package/build/parser/satisfactory/types/structs/binary/FSaveObjectVersionData.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FSaveObjectVersionData.js +27 -0
- package/build/parser/satisfactory/types/structs/binary/FSaveObjectVersionData.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FUniqueNetIdRepl.d.ts +11 -0
- package/build/parser/satisfactory/types/structs/binary/FUniqueNetIdRepl.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FUniqueNetIdRepl.js +21 -0
- package/build/parser/satisfactory/types/structs/binary/FUniqueNetIdRepl.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/LBBalancerIndexing.d.ts +12 -0
- package/build/parser/satisfactory/types/structs/binary/LBBalancerIndexing.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/LBBalancerIndexing.js +22 -0
- package/build/parser/satisfactory/types/structs/binary/LBBalancerIndexing.js.map +1 -0
- package/build/parser/stream/reworked/readable-stream-parser.d.ts +2 -3
- package/build/parser/stream/reworked/readable-stream-parser.d.ts.map +1 -1
- package/build/parser/stream/reworked/readable-stream-parser.js +82 -44
- package/build/parser/stream/reworked/readable-stream-parser.js.map +1 -1
- package/build/parser/unreal-engine/ETextHistoryType.d.ts +17 -0
- package/build/parser/unreal-engine/ETextHistoryType.d.ts.map +1 -0
- package/build/parser/unreal-engine/ETextHistoryType.js +21 -0
- package/build/parser/unreal-engine/ETextHistoryType.js.map +1 -0
- package/build/parser/unreal-engine/EUnrealEngineObjectUE5Version.d.ts +24 -0
- package/build/parser/unreal-engine/EUnrealEngineObjectUE5Version.d.ts.map +1 -0
- package/build/parser/unreal-engine/EUnrealEngineObjectUE5Version.js +29 -0
- package/build/parser/unreal-engine/EUnrealEngineObjectUE5Version.js.map +1 -0
- package/docs/assets/hierarchy.js +1 -0
- package/docs/assets/icons.js +1 -1
- package/docs/assets/icons.svg +1 -1
- package/docs/assets/main.js +5 -5
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +1428 -1288
- package/docs/classes/BlueprintConfigReader.html +37 -36
- package/docs/classes/BlueprintConfigWriter.html +42 -0
- package/docs/classes/BlueprintReader.html +39 -38
- package/docs/classes/BlueprintWriter.html +45 -0
- package/docs/classes/ByteReader.html +37 -0
- package/docs/classes/ByteWriter.html +41 -0
- package/docs/classes/CompressionLibraryError.html +11 -11
- package/docs/classes/ContextReader.html +36 -35
- package/docs/classes/ContextWriter.html +41 -40
- package/docs/classes/CorruptBlueprintError.html +11 -11
- package/docs/classes/CorruptSaveError.html +11 -11
- package/docs/classes/Parser.html +23 -23
- package/docs/classes/ParserError.html +11 -11
- package/docs/classes/ReadableStreamParser.html +7 -7
- package/docs/classes/SatisfactorySave.html +9 -8
- package/docs/classes/SaveComponent.html +20 -18
- package/docs/classes/SaveEntity.html +25 -23
- package/docs/classes/SaveObject.html +17 -15
- package/docs/classes/SaveReader.html +46 -45
- package/docs/classes/SaveWriter.html +44 -43
- package/docs/classes/TimeoutError.html +11 -11
- package/docs/classes/UnimplementedError.html +11 -11
- package/docs/classes/UnsupportedVersionError.html +11 -11
- package/docs/enums/Alignment.html +3 -3
- package/docs/enums/BlueprintConfigVersion.html +11 -9
- package/docs/enums/BlueprintHeaderVersion.html +7 -7
- package/docs/enums/CompressionAlgorithmCode.html +2 -2
- package/docs/enums/ETextHistoryType.html +15 -0
- package/docs/enums/EUnrealEngineObjectUE5Version.html +23 -0
- package/docs/enums/FactoryGameCustomVersion.html +33 -33
- package/docs/enums/RuntimeBuildableInstanceDataVersion.html +9 -7
- package/docs/enums/SaveCustomVersion.html +71 -65
- package/docs/enums/SaveHeaderType.html +19 -19
- package/docs/functions/AbstractBaseProperty.CreateFromTag.html +2 -0
- package/docs/functions/ArrayProperty.Parse.html +1 -1
- package/docs/functions/ArrayProperty.Serialize.html +1 -1
- package/docs/functions/BlueprintConfig.Parse.html +1 -1
- package/docs/functions/BlueprintConfig.Serialize.html +1 -1
- package/docs/functions/BlueprintHeader.Parse.html +1 -1
- package/docs/functions/BlueprintHeader.Serialize.html +1 -1
- package/docs/functions/BoolProperty.Parse.html +1 -1
- package/docs/functions/BoolProperty.ReadValue.html +1 -1
- package/docs/functions/BoolProperty.Serialize.html +1 -1
- package/docs/functions/BoolProperty.SerializeValue.html +1 -1
- package/docs/functions/BuildableSubsystemSpecialProperties.Parse.html +1 -1
- package/docs/functions/BuildableSubsystemSpecialProperties.Serialize.html +1 -1
- package/docs/functions/BuildableTypeInstance.Parse.html +1 -1
- package/docs/functions/BuildableTypeInstance.Serialize.html +1 -1
- package/docs/functions/ByteProperty.Parse.html +1 -1
- package/docs/functions/ByteProperty.ReadValue.html +1 -1
- package/docs/functions/ByteProperty.Serialize.html +1 -1
- package/docs/functions/ByteProperty.SerializeValue.html +1 -1
- package/docs/functions/CircuitSpecialProperties.Parse.html +1 -1
- package/docs/functions/CircuitSpecialProperties.Serialize.html +1 -1
- package/docs/functions/ConveyorChainActorSpecialProperties.Parse.html +1 -1
- package/docs/functions/ConveyorChainActorSpecialProperties.Serialize.html +1 -1
- package/docs/functions/ConveyorSpecialProperties.Parse.html +1 -1
- package/docs/functions/ConveyorSpecialProperties.Serialize.html +1 -1
- package/docs/functions/DataBlob.Read.html +1 -0
- package/docs/functions/DataBlob.ReadNObjectContents.html +1 -0
- package/docs/functions/DataBlob.SkipOver.html +1 -0
- package/docs/functions/DataBlob.Write.html +1 -0
- package/docs/functions/DoubleProperty.Parse.html +1 -1
- package/docs/functions/DoubleProperty.ReadValue.html +1 -1
- package/docs/functions/DoubleProperty.Serialize.html +1 -1
- package/docs/functions/DoubleProperty.SerializeValue.html +1 -1
- package/docs/functions/DynamicStructPropertyValue.read.html +1 -1
- package/docs/functions/DynamicStructPropertyValue.write.html +1 -1
- package/docs/functions/EmptySpecialProperties.Parse.html +1 -1
- package/docs/functions/EmptySpecialProperties.Serialize.html +1 -1
- package/docs/functions/EnumProperty.Parse.html +1 -1
- package/docs/functions/EnumProperty.ReadValue.html +1 -1
- package/docs/functions/EnumProperty.Serialize.html +1 -1
- package/docs/functions/EnumProperty.SerializeValue.html +1 -1
- package/docs/functions/FClientIdentityInfo.read.html +1 -1
- package/docs/functions/FClientIdentityInfo.write.html +1 -1
- package/docs/functions/FColor.read.html +1 -1
- package/docs/functions/FColor.write.html +1 -1
- package/docs/functions/FCustomVersion.read.html +1 -0
- package/docs/functions/FCustomVersion.write.html +1 -0
- package/docs/functions/FCustomVersionContainer.read.html +1 -0
- package/docs/functions/FCustomVersionContainer.write.html +1 -0
- package/docs/functions/FEngineVersion.read.html +1 -0
- package/docs/functions/FEngineVersion.write.html +1 -0
- package/docs/functions/FGDynamicStruct.Parse.html +1 -1
- package/docs/functions/FGDynamicStruct.Serialize.html +1 -1
- package/docs/functions/FICFrameRange.read.html +1 -1
- package/docs/functions/FICFrameRange.write.html +1 -1
- package/docs/functions/FINGPUT1BufferPixel.read.html +1 -1
- package/docs/functions/FINGPUT1BufferPixel.write.html +1 -1
- package/docs/functions/FINItemStateFileSystem.IsFINItemStateFileSystem.html +1 -1
- package/docs/functions/FINItemStateFileSystem.read.html +1 -1
- package/docs/functions/FINItemStateFileSystem.write.html +1 -1
- package/docs/functions/FINLuaRuntimePersistenceState.read.html +1 -0
- package/docs/functions/FINLuaRuntimePersistenceState.write.html +1 -0
- package/docs/functions/FINNetworkTrace.read.html +1 -1
- package/docs/functions/FINNetworkTrace.write.html +1 -1
- package/docs/functions/FLBBalancerIndexing.read.html +1 -1
- package/docs/functions/FLBBalancerIndexing.write.html +1 -1
- package/docs/functions/FLinearColor.read.html +1 -1
- package/docs/functions/FLinearColor.write.html +1 -1
- package/docs/functions/FLocalUserNetIdBundle.read.html +1 -0
- package/docs/functions/FLocalUserNetIdBundle.write.html +1 -0
- package/docs/functions/FPackageFileVersion.read.html +1 -0
- package/docs/functions/FPackageFileVersion.write.html +1 -0
- package/docs/functions/FPlayerInfoHandle.read.html +1 -0
- package/docs/functions/FPlayerInfoHandle.write.html +1 -0
- package/docs/functions/FPropertyTag.IsCompletePropertyTagType.html +1 -0
- package/docs/functions/FPropertyTag.read.html +2 -0
- package/docs/functions/FPropertyTag.write.html +1 -0
- package/docs/functions/FPropertyTag.writeFromProperty.html +2 -0
- package/docs/functions/FPropertyTagNode.read.html +1 -0
- package/docs/functions/FPropertyTagNode.write.html +1 -0
- package/docs/functions/FSaveObjectVersionData.read.html +1 -0
- package/docs/functions/FSaveObjectVersionData.write.html +1 -0
- package/docs/functions/FUniqueNetIdRepl.read.html +1 -0
- package/docs/functions/FUniqueNetIdRepl.write.html +1 -0
- package/docs/functions/FloatProperty.Parse.html +1 -1
- package/docs/functions/FloatProperty.ReadValue.html +1 -1
- package/docs/functions/FloatProperty.Serialize.html +1 -1
- package/docs/functions/FloatProperty.SerializeValue.html +1 -1
- package/docs/functions/GUID.read.html +1 -1
- package/docs/functions/GUID.write.html +1 -1
- package/docs/functions/HierarchyVersion.CreateOnHeader.html +1 -0
- package/docs/functions/HierarchyVersion.SetOnLevel.html +1 -0
- package/docs/functions/HierarchyVersion.SetOnObject.html +1 -0
- package/docs/functions/Int64Property.Parse.html +1 -1
- package/docs/functions/Int64Property.ReadValue.html +1 -1
- package/docs/functions/Int64Property.Serialize.html +1 -1
- package/docs/functions/Int64Property.SerializeValue.html +1 -1
- package/docs/functions/Int8Property.Parse.html +1 -1
- package/docs/functions/Int8Property.ReadValue.html +1 -1
- package/docs/functions/Int8Property.Serialize.html +1 -1
- package/docs/functions/Int8Property.SerializeValue.html +1 -1
- package/docs/functions/IntProperty.Parse.html +1 -0
- package/docs/functions/IntProperty.ReadValue.html +1 -0
- package/docs/functions/IntProperty.Serialize.html +1 -0
- package/docs/functions/IntProperty.SerializeValue.html +1 -0
- package/docs/functions/InterfaceProperty.Parse.html +1 -0
- package/docs/functions/InterfaceProperty.ReadValue.html +1 -0
- package/docs/functions/InterfaceProperty.Serialize.html +1 -0
- package/docs/functions/InterfaceProperty.SerializeValue.html +1 -0
- package/docs/functions/LBBalancerIndexing.read.html +1 -0
- package/docs/functions/LBBalancerIndexing.write.html +1 -0
- package/docs/functions/Level.Read.html +1 -0
- package/docs/functions/Level.Serialize.html +1 -0
- package/docs/functions/LevelToDestroyedActorsMap.read.html +1 -1
- package/docs/functions/LevelToDestroyedActorsMap.write.html +1 -1
- package/docs/functions/MD5Hash.read.html +1 -1
- package/docs/functions/MD5Hash.write.html +1 -1
- package/docs/functions/MapProperty.Parse.html +1 -1
- package/docs/functions/MapProperty.Serialize.html +1 -1
- package/docs/functions/NameProperty.Parse.html +1 -0
- package/docs/functions/NameProperty.ReadValue.html +1 -0
- package/docs/functions/NameProperty.Serialize.html +1 -0
- package/docs/functions/NameProperty.SerializeValue.html +1 -0
- package/docs/functions/ObjectProperty.Parse.html +1 -1
- package/docs/functions/ObjectProperty.ReadValue.html +1 -1
- package/docs/functions/ObjectProperty.Serialize.html +1 -1
- package/docs/functions/ObjectProperty.SerializeValue.html +1 -1
- package/docs/functions/ObjectReference.IsEqual.html +1 -1
- package/docs/functions/ObjectReference.read.html +1 -1
- package/docs/functions/ObjectReference.write.html +1 -1
- package/docs/functions/ObjectReferencesList.ReadList.html +1 -0
- package/docs/functions/ObjectReferencesList.SerializeList.html +1 -0
- package/docs/functions/ObjectsListSpecialProperties.Parse.html +1 -1
- package/docs/functions/ObjectsListSpecialProperties.Serialize.html +1 -1
- package/docs/functions/OptionalGUID.read.html +1 -0
- package/docs/functions/OptionalGUID.write.html +1 -0
- package/docs/functions/PlayerSpecialProperties.Parse.html +1 -1
- package/docs/functions/PlayerSpecialProperties.Serialize.html +1 -1
- package/docs/functions/PowerLineSpecialProperties.Parse.html +1 -1
- package/docs/functions/PowerLineSpecialProperties.Serialize.html +1 -1
- package/docs/functions/PropertiesList.ParseList.html +1 -1
- package/docs/functions/PropertiesList.ParseSingleProperty.html +1 -1
- package/docs/functions/PropertiesList.SerializeList.html +1 -1
- package/docs/functions/PropertiesList.SerializeSingleProperty.html +1 -1
- package/docs/functions/SatisfactorySaveHeader.Parse.html +1 -1
- package/docs/functions/SatisfactorySaveHeader.Serialize.html +1 -1
- package/docs/functions/SaveBodyChunks.CompressDataIntoChunks.html +1 -1
- package/docs/functions/SaveBodyChunks.DecompressChunks.html +1 -1
- package/docs/functions/SaveBodyValidation.Parse.html +1 -1
- package/docs/functions/SaveBodyValidation.Serialize.html +1 -1
- package/docs/functions/SetProperty.Parse.html +1 -1
- package/docs/functions/SetProperty.Serialize.html +1 -1
- package/docs/functions/SingleProperty.Parse.html +1 -0
- package/docs/functions/SingleProperty.ReadValue.html +1 -0
- package/docs/functions/SingleProperty.Serialize.html +1 -0
- package/docs/functions/SingleProperty.SerializeValue.html +1 -0
- package/docs/functions/SoftObjectProperty.Parse.html +1 -1
- package/docs/functions/SoftObjectProperty.ReadValue.html +1 -1
- package/docs/functions/SoftObjectProperty.Serialize.html +1 -1
- package/docs/functions/SoftObjectProperty.SerializeValue.html +1 -1
- package/docs/functions/SoftObjectReference.read.html +1 -1
- package/docs/functions/SoftObjectReference.write.html +1 -1
- package/docs/functions/SpecialDroneActionProperties.Parse.html +1 -1
- package/docs/functions/SpecialDroneActionProperties.Serialize.html +1 -1
- package/docs/functions/SpecialProperties.ParseClassSpecificSpecialProperties.html +1 -1
- package/docs/functions/SpecialProperties.SerializeClassSpecificSpecialProperties.html +1 -1
- package/docs/functions/StrProperty.Parse.html +1 -1
- package/docs/functions/StrProperty.ReadValue.html +1 -1
- package/docs/functions/StrProperty.Serialize.html +1 -1
- package/docs/functions/StrProperty.SerializeValue.html +1 -1
- package/docs/functions/StructProperty.Parse.html +1 -1
- package/docs/functions/StructProperty.ParseValue.html +1 -1
- package/docs/functions/StructProperty.Serialize.html +1 -1
- package/docs/functions/StructProperty.SerializeValue.html +1 -1
- package/docs/functions/TOCBlob.Read.html +1 -0
- package/docs/functions/TOCBlob.ReadNObjectHeaders.html +1 -0
- package/docs/functions/TOCBlob.SerializeAllObjectHeaders.html +1 -0
- package/docs/functions/TOCBlob.SkipOver.html +1 -0
- package/docs/functions/TOCBlob.Write.html +1 -0
- package/docs/functions/TextProperty.Parse.html +1 -1
- package/docs/functions/TextProperty.ReadValue.html +1 -1
- package/docs/functions/TextProperty.Serialize.html +1 -1
- package/docs/functions/TextProperty.SerializeValue.html +1 -1
- package/docs/functions/Transform.Parse.html +1 -1
- package/docs/functions/Transform.ParseF.html +1 -1
- package/docs/functions/Transform.Serialize.html +1 -1
- package/docs/functions/Transform.SerializeF.html +1 -1
- package/docs/functions/Uint32Property.Parse.html +1 -1
- package/docs/functions/Uint32Property.ReadValue.html +1 -1
- package/docs/functions/Uint32Property.Serialize.html +1 -1
- package/docs/functions/Uint32Property.SerializeValue.html +1 -1
- package/docs/functions/Uint64Property.Parse.html +1 -1
- package/docs/functions/Uint64Property.ReadValue.html +1 -1
- package/docs/functions/Uint64Property.Serialize.html +1 -1
- package/docs/functions/Uint64Property.SerializeValue.html +1 -1
- package/docs/functions/Uint8Property.Parse.html +1 -1
- package/docs/functions/Uint8Property.ReadValue.html +1 -1
- package/docs/functions/Uint8Property.Serialize.html +1 -1
- package/docs/functions/Uint8Property.SerializeValue.html +1 -1
- package/docs/functions/VehiclePhysicsData.Parse.html +1 -1
- package/docs/functions/VehiclePhysicsData.Serialize.html +1 -1
- package/docs/functions/VehicleSpecialProperties.Parse.html +1 -1
- package/docs/functions/VehicleSpecialProperties.Serialize.html +1 -1
- package/docs/functions/col4.ParseBGRA.html +1 -1
- package/docs/functions/col4.ParseRGBA.html +1 -1
- package/docs/functions/col4.SerializeBGRA.html +1 -1
- package/docs/functions/col4.SerializeRGBA.html +1 -1
- package/docs/functions/isArrayProperty.html +1 -1
- package/docs/functions/isBoolProperty.html +1 -1
- package/docs/functions/isBuildableSubsystemSpecialProperties.html +1 -1
- package/docs/functions/isByteProperty.html +1 -1
- package/docs/functions/isCircuitSpecialProperties.html +1 -1
- package/docs/functions/isConveyorChainActorSpecialProperties.html +1 -1
- package/docs/functions/isConveyorSpecialProperties.html +1 -1
- package/docs/functions/isDoubleProperty.html +1 -1
- package/docs/functions/isEmptySpecialProperties.html +1 -1
- package/docs/functions/isEnumProperty.html +1 -1
- package/docs/functions/isFloatProperty.html +1 -1
- package/docs/functions/isInt64Property.html +1 -1
- package/docs/functions/isInt8Property.html +1 -1
- package/docs/functions/isIntProperty.html +1 -0
- package/docs/functions/isInterfaceProperty.html +1 -0
- package/docs/functions/isMapProperty.html +1 -1
- package/docs/functions/isNameProperty.html +1 -0
- package/docs/functions/isObjectProperty.html +1 -1
- package/docs/functions/isObjectsListSpecialProperties.html +1 -1
- package/docs/functions/isPlayerSpecialProperties.html +1 -1
- package/docs/functions/isPowerLineSpecialProperties.html +1 -1
- package/docs/functions/isSaveComponent.html +1 -1
- package/docs/functions/isSaveEntity.html +1 -1
- package/docs/functions/isSetProperty.html +1 -1
- package/docs/functions/isSingleProperty.html +1 -0
- package/docs/functions/isSoftObjectProperty.html +1 -1
- package/docs/functions/isSpecialDroneActionProperties.html +1 -1
- package/docs/functions/isStrProperty.html +1 -1
- package/docs/functions/isStructProperty.html +1 -1
- package/docs/functions/isTextProperty.html +1 -1
- package/docs/functions/isUInt64Property.html +1 -1
- package/docs/functions/isUint32Property.html +1 -1
- package/docs/functions/isUint8Property.html +1 -1
- package/docs/functions/isVehicleSpecialProperties.html +1 -1
- package/docs/functions/vec2.Parse.html +1 -1
- package/docs/functions/vec2.ParseF.html +1 -1
- package/docs/functions/vec2.Serialize.html +1 -1
- package/docs/functions/vec2.SerializeF.html +1 -1
- package/docs/functions/vec3.Parse.html +1 -1
- package/docs/functions/vec3.ParseF.html +1 -1
- package/docs/functions/vec3.ParseInt.html +1 -1
- package/docs/functions/vec3.Serialize.html +1 -1
- package/docs/functions/vec3.SerializeF.html +1 -1
- package/docs/functions/vec3.SerializeInt.html +1 -1
- package/docs/functions/vec3.add.html +1 -1
- package/docs/functions/vec3.length.html +1 -1
- package/docs/functions/vec3.mult.html +1 -1
- package/docs/functions/vec3.norm.html +1 -1
- package/docs/functions/vec3.sub.html +1 -1
- package/docs/functions/vec4.Parse.html +1 -1
- package/docs/functions/vec4.ParseF.html +1 -1
- package/docs/functions/vec4.Serialize.html +1 -1
- package/docs/functions/vec4.SerializeF.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +47 -21
- package/docs/interfaces/BinaryOperable.html +5 -0
- package/docs/interfaces/BinaryReadable.html +22 -0
- package/docs/interfaces/BinaryWritable.html +22 -0
- package/docs/interfaces/Blueprint.html +6 -6
- package/docs/interfaces/BlueprintConfig.html +13 -0
- package/docs/interfaces/SaveComponentHeader.html +6 -6
- package/docs/interfaces/SaveEntityHeader.html +8 -8
- package/docs/interfaces/SaveObjectHeader.html +5 -5
- package/docs/modules/AbstractBaseProperty.html +1 -2
- package/docs/modules/ArrayProperty.html +1 -5
- package/docs/modules/BlueprintConfig.html +1 -3
- package/docs/modules/BlueprintHeader.html +1 -3
- package/docs/modules/BoolProperty.html +1 -6
- package/docs/modules/BuildableSubsystemSpecialProperties.html +1 -3
- package/docs/modules/BuildableTypeInstance.html +1 -3
- package/docs/modules/ByteProperty.html +1 -6
- package/docs/modules/CircuitSpecialProperties.html +1 -3
- package/docs/modules/ConveyorChainActorSpecialProperties.html +1 -3
- package/docs/modules/ConveyorSpecialProperties.html +1 -3
- package/docs/modules/DataBlob.html +2 -0
- package/docs/modules/DoubleProperty.html +1 -6
- package/docs/modules/DynamicStructPropertyValue.html +1 -3
- package/docs/modules/EmptySpecialProperties.html +1 -3
- package/docs/modules/EnumProperty.html +1 -6
- package/docs/modules/FClientIdentityInfo.html +1 -3
- package/docs/modules/FColor.html +1 -3
- package/docs/modules/FCustomVersion.html +1 -0
- package/docs/modules/FCustomVersionContainer.html +1 -0
- package/docs/modules/FEngineVersion.html +1 -0
- package/docs/modules/FGDynamicStruct.html +1 -3
- package/docs/modules/FICFrameRange.html +2 -4
- package/docs/modules/FINGPUT1BufferPixel.html +2 -4
- package/docs/modules/FINItemStateFileSystem.html +1 -5
- package/docs/modules/FINLuaRuntimePersistenceState.html +2 -0
- package/docs/modules/FINNetworkTrace.html +2 -4
- package/docs/modules/FLBBalancerIndexing.html +1 -3
- package/docs/modules/FLinearColor.html +1 -3
- package/docs/modules/FLocalUserNetIdBundle.html +1 -0
- package/docs/modules/FPackageFileVersion.html +1 -0
- package/docs/modules/FPlayerInfoHandle.html +1 -0
- package/docs/modules/FPropertyTag.html +1 -0
- package/docs/modules/FPropertyTagNode.html +1 -0
- package/docs/modules/FSaveObjectVersionData.html +1 -0
- package/docs/modules/FUniqueNetIdRepl.html +1 -0
- package/docs/modules/FloatProperty.html +1 -6
- package/docs/modules/GUID.html +1 -3
- package/docs/modules/HierarchyVersion.html +1 -0
- package/docs/modules/Int64Property.html +1 -6
- package/docs/modules/Int8Property.html +1 -6
- package/docs/modules/IntProperty.html +1 -0
- package/docs/modules/InterfaceProperty.html +1 -0
- package/docs/modules/LBBalancerIndexing.html +1 -0
- package/docs/modules/Level.html +1 -9
- package/docs/modules/LevelToDestroyedActorsMap.html +1 -3
- package/docs/modules/MD5Hash.html +1 -3
- package/docs/modules/MapProperty.html +1 -4
- package/docs/modules/NameProperty.html +1 -0
- package/docs/modules/ObjectProperty.html +1 -6
- package/docs/modules/ObjectReference.html +1 -4
- package/docs/modules/ObjectReferencesList.html +1 -0
- package/docs/modules/ObjectsListSpecialProperties.html +1 -3
- package/docs/modules/OptionalGUID.html +1 -0
- package/docs/modules/PlayerSpecialProperties.html +1 -3
- package/docs/modules/PowerLineSpecialProperties.html +1 -3
- package/docs/modules/PropertiesList.html +1 -5
- package/docs/modules/SatisfactorySaveHeader.html +1 -3
- package/docs/modules/SaveBodyChunks.html +1 -5
- package/docs/modules/SaveBodyValidation.html +2 -4
- package/docs/modules/SetProperty.html +1 -5
- package/docs/modules/SingleProperty.html +1 -0
- package/docs/modules/SoftObjectProperty.html +1 -6
- package/docs/modules/SoftObjectReference.html +1 -3
- package/docs/modules/SpecialDroneActionProperties.html +1 -3
- package/docs/modules/SpecialProperties.html +1 -4
- package/docs/modules/StrProperty.html +1 -6
- package/docs/modules/StructProperty.html +1 -6
- package/docs/modules/TOCBlob.html +2 -0
- package/docs/modules/TextProperty.html +1 -6
- package/docs/modules/Transform.html +2 -6
- package/docs/modules/Uint32Property.html +1 -6
- package/docs/modules/Uint64Property.html +1 -6
- package/docs/modules/Uint8Property.html +1 -6
- package/docs/modules/VehiclePhysicsData.html +1 -3
- package/docs/modules/VehicleSpecialProperties.html +1 -3
- package/docs/modules/col4.html +1 -5
- package/docs/modules/vec2.html +1 -5
- package/docs/modules/vec3.html +1 -12
- package/docs/modules/vec4.html +1 -5
- package/docs/modules.html +1 -263
- package/docs/types/AbstractBaseProperty.html +14 -0
- package/docs/types/ArrayProperty.html +1 -0
- package/docs/types/BasicMultipleStructPropertyValue.html +2 -1
- package/docs/types/BasicStructPropertyValue.html +2 -1
- package/docs/types/BlueprintHeader.html +8 -0
- package/docs/types/BlueprintReaderWriterContext.html +7 -2
- package/docs/types/BoolArrayProperty.html +1 -0
- package/docs/types/BoolProperty.html +1 -0
- package/docs/types/BoxStructPropertyValue.html +4 -1
- package/docs/types/BuildableSubsystemSpecialProperties.html +4 -0
- package/docs/types/BuildableTypeInstance.html +14 -0
- package/docs/types/ByteArrayProperty.html +1 -0
- package/docs/types/ByteProperty.html +1 -0
- package/docs/types/BytePropertyValue.html +3 -1
- package/docs/types/ChunkCompressionInfo.html +5 -1
- package/docs/types/ChunkSummary.html +3 -1
- package/docs/types/CircuitSpecialProperties.html +3 -0
- package/docs/types/ConveyorChainActorSpecialProperties.html +10 -0
- package/docs/types/ConveyorChainSegmentSpecialProperties.html +10 -1
- package/docs/types/ConveyorItemSpecialProperties.html +3 -1
- package/docs/types/ConveyorSpecialProperties.html +2 -0
- package/docs/types/DoubleArrayProperty.html +1 -0
- package/docs/types/DoubleProperty.html +1 -0
- package/docs/types/DynamicStructPropertyValue.html +3 -0
- package/docs/types/EmptySpecialProperties.html +2 -0
- package/docs/types/EnumArrayProperty.html +1 -0
- package/docs/types/EnumProperty.html +1 -0
- package/docs/types/FClientIdentityInfo.html +4 -0
- package/docs/types/FColor.html +2 -0
- package/docs/types/FCustomVersion.html +3 -0
- package/docs/types/FCustomVersionContainer.html +2 -0
- package/docs/types/FEngineVersion.html +6 -0
- package/docs/types/FGDynamicStruct.html +10 -0
- package/docs/types/FICFrameRange.html +3 -0
- package/docs/types/FICFrameRangeStructPropertyValue.html +3 -1
- package/docs/types/FINGPUT1BufferPixel.html +4 -0
- package/docs/types/FINItemStateFileSystem.html +2 -0
- package/docs/types/FINLuaRuntimePersistenceState.html +7 -0
- package/docs/types/FINNetworkTrace.html +4 -0
- package/docs/types/FIRInstancedStruct.html +1 -0
- package/docs/types/FLBBalancerIndexing.html +5 -0
- package/docs/types/FLinearColor.html +2 -0
- package/docs/types/FLocalUserNetIdBundle.html +4 -0
- package/docs/types/FPackageFileVersion.html +3 -0
- package/docs/types/FPlayerInfoHandle.html +3 -0
- package/docs/types/FPropertyTag.html +16 -0
- package/docs/types/FPropertyTagNode.html +3 -0
- package/docs/types/FSaveObjectVersionData.html +6 -0
- package/docs/types/FUniqueNetIdRepl.html +3 -0
- package/docs/types/FloatArrayProperty.html +1 -0
- package/docs/types/FloatProperty.html +1 -0
- package/docs/types/GENERIC_MAP_KEY_TYPE.html +1 -1
- package/docs/types/GENERIC_MAP_VALUE_TYPE.html +1 -1
- package/docs/types/GENERIC_STRUCT_PROPERTY_VALUE.html +1 -1
- package/docs/types/GUID.html +2 -0
- package/docs/types/Grids.html +1 -1
- package/docs/types/HierarchyVersion.html +5 -0
- package/docs/types/Int64ArrayProperty.html +1 -0
- package/docs/types/Int64Property.html +1 -0
- package/docs/types/Int8Property.html +1 -0
- package/docs/types/IntArrayProperty.html +1 -0
- package/docs/types/IntProperty.html +1 -0
- package/docs/types/IntSetProperty.html +1 -0
- package/docs/types/InterfaceArrayProperty.html +1 -0
- package/docs/types/InterfaceProperty.html +1 -0
- package/docs/types/InventoryItemStructPropertyValue.html +4 -1
- package/docs/types/LBBalancerIndexing.html +4 -0
- package/docs/types/Level.html +9 -0
- package/docs/types/LevelToDestroyedActorsMap.html +1 -0
- package/docs/types/Levels.html +1 -1
- package/docs/types/MD5Hash.html +4 -0
- package/docs/types/MapProperty.html +1 -0
- package/docs/types/ModData.html +4 -1
- package/docs/types/NameProperty.html +1 -0
- package/docs/types/NameSetProperty.html +1 -0
- package/docs/types/ObjectArrayProperty.html +1 -0
- package/docs/types/ObjectProperty.html +1 -0
- package/docs/types/ObjectReference.html +4 -0
- package/docs/types/ObjectSetProperty.html +1 -0
- package/docs/types/ObjectsListSpecialProperties.html +3 -0
- package/docs/types/OptionalGUID.html +2 -0
- package/docs/types/PlayerSpecialProperties.html +5 -0
- package/docs/types/PowerLineSpecialProperties.html +6 -0
- package/docs/types/PropertiesMap.html +1 -1
- package/docs/types/RailroadTrackPositionStructPropertyValue.html +5 -1
- package/docs/types/ReaderWriterContext.html +2 -2
- package/docs/types/RoughSaveVersion.html +1 -1
- package/docs/types/SatisfactoryModMetadata.html +4 -1
- package/docs/types/SatisfactorySaveHeader.html +19 -0
- package/docs/types/SaveBodyChunks.html +3 -0
- package/docs/types/SaveBodyValidation.html +2 -0
- package/docs/types/SaveReaderWriterContext.html +11 -3
- package/docs/types/SetProperty.html +1 -0
- package/docs/types/SingleProperty.html +1 -0
- package/docs/types/SoftObjectArrayProperty.html +1 -0
- package/docs/types/SoftObjectProperty.html +1 -0
- package/docs/types/SoftObjectReference.html +4 -0
- package/docs/types/SpecialDroneAction.html +3 -1
- package/docs/types/SpecialDroneActionProperties.html +4 -0
- package/docs/types/SpecialProperties.AvailableSpecialPropertiesTypes.html +1 -1
- package/docs/types/StrArrayProperty.html +1 -0
- package/docs/types/StrProperty.html +1 -0
- package/docs/types/StrSetProperty.html +1 -0
- package/docs/types/StructArrayProperty.html +1 -0
- package/docs/types/StructProperty.html +1 -0
- package/docs/types/StructSetProperty.html +1 -0
- package/docs/types/TextArrayProperty.html +1 -0
- package/docs/types/TextProperty.html +1 -0
- package/docs/types/TextPropertyValue.html +13 -1
- package/docs/types/Transform.html +5 -0
- package/docs/types/Uint32Property.html +1 -0
- package/docs/types/Uint32SetProperty.html +1 -0
- package/docs/types/Uint64Property.html +1 -0
- package/docs/types/Uint8Property.html +1 -0
- package/docs/types/VehiclePhysicsData.html +7 -0
- package/docs/types/VehicleSpecialProperties.html +5 -0
- package/docs/types/col4.html +6 -0
- package/docs/types/vec2.html +4 -0
- package/docs/types/vec3.html +2 -0
- package/docs/types/vec4.html +2 -0
- package/docs/variables/DEFAULT_SATISFACTORY_CHUNK_HEADER_SIZE.html +1 -1
- package/docs/variables/EDIT.html +2 -2
- package/docs/variables/FINItemStateFileSystem.ExactStructReference.html +1 -1
- package/docs/variables/SaveBodyChunks.HEADER_V1.html +1 -1
- package/docs/variables/SaveBodyChunks.HEADER_V2.html +1 -1
- package/docs/variables/isBoolArrayProperty.html +1 -0
- package/docs/variables/isByteArrayProperty.html +1 -0
- package/docs/variables/isDoubleArrayProperty.html +1 -0
- package/docs/variables/isEnumArrayProperty.html +1 -0
- package/docs/variables/isFloatArrayProperty.html +1 -0
- package/docs/variables/isInt64ArrayProperty.html +1 -0
- package/docs/variables/isIntArrayProperty.html +1 -0
- package/docs/variables/isIntSetProperty.html +1 -0
- package/docs/variables/isInterfaceArrayProperty.html +1 -0
- package/docs/variables/isNameSetProperty.html +1 -0
- package/docs/variables/isObjectArrayProperty.html +1 -0
- package/docs/variables/isObjectSetProperty.html +1 -0
- package/docs/variables/isSoftObjectArrayProperty.html +1 -0
- package/docs/variables/isStrArrayProperty.html +1 -0
- package/docs/variables/isStrSetProperty.html +1 -0
- package/docs/variables/isStructArrayPRoperty.html +1 -0
- package/docs/variables/isStructSetProperty.html +1 -0
- package/docs/variables/isTextArrayProperty.html +1 -0
- package/docs/variables/isUint32SetProperty.html +1 -0
- package/package.json +3 -3
- package/build/parser/context/context.d.ts.map +0 -1
- package/build/parser/context/context.js.map +0 -1
- package/build/parser/file.types.d.ts +0 -14
- package/build/parser/file.types.d.ts.map +0 -1
- package/build/parser/file.types.js +0 -8
- package/build/parser/file.types.js.map +0 -1
- package/build/parser/satisfactory/save/level.class.d.ts +0 -29
- package/build/parser/satisfactory/save/level.class.d.ts.map +0 -1
- package/build/parser/satisfactory/save/level.class.js +0 -204
- package/build/parser/satisfactory/save/level.class.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.d.ts +0 -22
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.js +0 -127
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.d.ts +0 -15
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.d.ts +0 -15
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.d.ts +0 -26
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.js +0 -75
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.d.ts +0 -15
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts +0 -16
- package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/Int32Property.js +0 -33
- package/build/parser/satisfactory/types/property/generic/Int32Property.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts +0 -25
- package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/MapProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.d.ts +0 -15
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.d.ts +0 -15
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.js +0 -75
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js +0 -42
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts +0 -60
- package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/StructProperty.js.map +0 -1
- package/build/parser/satisfactory/types/structs/GUID.d.ts +0 -8
- package/build/parser/satisfactory/types/structs/GUID.d.ts.map +0 -1
- package/build/parser/satisfactory/types/structs/GUID.js +0 -22
- package/build/parser/satisfactory/types/structs/GUID.js.map +0 -1
- package/build/parser/stream/reworked/save-stream-json-stringifier.d.ts +0 -6
- package/build/parser/stream/reworked/save-stream-json-stringifier.d.ts.map +0 -1
- package/build/parser/stream/reworked/save-stream-json-stringifier.js +0 -35
- package/build/parser/stream/reworked/save-stream-json-stringifier.js.map +0 -1
- package/build/parser/stream/reworked/save-stream-writer.class.d.ts +0 -28
- package/build/parser/stream/reworked/save-stream-writer.class.d.ts.map +0 -1
- package/build/parser/stream/reworked/save-stream-writer.class.js +0 -84
- package/build/parser/stream/reworked/save-stream-writer.class.js.map +0 -1
- package/docs/classes/SaveStreamJsonStringifier.html +0 -5
- package/docs/classes/SaveStreamWriter.html +0 -16
- package/docs/functions/AbstractBaseProperty.Create.html +0 -1
- package/docs/functions/ArrayProperty.CalcOverhead.html +0 -1
- package/docs/functions/BoolArrayProperty.Parse.html +0 -1
- package/docs/functions/BoolArrayProperty.Serialize.html +0 -1
- package/docs/functions/BoolProperty.CalcOverhead.html +0 -1
- package/docs/functions/ByteArrayProperty.Parse.html +0 -1
- package/docs/functions/ByteArrayProperty.Serialize.html +0 -1
- package/docs/functions/ByteProperty.CalcOverhead.html +0 -1
- package/docs/functions/DoubleArrayProperty.Parse.html +0 -1
- package/docs/functions/DoubleArrayProperty.Serialize.html +0 -1
- package/docs/functions/DoubleProperty.CalcOverhead.html +0 -1
- package/docs/functions/EnumArrayProperty.Parse.html +0 -1
- package/docs/functions/EnumArrayProperty.Serialize.html +0 -1
- package/docs/functions/EnumProperty.CalcOverhead.html +0 -1
- package/docs/functions/FloatArrayProperty.Parse.html +0 -1
- package/docs/functions/FloatArrayProperty.Serialize.html +0 -1
- package/docs/functions/FloatProperty.CalcOverhead.html +0 -1
- package/docs/functions/GUIDInfo.read.html +0 -1
- package/docs/functions/GUIDInfo.write.html +0 -1
- package/docs/functions/Int32ArrayProperty.Parse.html +0 -1
- package/docs/functions/Int32ArrayProperty.Serialize.html +0 -1
- package/docs/functions/Int32Property.CalcOverhead.html +0 -1
- package/docs/functions/Int32Property.Parse.html +0 -1
- package/docs/functions/Int32Property.ReadValue.html +0 -1
- package/docs/functions/Int32Property.Serialize.html +0 -1
- package/docs/functions/Int32Property.SerializeValue.html +0 -1
- package/docs/functions/Int32SetProperty.Parse.html +0 -1
- package/docs/functions/Int32SetProperty.Serialize.html +0 -1
- package/docs/functions/Int64ArrayProperty.Parse.html +0 -1
- package/docs/functions/Int64ArrayProperty.Serialize.html +0 -1
- package/docs/functions/Int64Property.CalcOverhead.html +0 -1
- package/docs/functions/Int8Property.CalcOverhead.html +0 -1
- package/docs/functions/Level.ReadAllObjectContents.html +0 -1
- package/docs/functions/Level.ReadAllObjectHeaders.html +0 -1
- package/docs/functions/Level.ReadLevel.html +0 -1
- package/docs/functions/Level.ReadNObjectContents.html +0 -1
- package/docs/functions/Level.ReadNObjectHeaders.html +0 -1
- package/docs/functions/Level.SerializeAllObjectContents.html +0 -1
- package/docs/functions/Level.SerializeAllObjectHeaders.html +0 -1
- package/docs/functions/Level.SerializeLevel.html +0 -1
- package/docs/functions/MapProperty.CalcOverhead.html +0 -1
- package/docs/functions/ObjectArrayProperty.Parse.html +0 -1
- package/docs/functions/ObjectArrayProperty.Serialize.html +0 -1
- package/docs/functions/ObjectProperty.CalcOverhead.html +0 -1
- package/docs/functions/ObjectSetProperty.Parse.html +0 -1
- package/docs/functions/ObjectSetProperty.Serialize.html +0 -1
- package/docs/functions/SetProperty.CalcOverhead.html +0 -1
- package/docs/functions/SoftObjectArrayProperty.Parse.html +0 -1
- package/docs/functions/SoftObjectArrayProperty.Serialize.html +0 -1
- package/docs/functions/SoftObjectProperty.CalcOverhead.html +0 -1
- package/docs/functions/StrArrayProperty.Parse.html +0 -1
- package/docs/functions/StrArrayProperty.Serialize.html +0 -1
- package/docs/functions/StrProperty.CalcOverhead.html +0 -1
- package/docs/functions/StrSetProperty.Parse.html +0 -1
- package/docs/functions/StrSetProperty.Serialize.html +0 -1
- package/docs/functions/StructArrayProperty.Parse.html +0 -1
- package/docs/functions/StructArrayProperty.Serialize.html +0 -1
- package/docs/functions/StructProperty.CalcOverhead.html +0 -1
- package/docs/functions/StructSetProperty.Parse.html +0 -1
- package/docs/functions/StructSetProperty.Serialize.html +0 -1
- package/docs/functions/TextArrayProperty.Parse.html +0 -1
- package/docs/functions/TextArrayProperty.Serialize.html +0 -1
- package/docs/functions/TextProperty.CalcOverhead.html +0 -1
- package/docs/functions/Uint32Property.CalcOverhead.html +0 -1
- package/docs/functions/Uint32SetProperty.Parse.html +0 -1
- package/docs/functions/Uint32SetProperty.Serialize.html +0 -1
- package/docs/functions/Uint64Property.CalcOverhead.html +0 -1
- package/docs/functions/Uint8Property.CalcOverhead.html +0 -1
- package/docs/functions/isBoolArrayProperty.html +0 -1
- package/docs/functions/isByteArrayProperty.html +0 -1
- package/docs/functions/isDoubleArrayProperty.html +0 -1
- package/docs/functions/isEnumArrayProperty.html +0 -1
- package/docs/functions/isFloatArrayProperty.html +0 -1
- package/docs/functions/isInt32ArrayProperty.html +0 -1
- package/docs/functions/isInt32Property.html +0 -1
- package/docs/functions/isInt32SetProperty.html +0 -1
- package/docs/functions/isInt64ArrayProperty.html +0 -1
- package/docs/functions/isObjectArrayProperty.html +0 -1
- package/docs/functions/isObjectSetProperty.html +0 -1
- package/docs/functions/isSoftObjectArrayProperty.html +0 -1
- package/docs/functions/isStrArrayProperty.html +0 -1
- package/docs/functions/isStrSetProperty.html +0 -1
- package/docs/functions/isStructArrayProperty.html +0 -1
- package/docs/functions/isStructSetProperty.html +0 -1
- package/docs/functions/isTextArrayProperty.html +0 -1
- package/docs/functions/isUint32SetProperty.html +0 -1
- package/docs/interfaces/BlueprintConfig-1.html +0 -8
- package/docs/modules/BoolArrayProperty.html +0 -3
- package/docs/modules/ByteArrayProperty.html +0 -3
- package/docs/modules/DoubleArrayProperty.html +0 -3
- package/docs/modules/EnumArrayProperty.html +0 -3
- package/docs/modules/FloatArrayProperty.html +0 -3
- package/docs/modules/GUIDInfo.html +0 -3
- package/docs/modules/Int32ArrayProperty.html +0 -3
- package/docs/modules/Int32Property.html +0 -6
- package/docs/modules/Int32SetProperty.html +0 -3
- package/docs/modules/Int64ArrayProperty.html +0 -3
- package/docs/modules/ObjectArrayProperty.html +0 -3
- package/docs/modules/ObjectSetProperty.html +0 -3
- package/docs/modules/SoftObjectArrayProperty.html +0 -3
- package/docs/modules/StrArrayProperty.html +0 -3
- package/docs/modules/StrSetProperty.html +0 -3
- package/docs/modules/StructArrayProperty.html +0 -3
- package/docs/modules/StructSetProperty.html +0 -3
- package/docs/modules/TextArrayProperty.html +0 -3
- package/docs/modules/Uint32SetProperty.html +0 -3
- package/docs/types/AbstractBaseProperty-1.html +0 -7
- package/docs/types/ArrayProperty.AvailableArrayPropertyTypes.html +0 -1
- package/docs/types/ArrayPropertyStructValueFields.html +0 -1
- package/docs/types/BlueprintHeader-1.html +0 -1
- package/docs/types/BoolArrayProperty-1.html +0 -1
- package/docs/types/BoolProperty-1.html +0 -1
- package/docs/types/BuildableSubsystemSpecialProperties-1.html +0 -1
- package/docs/types/BuildableTypeInstance-1.html +0 -1
- package/docs/types/ByteArrayProperty-1.html +0 -1
- package/docs/types/ByteProperty-1.html +0 -1
- package/docs/types/CircuitSpecialProperties-1.html +0 -1
- package/docs/types/ConveyorChainActorSpecialProperties-1.html +0 -1
- package/docs/types/ConveyorSpecialProperties-1.html +0 -1
- package/docs/types/DoubleArrayProperty-1.html +0 -1
- package/docs/types/DoubleProperty-1.html +0 -1
- package/docs/types/DynamicStructPropertyValue-1.html +0 -1
- package/docs/types/EmptySpecialProperties-1.html +0 -1
- package/docs/types/EnumArrayProperty-1.html +0 -1
- package/docs/types/EnumProperty-1.html +0 -1
- package/docs/types/FClientIdentityInfo-1.html +0 -2
- package/docs/types/FColor-1.html +0 -2
- package/docs/types/FGDynamicStruct-1.html +0 -6
- package/docs/types/FICFrameRange-1.html +0 -1
- package/docs/types/FINGPUT1BufferPixel-1.html +0 -1
- package/docs/types/FINItemStateFileSystem-1.html +0 -2
- package/docs/types/FINNetworkTrace-1.html +0 -1
- package/docs/types/FLBBalancerIndexing-1.html +0 -2
- package/docs/types/FLinearColor-1.html +0 -2
- package/docs/types/FloatArrayProperty-1.html +0 -1
- package/docs/types/FloatProperty-1.html +0 -1
- package/docs/types/GUID-1.html +0 -2
- package/docs/types/GUIDInfo-1.html +0 -2
- package/docs/types/Int32ArrayProperty-1.html +0 -1
- package/docs/types/Int32Property-1.html +0 -1
- package/docs/types/Int32SetProperty-1.html +0 -1
- package/docs/types/Int64ArrayProperty-1.html +0 -1
- package/docs/types/Int64Property-1.html +0 -1
- package/docs/types/Int8Property-1.html +0 -1
- package/docs/types/Level-1.html +0 -2
- package/docs/types/LevelToDestroyedActorsMap-1.html +0 -1
- package/docs/types/MAP_STRUCT_PROXY.html +0 -1
- package/docs/types/MD5Hash-1.html +0 -2
- package/docs/types/MapProperty-1.html +0 -1
- package/docs/types/ObjectArrayProperty-1.html +0 -1
- package/docs/types/ObjectProperty-1.html +0 -1
- package/docs/types/ObjectReference-1.html +0 -2
- package/docs/types/ObjectSetProperty-1.html +0 -1
- package/docs/types/ObjectsListSpecialProperties-1.html +0 -1
- package/docs/types/PlayerSpecialProperties-1.html +0 -1
- package/docs/types/PowerLineSpecialProperties-1.html +0 -1
- package/docs/types/SatisfactorySaveHeader-1.html +0 -1
- package/docs/types/SaveBodyChunks-1.html +0 -1
- package/docs/types/SaveBodyValidation-1.html +0 -1
- package/docs/types/SetProperty.AvailableSetPropertyTypes.html +0 -1
- package/docs/types/SoftObjectArrayProperty-1.html +0 -1
- package/docs/types/SoftObjectProperty-1.html +0 -1
- package/docs/types/SoftObjectReference-1.html +0 -1
- package/docs/types/SpecialDroneActionProperties-1.html +0 -1
- package/docs/types/StrArrayProperty-1.html +0 -1
- package/docs/types/StrProperty-1.html +0 -1
- package/docs/types/StrSetProperty-1.html +0 -1
- package/docs/types/StructArrayProperty-1.html +0 -1
- package/docs/types/StructProperty-1.html +0 -1
- package/docs/types/StructSetProperty-1.html +0 -1
- package/docs/types/TextArrayProperty-1.html +0 -1
- package/docs/types/TextProperty-1.html +0 -1
- package/docs/types/Transform-1.html +0 -2
- package/docs/types/Uint32Property-1.html +0 -1
- package/docs/types/Uint32SetProperty-1.html +0 -1
- package/docs/types/Uint64Property-1.html +0 -1
- package/docs/types/Uint8Property-1.html +0 -1
- package/docs/types/VehiclePhysicsData-1.html +0 -1
- package/docs/types/VehicleSpecialProperties-1.html +0 -1
- package/docs/types/col4-1.html +0 -2
- package/docs/types/vec2-1.html +0 -2
- package/docs/types/vec3-1.html +0 -2
- package/docs/types/vec4-1.html +0 -2
|
@@ -1,69 +1,45 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StructProperty = exports.isStructProperty = void 0;
|
|
4
|
-
const save_custom_version_1 = require("
|
|
5
|
-
const FClientIdentityInfo_1 = require("
|
|
6
|
-
const FColor_1 = require("
|
|
7
|
-
const FLinearColor_1 = require("
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const isStructProperty = (property) => !Array.isArray(property) && property.
|
|
4
|
+
const save_custom_version_1 = require("../../../../save/save-custom-version");
|
|
5
|
+
const FClientIdentityInfo_1 = require("../../../structs/binary/FClientIdentityInfo");
|
|
6
|
+
const FColor_1 = require("../../../structs/binary/FColor");
|
|
7
|
+
const FLinearColor_1 = require("../../../structs/binary/FLinearColor");
|
|
8
|
+
const FPlayerInfoHandle_1 = require("../../../structs/binary/FPlayerInfoHandle");
|
|
9
|
+
const FUniqueNetIdRepl_1 = require("../../../structs/binary/FUniqueNetIdRepl");
|
|
10
|
+
const GUID_1 = require("../../../structs/binary/GUID");
|
|
11
|
+
const DynamicStructPropertyValue_1 = require("../../../structs/DynamicStructPropertyValue");
|
|
12
|
+
const FGDynamicStruct_1 = require("../../../structs/FGDynamicStruct");
|
|
13
|
+
const FICFrameRange_1 = require("../../../structs/mods/FicsItCam/FICFrameRange");
|
|
14
|
+
const FINGPUT1BufferPixel_1 = require("../../../structs/mods/FicsItNetworks/FINGPUT1BufferPixel");
|
|
15
|
+
const FINLuaRuntimePersistenceState_1 = require("../../../structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState");
|
|
16
|
+
const FINNetworkTrace_1 = require("../../../structs/mods/FicsItNetworks/FINNetworkTrace");
|
|
17
|
+
const FLBBalancerIndexing_1 = require("../../../structs/mods/ModularLoadBalancers/FLBBalancerIndexing");
|
|
18
|
+
const ObjectReference_1 = require("../../../structs/ObjectReference");
|
|
19
|
+
const vec2_1 = require("../../../structs/vec2");
|
|
20
|
+
const vec3_1 = require("../../../structs/vec3");
|
|
21
|
+
const vec4_1 = require("../../../structs/vec4");
|
|
22
|
+
const isStructProperty = (property) => !Array.isArray(property) && property.propertyTagType.name === 'StructProperty';
|
|
23
23
|
exports.isStructProperty = isStructProperty;
|
|
24
24
|
var StructProperty;
|
|
25
25
|
(function (StructProperty) {
|
|
26
|
-
|
|
27
|
-
const guidInfo = GUIDInfo_1.GUIDInfo.read(reader);
|
|
28
|
-
const struct = {
|
|
29
|
-
...AbstractBaseProperty_1.AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),
|
|
30
|
-
type: 'StructProperty',
|
|
31
|
-
value: { values: [] },
|
|
32
|
-
subtype
|
|
33
|
-
};
|
|
34
|
-
const unk1 = reader.readInt32();
|
|
35
|
-
if (unk1 !== 0) {
|
|
36
|
-
struct.unk1 = unk1;
|
|
37
|
-
}
|
|
38
|
-
const unk2 = reader.readInt32();
|
|
39
|
-
if (unk2 !== 0) {
|
|
40
|
-
struct.unk2 = unk2;
|
|
41
|
-
}
|
|
42
|
-
const unk3 = reader.readInt32();
|
|
43
|
-
if (unk3 !== 0) {
|
|
44
|
-
struct.unk3 = unk3;
|
|
45
|
-
}
|
|
46
|
-
const unk4 = reader.readInt32();
|
|
47
|
-
if (unk4 !== 0) {
|
|
48
|
-
struct.unk4 = unk4;
|
|
49
|
-
}
|
|
26
|
+
function Parse(reader, property, tag) {
|
|
50
27
|
const before = reader.getBufferPosition();
|
|
51
|
-
|
|
28
|
+
property.value = ParseValue(reader, property.propertyTagType.children[0], tag.binarySize);
|
|
52
29
|
const readBytes = reader.getBufferPosition() - before;
|
|
53
|
-
if (readBytes !==
|
|
54
|
-
if (
|
|
55
|
-
reader.skipBytes(
|
|
30
|
+
if (readBytes !== tag.binarySize) {
|
|
31
|
+
if (tag.binarySize - readBytes === 4) {
|
|
32
|
+
reader.skipBytes(tag.binarySize - readBytes);
|
|
56
33
|
}
|
|
57
34
|
else {
|
|
58
|
-
throw new Error(`possibly corrupt. Read ${readBytes} for
|
|
35
|
+
throw new Error(`possibly corrupt. Read ${readBytes} for structproperty of ${JSON.stringify(property.propertyTagType.children[0].name)}, but ${tag.binarySize} were indicated.`);
|
|
59
36
|
}
|
|
60
37
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
38
|
+
}
|
|
39
|
+
StructProperty.Parse = Parse;
|
|
40
|
+
function ParseValue(reader, propertyTagType, size) {
|
|
64
41
|
let value;
|
|
65
|
-
|
|
66
|
-
switch (subtype) {
|
|
42
|
+
switch (propertyTagType.name) {
|
|
67
43
|
case 'Color':
|
|
68
44
|
value = FColor_1.FColor.read(reader);
|
|
69
45
|
break;
|
|
@@ -74,19 +50,19 @@ var StructProperty;
|
|
|
74
50
|
value = FLinearColor_1.FLinearColor.read(reader);
|
|
75
51
|
break;
|
|
76
52
|
case 'Vector2D':
|
|
77
|
-
value = (reader.context.saveVersion >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec2_1.vec2.Parse(reader) : vec2_1.vec2.ParseF(reader);
|
|
53
|
+
value = (reader.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec2_1.vec2.Parse(reader) : vec2_1.vec2.ParseF(reader);
|
|
78
54
|
break;
|
|
79
55
|
case 'Vector':
|
|
80
56
|
case 'Rotator':
|
|
81
|
-
value = (reader.context.saveVersion >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec3_1.vec3.Parse(reader) : vec3_1.vec3.ParseF(reader);
|
|
57
|
+
value = (reader.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec3_1.vec3.Parse(reader) : vec3_1.vec3.ParseF(reader);
|
|
82
58
|
break;
|
|
83
59
|
case 'Quat':
|
|
84
60
|
case 'Vector4':
|
|
85
61
|
case 'Vector4D':
|
|
86
|
-
value = (reader.context.saveVersion >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec4_1.vec4.Parse(reader) : vec4_1.vec4.ParseF(reader);
|
|
62
|
+
value = (reader.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec4_1.vec4.Parse(reader) : vec4_1.vec4.ParseF(reader);
|
|
87
63
|
break;
|
|
88
64
|
case 'Box':
|
|
89
|
-
value = ((reader.context.saveVersion >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) ? {
|
|
65
|
+
value = ((reader.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) ? {
|
|
90
66
|
min: vec3_1.vec3.Parse(reader),
|
|
91
67
|
max: vec3_1.vec3.Parse(reader),
|
|
92
68
|
isValid: reader.readByte() >= 1
|
|
@@ -118,7 +94,7 @@ var StructProperty;
|
|
|
118
94
|
value = {
|
|
119
95
|
itemReference: ObjectReference_1.ObjectReference.read(reader)
|
|
120
96
|
};
|
|
121
|
-
if (reader.context.saveVersion >= save_custom_version_1.SaveCustomVersion.RefactoredInventoryItemState) {
|
|
97
|
+
if (reader.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.RefactoredInventoryItemState) {
|
|
122
98
|
value.itemState = FGDynamicStruct_1.FGDynamicStruct.Parse(reader);
|
|
123
99
|
}
|
|
124
100
|
else {
|
|
@@ -136,6 +112,12 @@ var StructProperty;
|
|
|
136
112
|
case 'DateTime':
|
|
137
113
|
value = reader.readInt64().toString();
|
|
138
114
|
break;
|
|
115
|
+
case 'UniqueNetIdRepl':
|
|
116
|
+
value = FUniqueNetIdRepl_1.FUniqueNetIdRepl.read(reader, size);
|
|
117
|
+
break;
|
|
118
|
+
case 'PlayerInfoHandle':
|
|
119
|
+
value = FPlayerInfoHandle_1.FPlayerInfoHandle.read(reader);
|
|
120
|
+
break;
|
|
139
121
|
case 'FICFrameRange':
|
|
140
122
|
value = FICFrameRange_1.FICFrameRange.read(reader);
|
|
141
123
|
break;
|
|
@@ -154,24 +136,17 @@ var StructProperty;
|
|
|
154
136
|
value = FINLuaRuntimePersistenceState_1.FINLuaRuntimePersistenceState.read(reader, size);
|
|
155
137
|
break;
|
|
156
138
|
default:
|
|
157
|
-
value = DynamicStructPropertyValue_1.DynamicStructPropertyValue.read(reader,
|
|
139
|
+
value = DynamicStructPropertyValue_1.DynamicStructPropertyValue.read(reader, propertyTagType.name);
|
|
158
140
|
break;
|
|
159
141
|
}
|
|
160
142
|
return value;
|
|
161
|
-
}
|
|
162
|
-
StructProperty.
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
writer.writeInt32(property.unk1 ?? 0);
|
|
169
|
-
writer.writeInt32(property.unk2 ?? 0);
|
|
170
|
-
writer.writeInt32(property.unk3 ?? 0);
|
|
171
|
-
writer.writeInt32(property.unk4 ?? 0);
|
|
172
|
-
StructProperty.SerializeValue(writer, property.subtype, property.value);
|
|
173
|
-
};
|
|
174
|
-
StructProperty.SerializeValue = (writer, subtype, value) => {
|
|
143
|
+
}
|
|
144
|
+
StructProperty.ParseValue = ParseValue;
|
|
145
|
+
function Serialize(writer, property) {
|
|
146
|
+
StructProperty.SerializeValue(writer, property.propertyTagType.children[0].name, property.value);
|
|
147
|
+
}
|
|
148
|
+
StructProperty.Serialize = Serialize;
|
|
149
|
+
function SerializeValue(writer, subtype, value) {
|
|
175
150
|
switch (subtype) {
|
|
176
151
|
case 'Color':
|
|
177
152
|
FColor_1.FColor.write(writer, value);
|
|
@@ -184,7 +159,7 @@ var StructProperty;
|
|
|
184
159
|
break;
|
|
185
160
|
case 'Vector2D':
|
|
186
161
|
value = value;
|
|
187
|
-
if (writer.context.saveVersion >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) {
|
|
162
|
+
if (writer.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) {
|
|
188
163
|
vec2_1.vec2.Serialize(writer, value);
|
|
189
164
|
}
|
|
190
165
|
else {
|
|
@@ -194,7 +169,7 @@ var StructProperty;
|
|
|
194
169
|
case 'Vector':
|
|
195
170
|
case 'Rotator':
|
|
196
171
|
value = value;
|
|
197
|
-
if (writer.context.saveVersion >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) {
|
|
172
|
+
if (writer.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) {
|
|
198
173
|
vec3_1.vec3.Serialize(writer, value);
|
|
199
174
|
}
|
|
200
175
|
else {
|
|
@@ -205,7 +180,7 @@ var StructProperty;
|
|
|
205
180
|
case 'Vector4':
|
|
206
181
|
case 'Vector4D':
|
|
207
182
|
value = value;
|
|
208
|
-
if (writer.context.saveVersion >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) {
|
|
183
|
+
if (writer.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) {
|
|
209
184
|
vec4_1.vec4.Serialize(writer, value);
|
|
210
185
|
}
|
|
211
186
|
else {
|
|
@@ -214,7 +189,7 @@ var StructProperty;
|
|
|
214
189
|
break;
|
|
215
190
|
case 'Box':
|
|
216
191
|
value = value;
|
|
217
|
-
if (writer.context.saveVersion >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) {
|
|
192
|
+
if (writer.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.SwitchTo64BitSaveArchive) {
|
|
218
193
|
vec3_1.vec3.Serialize(writer, value.min);
|
|
219
194
|
vec3_1.vec3.Serialize(writer, value.max);
|
|
220
195
|
}
|
|
@@ -244,7 +219,7 @@ var StructProperty;
|
|
|
244
219
|
case 'InventoryItem':
|
|
245
220
|
value = value;
|
|
246
221
|
ObjectReference_1.ObjectReference.write(writer, value.itemReference);
|
|
247
|
-
if (writer.context.saveVersion >= save_custom_version_1.SaveCustomVersion.RefactoredInventoryItemState) {
|
|
222
|
+
if (writer.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.RefactoredInventoryItemState) {
|
|
248
223
|
FGDynamicStruct_1.FGDynamicStruct.Serialize(writer, value.itemState);
|
|
249
224
|
}
|
|
250
225
|
else {
|
|
@@ -256,15 +231,19 @@ var StructProperty;
|
|
|
256
231
|
writer.writeFloat32(value.value);
|
|
257
232
|
break;
|
|
258
233
|
case 'SlateBrush':
|
|
259
|
-
value = value;
|
|
260
234
|
writer.writeString(value);
|
|
261
235
|
break;
|
|
262
236
|
case 'DateTime':
|
|
263
237
|
value = value;
|
|
264
238
|
writer.writeInt64(BigInt(value));
|
|
265
239
|
break;
|
|
240
|
+
case 'UniqueNetIdRepl':
|
|
241
|
+
FUniqueNetIdRepl_1.FUniqueNetIdRepl.write(writer, value);
|
|
242
|
+
break;
|
|
243
|
+
case 'PlayerInfoHandle':
|
|
244
|
+
FPlayerInfoHandle_1.FPlayerInfoHandle.write(writer, value);
|
|
245
|
+
break;
|
|
266
246
|
case 'FICFrameRange':
|
|
267
|
-
value = value;
|
|
268
247
|
FICFrameRange_1.FICFrameRange.write(writer, value);
|
|
269
248
|
break;
|
|
270
249
|
case 'LBBalancerIndexing':
|
|
@@ -272,11 +251,9 @@ var StructProperty;
|
|
|
272
251
|
break;
|
|
273
252
|
case 'FINNetworkTrace':
|
|
274
253
|
case 'FIRTrace':
|
|
275
|
-
value = value;
|
|
276
254
|
FINNetworkTrace_1.FINNetworkTrace.write(writer, value);
|
|
277
255
|
break;
|
|
278
256
|
case 'FINGPUT1BufferPixel':
|
|
279
|
-
value = value;
|
|
280
257
|
FINGPUT1BufferPixel_1.FINGPUT1BufferPixel.write(writer, value);
|
|
281
258
|
break;
|
|
282
259
|
case 'FINLuaProcessorStateStorage':
|
|
@@ -284,10 +261,10 @@ var StructProperty;
|
|
|
284
261
|
FINLuaRuntimePersistenceState_1.FINLuaRuntimePersistenceState.write(writer, value);
|
|
285
262
|
break;
|
|
286
263
|
default:
|
|
287
|
-
value = value;
|
|
288
264
|
DynamicStructPropertyValue_1.DynamicStructPropertyValue.write(writer, value);
|
|
289
265
|
break;
|
|
290
266
|
}
|
|
291
|
-
}
|
|
267
|
+
}
|
|
268
|
+
StructProperty.SerializeValue = SerializeValue;
|
|
292
269
|
})(StructProperty || (exports.StructProperty = StructProperty = {}));
|
|
293
270
|
//# sourceMappingURL=StructProperty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StructProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/containers/StructProperty.ts"],"names":[],"mappings":";;;AAEA,8EAAyE;AAC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AC,CAAC;gBACjC,MAAM;YAEV,KAAK,YAAY;gBACb,MAAM,CAAC,WAAW,CAAC,KAAe,CAAC,CAAC;gBACpC,MAAM;YAEV,KAAK,UAAU;gBACX,KAAK,GAAG,KAAe,CAAC;gBACxB,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;gBACjC,MAAM;YAEV,KAAK,iBAAiB;gBAClB,mCAAgB,CAAC,KAAK,CAAC,MAAM,EAAE,KAAyB,CAAC,CAAC;gBAC1D,MAAM;YAEV,KAAK,kBAAkB;gBACnB,qCAAiB,CAAC,KAAK,CAAC,MAAM,EAAE,KAA0B,CAAC,CAAC;gBAC5D,MAAM;YAGV,KAAK,eAAe;gBAChB,6BAAa,CAAC,KAAK,CAAC,MAAM,EAAE,KAAsB,CAAC,CAAC;gBACpD,MAAM;YAGV,KAAK,oBAAoB;gBACrB,yCAAmB,CAAC,KAAK,CAAC,MAAM,EAAE,KAA4B,CAAC,CAAC;gBAChE,MAAM;YAGV,KAAK,iBAAiB,CAAC;YACvB,KAAK,UAAU;gBACX,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,KAAwB,CAAC,CAAC;gBACxD,MAAM;YAEV,KAAK,qBAAqB;gBACtB,yCAAmB,CAAC,KAAK,CAAC,MAAM,EAAE,KAA4B,CAAC,CAAC;gBAChE,MAAM;YAEV,KAAK,6BAA6B,CAAC;YACnC,KAAK,+BAA+B;gBAChC,6DAA6B,CAAC,KAAK,CAAC,MAAM,EAAE,KAAsC,CAAC,CAAC;gBACpF,MAAM;YAEV;gBACI,uDAA0B,CAAC,KAAK,CAAC,MAAM,EAAE,KAAmC,CAAC,CAAC;gBAC9E,MAAM;QACd,CAAC;IACL,CAAC;IA5Ie,6BAAc,iBA4I7B,CAAA;AACL,CAAC,EA1SgB,cAAc,8BAAd,cAAc,QA0S9B","sourcesContent":["import { ContextReader } from '../../../../../context/context-reader';\nimport { ContextWriter } from '../../../../../context/context-writer';\nimport { SaveCustomVersion } from '../../../../save/save-custom-version';\nimport { FClientIdentityInfo } from '../../../structs/binary/FClientIdentityInfo';\nimport { FColor } from '../../../structs/binary/FColor';\nimport { FLinearColor } from '../../../structs/binary/FLinearColor';\nimport { FPlayerInfoHandle } from '../../../structs/binary/FPlayerInfoHandle';\nimport { FPropertyTag } from '../../../structs/binary/FPropertyTag';\nimport { FPropertyTagNode } from '../../../structs/binary/FPropertyTagNode';\nimport { FUniqueNetIdRepl } from '../../../structs/binary/FUniqueNetIdRepl';\nimport { GUID } from '../../../structs/binary/GUID';\nimport { col4 } from '../../../structs/col4';\nimport { DynamicStructPropertyValue } from '../../../structs/DynamicStructPropertyValue';\nimport { FGDynamicStruct } from '../../../structs/FGDynamicStruct';\nimport { FICFrameRange } from '../../../structs/mods/FicsItCam/FICFrameRange';\nimport { FINGPUT1BufferPixel } from '../../../structs/mods/FicsItNetworks/FINGPUT1BufferPixel';\nimport { FINLuaRuntimePersistenceState } from '../../../structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState';\nimport { FINNetworkTrace } from '../../../structs/mods/FicsItNetworks/FINNetworkTrace';\nimport { FLBBalancerIndexing } from '../../../structs/mods/ModularLoadBalancers/FLBBalancerIndexing';\nimport { ObjectReference } from '../../../structs/ObjectReference';\nimport { vec2 } from '../../../structs/vec2';\nimport { vec3 } from '../../../structs/vec3';\nimport { vec4 } from '../../../structs/vec4';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\n\n\nexport type BasicMultipleStructPropertyValue = {\n values: any;\n};\n\nexport type BasicStructPropertyValue = {\n value: any;\n};\n\nexport type BoxStructPropertyValue = {\n min: vec3;\n max: vec3;\n isValid: boolean;\n};\n\nexport type RailroadTrackPositionStructPropertyValue = {\n root: string;\n instanceName: string;\n offset: number;\n forward: number;\n};\n\nexport type InventoryItemStructPropertyValue = {\n itemReference: ObjectReference;\n itemState?: FGDynamicStruct;\n legacyItemStateActor?: ObjectReference;\n};\n\nexport type FICFrameRangeStructPropertyValue = {\n begin: string;\n end: string;\n};\n\nexport type GENERIC_STRUCT_PROPERTY_VALUE = BasicMultipleStructPropertyValue | BasicStructPropertyValue | BoxStructPropertyValue | RailroadTrackPositionStructPropertyValue |\n InventoryItemStructPropertyValue | FICFrameRangeStructPropertyValue | FClientIdentityInfo | DynamicStructPropertyValue | col4 | vec2 | vec3 | vec4 | string |\n FINNetworkTrace | FINGPUT1BufferPixel | FLBBalancerIndexing | FINLuaRuntimePersistenceState | FUniqueNetIdRepl | FPlayerInfoHandle;\n\nexport const isStructProperty = (property: any): property is StructProperty => !Array.isArray(property) && property.propertyTagType.name === 'StructProperty';\n\nexport type StructProperty = AbstractBaseProperty & {\n type: 'StructProperty';\n subtype: string;\n value: GENERIC_STRUCT_PROPERTY_VALUE;\n};\n\nexport namespace StructProperty {\n\n export function Parse(reader: ContextReader, property: StructProperty, tag: FPropertyTag): void {\n\n const before = reader.getBufferPosition();\n property.value = ParseValue(reader, property.propertyTagType.children[0], tag.binarySize);\n const readBytes = reader.getBufferPosition() - before;\n if (readBytes !== tag.binarySize) {\n if (tag.binarySize - readBytes === 4) {\n // U8, fine - honestly i am not sure whether this is even still relevant. with some bug fixes this most likely has been fixed.\n reader.skipBytes(tag.binarySize - readBytes);\n } else {\n throw new Error(`possibly corrupt. Read ${readBytes} for structproperty of ${JSON.stringify(property.propertyTagType.children[0].name)}, but ${tag.binarySize} were indicated.`);\n }\n }\n }\n\n export function ParseValue(reader: ContextReader, propertyTagType: FPropertyTagNode, size: number): GENERIC_STRUCT_PROPERTY_VALUE {\n\n let value: GENERIC_STRUCT_PROPERTY_VALUE;\n\n switch (propertyTagType.name) {\n case 'Color':\n value = FColor.read(reader);\n break;\n\n case 'IntPoint':\n value = reader.readInt64().toString();\n break;\n\n case 'LinearColor':\n value = FLinearColor.read(reader);\n break;\n\n case 'Vector2D':\n value = (reader.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec2.Parse(reader) : vec2.ParseF(reader);\n break;\n\n case 'Vector':\n case 'Rotator':\n value = (reader.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec3.Parse(reader) : vec3.ParseF(reader);\n break;\n\n case 'Quat':\n case 'Vector4':\n case 'Vector4D':\n value = (reader.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec4.Parse(reader) : vec4.ParseF(reader);\n break;\n\n case 'Box':\n value = ((reader.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) ? {\n min: vec3.Parse(reader),\n max: vec3.Parse(reader),\n isValid: reader.readByte() >= 1\n } : {\n min: vec3.ParseF(reader),\n max: vec3.ParseF(reader),\n isValid: reader.readByte() >= 1\n }) satisfies BoxStructPropertyValue;\n break;\n\n case 'RailroadTrackPosition':\n value = {\n root: reader.readString(),\n instanceName: reader.readString(),\n offset: reader.readFloat32(),\n forward: reader.readFloat32()\n };\n break;\n\n case 'TimerHandle':\n value = reader.readString();\n break;\n\n case 'Guid':\n value = GUID.read(reader);\n break;\n\n case 'ClientIdentityInfo':\n value = FClientIdentityInfo.read(reader);\n break;\n\n case 'InventoryItem':\n const before = reader.getBufferPosition();\n\n value = {\n itemReference: ObjectReference.read(reader)\n } satisfies InventoryItemStructPropertyValue;\n\n // inventory items have potentially an item state. but not before explicit version\n if (reader.context.saveVersion.object >= SaveCustomVersion.RefactoredInventoryItemState) {\n value.itemState = FGDynamicStruct.Parse(reader);\n } else {\n value.legacyItemStateActor = ObjectReference.read(reader);\n }\n\n break;\n\n case 'FluidBox':\n value = {\n value: reader.readFloat32()\n };\n break;\n\n case 'SlateBrush':\n value = reader.readString();\n break;\n\n case 'DateTime':\n value = reader.readInt64().toString();\n break;\n\n case 'UniqueNetIdRepl':\n value = FUniqueNetIdRepl.read(reader, size);\n break;\n\n case 'PlayerInfoHandle':\n value = FPlayerInfoHandle.read(reader);\n break;\n\n // FixsitCamera mod\n case 'FICFrameRange':\n value = FICFrameRange.read(reader);\n break;\n\n // MLB mod\n case 'LBBalancerIndexing':\n value = FLBBalancerIndexing.read(reader);\n break;\n\n // FicsIt-Networks mod\n case 'FINNetworkTrace':\n case 'FIRTrace':\n value = FINNetworkTrace.read(reader);\n break;\n\n case 'FINGPUT1BufferPixel':\n value = FINGPUT1BufferPixel.read(reader);\n break;\n\n case 'FINLuaProcessorStateStorage':\n case 'FINLuaRuntimePersistenceState':\n value = FINLuaRuntimePersistenceState.read(reader, size);\n break;\n\n default:\n value = DynamicStructPropertyValue.read(reader, propertyTagType.name);\n break;\n }\n\n return value;\n }\n\n export function Serialize(writer: ContextWriter, property: StructProperty): void {\n StructProperty.SerializeValue(writer, property.propertyTagType.children[0].name, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, subtype: string, value: GENERIC_STRUCT_PROPERTY_VALUE): void {\n\n switch (subtype) {\n case 'Color':\n FColor.write(writer, value as FColor);\n break;\n\n case 'IntPoint':\n writer.writeInt64(BigInt(value as string))\n break;\n\n case 'LinearColor':\n FLinearColor.write(writer, value as FLinearColor);\n break;\n\n case 'Vector2D':\n value = value as vec2;\n if (writer.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) {\n vec2.Serialize(writer, value);\n } else {\n vec2.SerializeF(writer, value);\n }\n break;\n\n case 'Vector':\n case 'Rotator':\n value = value as vec3;\n if (writer.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) {\n vec3.Serialize(writer, value as vec3);\n } else {\n vec3.SerializeF(writer, value as vec3);\n }\n break;\n\n case 'Quat':\n case 'Vector4':\n case 'Vector4D':\n value = value as vec4;\n if (writer.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) {\n vec4.Serialize(writer, value as vec4);\n } else {\n vec4.SerializeF(writer, value as vec4);\n }\n break;\n\n case 'Box':\n value = value as BoxStructPropertyValue;\n if (writer.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) {\n vec3.Serialize(writer, value.min);\n vec3.Serialize(writer, value.max);\n } else {\n vec3.SerializeF(writer, value.min);\n vec3.SerializeF(writer, value.max);\n }\n writer.writeByte(value.isValid ? 1 : 0);\n break;\n\n case 'RailroadTrackPosition':\n value = value as RailroadTrackPositionStructPropertyValue;\n writer.writeString(value.root);\n writer.writeString(value.instanceName);\n writer.writeFloat32(value.offset);\n writer.writeFloat32(value.forward);\n break;\n\n case 'TimerHandle':\n value = value as string;\n writer.writeString(value);\n break;\n\n case 'Guid':\n GUID.write(writer, value as GUID);\n break;\n\n case 'ClientIdentityInfo':\n FClientIdentityInfo.write(writer, value as FClientIdentityInfo);\n break;\n\n case 'InventoryItem':\n value = value as InventoryItemStructPropertyValue;\n ObjectReference.write(writer, value.itemReference);\n\n if (writer.context.saveVersion.object >= SaveCustomVersion.RefactoredInventoryItemState) {\n FGDynamicStruct.Serialize(writer, value.itemState!);\n } else {\n ObjectReference.write(writer, value.legacyItemStateActor!);\n }\n break;\n\n case 'FluidBox':\n value = value as BasicStructPropertyValue;\n writer.writeFloat32(value.value);\n break;\n\n case 'SlateBrush':\n writer.writeString(value as string);\n break;\n\n case 'DateTime':\n value = value as string;\n writer.writeInt64(BigInt(value));\n break;\n\n case 'UniqueNetIdRepl':\n FUniqueNetIdRepl.write(writer, value as FUniqueNetIdRepl);\n break;\n\n case 'PlayerInfoHandle':\n FPlayerInfoHandle.write(writer, value as FPlayerInfoHandle);\n break;\n\n // MODS\n case 'FICFrameRange':\n FICFrameRange.write(writer, value as FICFrameRange);\n break;\n\n // MLB mod\n case 'LBBalancerIndexing':\n FLBBalancerIndexing.write(writer, value as FLBBalancerIndexing);\n break;\n\n // FicsItNetworks mod\n case 'FINNetworkTrace':\n case 'FIRTrace':\n FINNetworkTrace.write(writer, value as FINNetworkTrace);\n break;\n\n case 'FINGPUT1BufferPixel':\n FINGPUT1BufferPixel.write(writer, value as FINGPUT1BufferPixel);\n break;\n\n case 'FINLuaProcessorStateStorage':\n case 'FINLuaRuntimePersistenceState':\n FINLuaRuntimePersistenceState.write(writer, value as FINLuaRuntimePersistenceState);\n break;\n\n default:\n DynamicStructPropertyValue.write(writer, value as DynamicStructPropertyValue);\n break;\n }\n }\n}\n\n\n"]}
|
package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ContextReader } from '../../../../context/context-reader';
|
|
2
2
|
import { ContextWriter } from '../../../../context/context-writer';
|
|
3
|
+
import { FPlayerInfoHandle } from '../../structs/binary/FPlayerInfoHandle';
|
|
3
4
|
import { col4 } from '../../structs/col4';
|
|
4
5
|
import { FGDynamicStruct } from '../../structs/FGDynamicStruct';
|
|
5
6
|
import { ObjectReference } from '../../structs/ObjectReference';
|
|
@@ -30,6 +31,7 @@ export type BuildableTypeInstance = {
|
|
|
30
31
|
usedRecipe: ObjectReference;
|
|
31
32
|
blueprintProxy: ObjectReference;
|
|
32
33
|
instanceSpecificData?: FGDynamicStruct;
|
|
34
|
+
builtBy?: FPlayerInfoHandle;
|
|
33
35
|
};
|
|
34
36
|
export declare namespace BuildableTypeInstance {
|
|
35
37
|
const Parse: (reader: ContextReader, lightWeightVersion: number) => BuildableTypeInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuildableSubsystemSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAKpD,eAAO,MAAM,qCAAqC,QAAS,GAAG,KAAG,GAAG,IAAI,mCAAyF,CAAC;AAElK,MAAM,MAAM,mCAAmC,GAAG;IAC9C,IAAI,EAAE,qCAAqC,CAAC;IAC5C,UAAU,EAAE;QACR,aAAa,EAAE,eAAe,CAAC;QAC/B,SAAS,EAAE,qBAAqB,EAAE,CAAC;KACtC,EAAE,CAAC;IACJ,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACtC,CAAC;AAEF,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,KAAK,WAAY,aAAa,KAAG,mCAgC7C,CAAC;IAEK,MAAM,SAAS,WAAY,aAAa,YAAY,mCAAmC,KAAG,IAkBhG,CAAC;CACL;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,EAAE,IAAI,CAAC;IACnB,cAAc,EAAE,IAAI,CAAC;IACrB,cAAc,EAAE,eAAe,CAAC;IAChC,WAAW,EAAE,eAAe,CAAC;IAC7B,YAAY,EAAE,eAAe,CAAC;IAC9B,QAAQ,EAAE,eAAe,CAAC;IAC1B,eAAe,EAAE,eAAe,CAAC;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,eAAe,CAAC;IAC5B,cAAc,EAAE,eAAe,CAAC;IAChC,oBAAoB,CAAC,EAAE,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"BuildableSubsystemSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CA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|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BuildableTypeInstance = exports.BuildableSubsystemSpecialProperties = exports.isBuildableSubsystemSpecialProperties = void 0;
|
|
4
4
|
const save_custom_version_1 = require("../../../save/save-custom-version");
|
|
5
|
+
const FPlayerInfoHandle_1 = require("../../structs/binary/FPlayerInfoHandle");
|
|
5
6
|
const col4_1 = require("../../structs/col4");
|
|
6
7
|
const FGDynamicStruct_1 = require("../../structs/FGDynamicStruct");
|
|
7
8
|
const ObjectReference_1 = require("../../structs/ObjectReference");
|
|
@@ -17,7 +18,7 @@ var BuildableSubsystemSpecialProperties;
|
|
|
17
18
|
buildables: [],
|
|
18
19
|
currentLightweightVersion: 0
|
|
19
20
|
};
|
|
20
|
-
if (reader.context.saveVersion >= save_custom_version_1.SaveCustomVersion.LightweightBuildableSubsystemWritesRuntimeVersion) {
|
|
21
|
+
if (reader.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.LightweightBuildableSubsystemWritesRuntimeVersion) {
|
|
21
22
|
property.currentLightweightVersion = reader.readInt32();
|
|
22
23
|
}
|
|
23
24
|
const entriesCount = reader.readInt32();
|
|
@@ -27,7 +28,7 @@ var BuildableSubsystemSpecialProperties;
|
|
|
27
28
|
const count = reader.readInt32();
|
|
28
29
|
const instances = [];
|
|
29
30
|
for (let j = 0; j < count; j++) {
|
|
30
|
-
instances.push(BuildableTypeInstance.Parse(reader, property.currentLightweightVersion ??
|
|
31
|
+
instances.push(BuildableTypeInstance.Parse(reader, property.currentLightweightVersion ?? 1));
|
|
31
32
|
}
|
|
32
33
|
property.buildables.push({
|
|
33
34
|
typeReference,
|
|
@@ -38,7 +39,7 @@ var BuildableSubsystemSpecialProperties;
|
|
|
38
39
|
return property;
|
|
39
40
|
};
|
|
40
41
|
BuildableSubsystemSpecialProperties.Serialize = (writer, property) => {
|
|
41
|
-
if (writer.context.saveVersion >= save_custom_version_1.SaveCustomVersion.LightweightBuildableSubsystemWritesRuntimeVersion) {
|
|
42
|
+
if (writer.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.LightweightBuildableSubsystemWritesRuntimeVersion) {
|
|
42
43
|
writer.writeInt32(property.currentLightweightVersion ?? 1);
|
|
43
44
|
}
|
|
44
45
|
writer.writeInt32(Object.keys(property.buildables).length);
|
|
@@ -47,7 +48,7 @@ var BuildableSubsystemSpecialProperties;
|
|
|
47
48
|
ObjectReference_1.ObjectReference.write(writer, buildable.typeReference);
|
|
48
49
|
writer.writeInt32(buildable.instances.length);
|
|
49
50
|
for (const instance of buildable.instances) {
|
|
50
|
-
BuildableTypeInstance.Serialize(writer, instance, property.currentLightweightVersion ??
|
|
51
|
+
BuildableTypeInstance.Serialize(writer, instance, property.currentLightweightVersion ?? 1);
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
}
|
|
@@ -71,6 +72,10 @@ var BuildableTypeInstance;
|
|
|
71
72
|
if (lightWeightVersion >= runtime_buildable_instance_data_version_1.RuntimeBuildableInstanceDataVersion.AddedTypeSpecificData) {
|
|
72
73
|
instanceSpecificData = FGDynamicStruct_1.FGDynamicStruct.Parse(reader);
|
|
73
74
|
}
|
|
75
|
+
let builtBy;
|
|
76
|
+
if (lightWeightVersion >= runtime_buildable_instance_data_version_1.RuntimeBuildableInstanceDataVersion.AddedBuiltBy) {
|
|
77
|
+
builtBy = FPlayerInfoHandle_1.FPlayerInfoHandle.read(reader);
|
|
78
|
+
}
|
|
74
79
|
return {
|
|
75
80
|
transform,
|
|
76
81
|
primaryColor,
|
|
@@ -83,7 +88,8 @@ var BuildableTypeInstance;
|
|
|
83
88
|
usedPaintFinish,
|
|
84
89
|
patternRotation,
|
|
85
90
|
blueprintProxy,
|
|
86
|
-
instanceSpecificData
|
|
91
|
+
instanceSpecificData,
|
|
92
|
+
builtBy
|
|
87
93
|
};
|
|
88
94
|
};
|
|
89
95
|
BuildableTypeInstance.Serialize = (writer, instance, lightweightVersion) => {
|
|
@@ -101,6 +107,9 @@ var BuildableTypeInstance;
|
|
|
101
107
|
if (lightweightVersion >= runtime_buildable_instance_data_version_1.RuntimeBuildableInstanceDataVersion.AddedTypeSpecificData) {
|
|
102
108
|
FGDynamicStruct_1.FGDynamicStruct.Serialize(writer, instance.instanceSpecificData);
|
|
103
109
|
}
|
|
110
|
+
if (lightweightVersion >= runtime_buildable_instance_data_version_1.RuntimeBuildableInstanceDataVersion.AddedBuiltBy) {
|
|
111
|
+
FPlayerInfoHandle_1.FPlayerInfoHandle.write(writer, instance.builtBy);
|
|
112
|
+
}
|
|
104
113
|
};
|
|
105
114
|
})(BuildableTypeInstance || (exports.BuildableTypeInstance = BuildableTypeInstance = {}));
|
|
106
115
|
;
|
package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuildableSubsystemSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,2EAAsE;AACtE,6CAA0C;AAC1C,mEAAgE;AAChE,mEAAgE;AAChE,uDAAoD;AACpD,uGAAgG;AAIzF,MAAM,qCAAqC,GAAG,CAAC,GAAQ,EAA8C,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,qCAAqC,CAAC;AAArJ,QAAA,qCAAqC,yCAAgH;AAWlK,IAAiB,mCAAmC,CAsDnD;AAtDD,WAAiB,mCAAmC;IACnC,yCAAK,GAAG,CAAC,MAAqB,EAAuC,EAAE;QAEhF,MAAM,QAAQ,GAAwC;YAClD,IAAI,EAAE,qCAAqC;YAC3C,UAAU,EAAE,EAAE;YACd,yBAAyB,EAAE,CAAC;SAC/B,CAAC;QAEF,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,IAAI,uCAAiB,CAAC,iDAAiD,EAAE,CAAC;YACpG,QAAQ,CAAC,yBAAyB,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAC5D,CAAC;QAED,MAAM,YA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c,CAAC,CAAC;QAEvD,IAAI,kBAAkB,IAAI,6EAAmC,CAAC,qBAAqB,EAAE,CAAC;YAClF,iCAAe,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,oBAAqB,CAAC,CAAC;QACtE,CAAC;IACL,CAAC,CAAA;AACL,CAAC,EA1DgB,qBAAqB,qCAArB,qBAAqB,QA0DrC;AAAA,CAAC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { SaveCustomVersion } from '../../../save/save-custom-version';\nimport { col4 } from '../../structs/col4';\nimport { FGDynamicStruct } from '../../structs/FGDynamicStruct';\nimport { ObjectReference } from '../../structs/ObjectReference';\nimport { Transform } from '../../structs/Transform';\nimport { RuntimeBuildableInstanceDataVersion } from './runtime-buildable-instance-data-version';\n\n\n\nexport const isBuildableSubsystemSpecialProperties = (obj: any): obj is BuildableSubsystemSpecialProperties => obj.type === 'BuildableSubsystemSpecialProperties';\n\nexport type BuildableSubsystemSpecialProperties = {\n type: 'BuildableSubsystemSpecialProperties';\n buildables: {\n typeReference: ObjectReference;\n instances: BuildableTypeInstance[];\n }[];\n currentLightweightVersion?: number;\n};\n\nexport namespace BuildableSubsystemSpecialProperties {\n export const Parse = (reader: ContextReader): BuildableSubsystemSpecialProperties => {\n\n const property: BuildableSubsystemSpecialProperties = {\n type: 'BuildableSubsystemSpecialProperties',\n buildables: [],\n currentLightweightVersion: 0\n };\n\n if (reader.context.saveVersion >= SaveCustomVersion.LightweightBuildableSubsystemWritesRuntimeVersion) {\n property.currentLightweightVersion = reader.readInt32();\n }\n\n const entriesCount = reader.readInt32();\n if (entriesCount > 0) {\n\n for (let i = 0; i < entriesCount; i++) {\n const typeReference = ObjectReference.read(reader);\n const count = reader.readInt32();\n\n const instances: BuildableTypeInstance[] = [];\n for (let j = 0; j < count; j++) {\n instances.push(BuildableTypeInstance.Parse(reader, property.currentLightweightVersion ?? 0));\n }\n\n property.buildables.push({\n typeReference,\n instances\n });\n }\n }\n\n return property;\n };\n\n export const Serialize = (writer: ContextWriter, property: BuildableSubsystemSpecialProperties): void => {\n\n if (writer.context.saveVersion >= SaveCustomVersion.LightweightBuildableSubsystemWritesRuntimeVersion) {\n writer.writeInt32(property.currentLightweightVersion ?? 1);\n }\n\n writer.writeInt32(Object.keys(property.buildables).length);\n\n if (Object.keys(property.buildables).length > 0) {\n\n for (const buildable of property.buildables) {\n ObjectReference.write(writer, buildable.typeReference);\n writer.writeInt32(buildable.instances.length);\n for (const instance of buildable.instances) {\n BuildableTypeInstance.Serialize(writer, instance, property.currentLightweightVersion ?? 0);\n }\n }\n }\n };\n}\n\nexport type BuildableTypeInstance = {\n transform: Transform;\n primaryColor: col4;\n secondaryColor: col4;\n usedSwatchSlot: ObjectReference;\n usedPattern: ObjectReference;\n usedMaterial: ObjectReference;\n usedSkin: ObjectReference;\n usedPaintFinish: ObjectReference;\n patternRotation: number;\n usedRecipe: ObjectReference;\n blueprintProxy: ObjectReference;\n instanceSpecificData?: FGDynamicStruct;\n};\n\nexport namespace BuildableTypeInstance {\n export const Parse = (reader: ContextReader, lightWeightVersion: number): BuildableTypeInstance => {\n const transform = Transform.Parse(reader);\n\n const usedSwatchSlot = ObjectReference.read(reader);\n const usedMaterial = ObjectReference.read(reader);\n const usedPattern = ObjectReference.read(reader);\n const usedSkin = ObjectReference.read(reader);\n\n const primaryColor = col4.ParseRGBA(reader);\n const secondaryColor = col4.ParseRGBA(reader);\n\n const usedPaintFinish = ObjectReference.read(reader);\n const patternRotation = reader.readByte();\n const usedRecipe = ObjectReference.read(reader);\n const blueprintProxy = ObjectReference.read(reader);\n\n let instanceSpecificData;\n if (lightWeightVersion >= RuntimeBuildableInstanceDataVersion.AddedTypeSpecificData) {\n instanceSpecificData = FGDynamicStruct.Parse(reader);\n }\n\n return {\n transform,\n primaryColor,\n secondaryColor,\n usedSwatchSlot,\n usedMaterial,\n usedPattern,\n usedSkin,\n usedRecipe,\n usedPaintFinish,\n patternRotation,\n blueprintProxy,\n instanceSpecificData\n } satisfies BuildableTypeInstance;\n }\n\n export const Serialize = (writer: ContextWriter, instance: BuildableTypeInstance, lightweightVersion: number): void => {\n Transform.Serialize(writer, instance.transform);\n\n ObjectReference.write(writer, instance.usedSwatchSlot);\n ObjectReference.write(writer, instance.usedMaterial);\n ObjectReference.write(writer, instance.usedPattern);\n ObjectReference.write(writer, instance.usedSkin);\n\n col4.SerializeRGBA(writer, instance.primaryColor);\n col4.SerializeRGBA(writer, instance.secondaryColor);\n\n ObjectReference.write(writer, instance.usedPaintFinish);\n writer.writeByte(instance.patternRotation);\n ObjectReference.write(writer, instance.usedRecipe);\n ObjectReference.write(writer, instance.blueprintProxy);\n\n if (lightweightVersion >= RuntimeBuildableInstanceDataVersion.AddedTypeSpecificData) {\n FGDynamicStruct.Serialize(writer, instance.instanceSpecificData!);\n }\n }\n};\n\n"]}
|
|
1
|
+
{"version":3,"file":"BuildableSubsystemSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,2EAAsE;AACtE,8EAA2E;AAC3E,6CAA0C;AAC1C,mEAAgE;AAChE,mEAAgE;AAChE,uDAAoD;AACpD,uGAAgG;AAIzF,MAAM,qCAAqC,GAAG,CAAC,GAAQ,EAA8C,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,qCAAqC,CAAC;AAArJ,QAAA,qCAAqC,yCAAgH;AAWlK,IAAiB,mCAAmC,CAsDnD;AAtDD,WAAiB,mCAAmC;IACnC,yCAAK,GAAG,CAAC,MAAqB,EAAuC,EAAE;QAEhF,MAAM,QAAQ,GAAwC;YAClD,IAAI,EAAE,qCAAqC;YAC3C,UAAU,EAAE,EAAE;YACd,yBAAyB,EAAE,CAAC;SAC/B,CAAC;QAEF,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,MAAM,IAAI,uCAAiB,CAAC,iDAAiD,EAAE,CAAC;YAC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pD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;QACxD,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;QAC3C,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;QACnD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;QAEvD,IAAI,kBAAkB,IAAI,6EAAmC,CAAC,qBAAqB,EAAE,CAAC;YAClF,iCAAe,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,oBAAqB,CAAC,CAAC;QACtE,CAAC;QAED,IAAI,kBAAkB,IAAI,6EAAmC,CAAC,YAAY,EAAE,CAAC;YACzE,qCAAiB,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,OAAQ,CAAC,CAAC;QACvD,CAAC;IACL,CAAC,CAAA;AACL,CAAC,EAnEgB,qBAAqB,qCAArB,qBAAqB,QAmErC;AAAA,CAAC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { SaveCustomVersion } from '../../../save/save-custom-version';\nimport { FPlayerInfoHandle } from '../../structs/binary/FPlayerInfoHandle';\nimport { col4 } from '../../structs/col4';\nimport { FGDynamicStruct } from '../../structs/FGDynamicStruct';\nimport { ObjectReference } from '../../structs/ObjectReference';\nimport { Transform } from '../../structs/Transform';\nimport { RuntimeBuildableInstanceDataVersion } from './runtime-buildable-instance-data-version';\n\n\n\nexport const isBuildableSubsystemSpecialProperties = (obj: any): obj is BuildableSubsystemSpecialProperties => obj.type === 'BuildableSubsystemSpecialProperties';\n\nexport type BuildableSubsystemSpecialProperties = {\n type: 'BuildableSubsystemSpecialProperties';\n buildables: {\n typeReference: ObjectReference;\n instances: BuildableTypeInstance[];\n }[];\n currentLightweightVersion?: number;\n};\n\nexport namespace BuildableSubsystemSpecialProperties {\n export const Parse = (reader: ContextReader): BuildableSubsystemSpecialProperties => {\n\n const property: BuildableSubsystemSpecialProperties = {\n type: 'BuildableSubsystemSpecialProperties',\n buildables: [],\n currentLightweightVersion: 0\n };\n\n if (reader.context.saveVersion.object >= SaveCustomVersion.LightweightBuildableSubsystemWritesRuntimeVersion) {\n property.currentLightweightVersion = reader.readInt32();\n }\n\n const entriesCount = reader.readInt32();\n if (entriesCount > 0) {\n\n for (let i = 0; i < entriesCount; i++) {\n const typeReference = ObjectReference.read(reader);\n const count = reader.readInt32();\n\n const instances: BuildableTypeInstance[] = [];\n for (let j = 0; j < count; j++) {\n instances.push(BuildableTypeInstance.Parse(reader, property.currentLightweightVersion ?? 1));\n }\n\n property.buildables.push({\n typeReference,\n instances\n });\n }\n }\n\n return property;\n };\n\n export const Serialize = (writer: ContextWriter, property: BuildableSubsystemSpecialProperties): void => {\n\n if (writer.context.saveVersion.object >= SaveCustomVersion.LightweightBuildableSubsystemWritesRuntimeVersion) {\n writer.writeInt32(property.currentLightweightVersion ?? 1);\n }\n\n writer.writeInt32(Object.keys(property.buildables).length);\n\n if (Object.keys(property.buildables).length > 0) {\n\n for (const buildable of property.buildables) {\n ObjectReference.write(writer, buildable.typeReference);\n writer.writeInt32(buildable.instances.length);\n for (const instance of buildable.instances) {\n BuildableTypeInstance.Serialize(writer, instance, property.currentLightweightVersion ?? 1);\n }\n }\n }\n };\n}\n\nexport type BuildableTypeInstance = {\n transform: Transform;\n primaryColor: col4;\n secondaryColor: col4;\n usedSwatchSlot: ObjectReference;\n usedPattern: ObjectReference;\n usedMaterial: ObjectReference;\n usedSkin: ObjectReference;\n usedPaintFinish: ObjectReference;\n patternRotation: number;\n usedRecipe: ObjectReference;\n blueprintProxy: ObjectReference;\n instanceSpecificData?: FGDynamicStruct;\n builtBy?: FPlayerInfoHandle;\n};\n\nexport namespace BuildableTypeInstance {\n export const Parse = (reader: ContextReader, lightWeightVersion: number): BuildableTypeInstance => {\n const transform = Transform.Parse(reader);\n\n const usedSwatchSlot = ObjectReference.read(reader);\n const usedMaterial = ObjectReference.read(reader);\n const usedPattern = ObjectReference.read(reader);\n const usedSkin = ObjectReference.read(reader);\n\n const primaryColor = col4.ParseRGBA(reader);\n const secondaryColor = col4.ParseRGBA(reader);\n\n const usedPaintFinish = ObjectReference.read(reader);\n const patternRotation = reader.readByte();\n const usedRecipe = ObjectReference.read(reader);\n const blueprintProxy = ObjectReference.read(reader);\n\n let instanceSpecificData;\n if (lightWeightVersion >= RuntimeBuildableInstanceDataVersion.AddedTypeSpecificData) {\n instanceSpecificData = FGDynamicStruct.Parse(reader);\n }\n let builtBy;\n if (lightWeightVersion >= RuntimeBuildableInstanceDataVersion.AddedBuiltBy) {\n builtBy = FPlayerInfoHandle.read(reader);\n }\n\n return {\n transform,\n primaryColor,\n secondaryColor,\n usedSwatchSlot,\n usedMaterial,\n usedPattern,\n usedSkin,\n usedRecipe,\n usedPaintFinish,\n patternRotation,\n blueprintProxy,\n instanceSpecificData,\n builtBy\n } satisfies BuildableTypeInstance;\n }\n\n export const Serialize = (writer: ContextWriter, instance: BuildableTypeInstance, lightweightVersion: number): void => {\n Transform.Serialize(writer, instance.transform);\n\n ObjectReference.write(writer, instance.usedSwatchSlot);\n ObjectReference.write(writer, instance.usedMaterial);\n ObjectReference.write(writer, instance.usedPattern);\n ObjectReference.write(writer, instance.usedSkin);\n\n col4.SerializeRGBA(writer, instance.primaryColor);\n col4.SerializeRGBA(writer, instance.secondaryColor);\n\n ObjectReference.write(writer, instance.usedPaintFinish);\n writer.writeByte(instance.patternRotation);\n ObjectReference.write(writer, instance.usedRecipe);\n ObjectReference.write(writer, instance.blueprintProxy);\n\n if (lightweightVersion >= RuntimeBuildableInstanceDataVersion.AddedTypeSpecificData) {\n FGDynamicStruct.Serialize(writer, instance.instanceSpecificData!);\n }\n\n if (lightweightVersion >= RuntimeBuildableInstanceDataVersion.AddedBuiltBy) {\n FPlayerInfoHandle.write(writer, instance.builtBy!);\n }\n }\n};\n\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayerSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/PlayerSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"PlayerSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/PlayerSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,eAAO,MAAM,yBAAyB,QAAS,GAAG,KAAG,GAAG,IAAI,uBAAiE,CAAC;AAE9H,MAAM,MAAM,uBAAuB,GAAG;IAClC,IAAI,EAAE,yBAAyB,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,KAAK,WAAY,aAAa,KAAG,uBAwB7C,CAAC;IAEK,MAAM,SAAS,WAAY,aAAa,YAAY,uBAAuB,KAAG,IAapF,CAAC;CACL"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayerSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/PlayerSpecialProperties.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PlayerSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/PlayerSpecialProperties.ts"],"names":[],"mappings":";;;AAGO,MAAM,yBAAyB,GAAG,CAAC,GAAQ,EAAkC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,yBAAyB,CAAC;AAAjH,QAAA,yBAAyB,6BAAwF;AAS9H,IAAiB,uBAAuB,CAyCvC;AAzCD,WAAiB,uBAAuB;IACvB,6BAAK,GAAG,CAAC,MAAqB,EAA2B,EAAE;QAEpE,MAAM,IAAI,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;QAI/B,MAAM,QAAQ,GAA4B;YACtC,IAAI,EAAE,yBAAyB;YAC/B,IAAI;SACP,CAAC;QAGF,QAAQ,QAAQ,CAAC,IAAI,EAAE,CAAC;YACpB,KAAK,GAAG;gBACJ,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;gBAChC,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;gBACvC,MAAM;YACV,KAAK,EAAE;gBACH,MAAM;YACV;gBACI,MAAM;QACd,CAAC;QAED,OAAO,QAAQ,CAAC;IACpB,CAAC,CAAC;IAEW,iCAAS,GAAG,CAAC,MAAqB,EAAE,QAAiC,EAAQ,EAAE;QACxF,MAAM,CAAC,SAAS,CAAE,QAAoC,CAAC,IAAI,CAAC,CAAC;QAC7D,QAAS,QAAoC,CAAC,IAAI,EAAE,CAAC;YACjD,KAAK,GAAG;gBACJ,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;gBAC1B,MAAM,CAAC,WAAW,CAAE,QAAoC,CAAC,OAAQ,CAAC,CAAC;gBACnE,MAAM;YACV,KAAK,EAAE;gBACH,MAAM;YACV;gBACI,MAAM;QAEd,CAAC;IACL,CAAC,CAAC;AACN,CAAC,EAzCgB,uBAAuB,uCAAvB,uBAAuB,QAyCvC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\n\nexport const isPlayerSpecialProperties = (obj: any): obj is PlayerSpecialProperties => obj.type === 'PlayerSpecialProperties';\n\nexport type PlayerSpecialProperties = {\n type: 'PlayerSpecialProperties';\n flag: number;\n eosData?: string;\n steamPlayerData?: string;\n};\n\nexport namespace PlayerSpecialProperties {\n export const Parse = (reader: ContextReader): PlayerSpecialProperties => {\n\n const flag = reader.readByte(); // 241?\n\n\n // TODO - i don't know enough about player state yet. need more players.\n const property: PlayerSpecialProperties = {\n type: 'PlayerSpecialProperties',\n flag\n };\n\n // 241 = byte, byte, length? flag, id with length bytes\n switch (property.flag) {\n case 248: // default EOS\n const eos = reader.readString();\n property.eosData = reader.readString();\n break;\n case 25: // steam!?\n break;\n default:\n break;\n }\n\n return property;\n };\n\n export const Serialize = (writer: ContextWriter, property: PlayerSpecialProperties): void => {\n writer.writeByte((property as PlayerSpecialProperties).flag);\n switch ((property as PlayerSpecialProperties).flag) {\n case 248: // default EOS\n writer.writeString('EOS');\n writer.writeString((property as PlayerSpecialProperties).eosData!);\n break;\n case 25: // steam!?\n break;\n default:\n break;\n\n }\n };\n}\n"]}
|
|
@@ -15,7 +15,7 @@ var PowerLineSpecialProperties;
|
|
|
15
15
|
source: ObjectReference_1.ObjectReference.read(reader),
|
|
16
16
|
target: ObjectReference_1.ObjectReference.read(reader)
|
|
17
17
|
};
|
|
18
|
-
if (reader.context.blueprintConfigVersion !== undefined && reader.context.saveVersion >= save_custom_version_1.SaveCustomVersion.AddedCachedLocationsForWire) {
|
|
18
|
+
if (reader.context.blueprintConfigVersion !== undefined && reader.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.AddedCachedLocationsForWire) {
|
|
19
19
|
if (remainingLen - (reader.getBufferPosition() - start) >= 24) {
|
|
20
20
|
property.sourceTranslation = vec3_1.vec3.ParseF(reader);
|
|
21
21
|
property.targetTranslation = vec3_1.vec3.ParseF(reader);
|
|
@@ -26,7 +26,7 @@ var PowerLineSpecialProperties;
|
|
|
26
26
|
PowerLineSpecialProperties.Serialize = (writer, property) => {
|
|
27
27
|
ObjectReference_1.ObjectReference.write(writer, property.source);
|
|
28
28
|
ObjectReference_1.ObjectReference.write(writer, property.target);
|
|
29
|
-
if (writer.context.blueprintConfigVersion !== undefined && writer.context.saveVersion >= save_custom_version_1.SaveCustomVersion.AddedCachedLocationsForWire) {
|
|
29
|
+
if (writer.context.blueprintConfigVersion !== undefined && writer.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.AddedCachedLocationsForWire) {
|
|
30
30
|
if (property.sourceTranslation && property.targetTranslation) {
|
|
31
31
|
vec3_1.vec3.SerializeF(writer, property.sourceTranslation);
|
|
32
32
|
vec3_1.vec3.SerializeF(writer, property.targetTranslation);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PowerLineSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/PowerLineSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,2EAAsE;AACtE,mEAAgE;AAChE,6CAA0C;AAInC,MAAM,4BAA4B,GAAG,CAAC,GAAQ,EAAqC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,4BAA4B,CAAC;AAA1H,QAAA,4BAA4B,gCAA8F;AAUvI,IAAiB,0BAA0B,CA8B1C;AA9BD,WAAiB,0BAA0B;IAC1B,gCAAK,GAAG,CAAC,MAAqB,EAAE,YAAoB,EAA8B,EAAE;QAC7F,MAAM,KAAK,GAAG,MAAM,CAAC,iBAAiB,EAAE,CAAC;QACzC,MAAM,QAAQ,GAA+B;YACzC,IAAI,EAAE,4BAA4B;YAClC,MAAM,EAAE,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC;YACpC,MAAM,EAAE,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC;SACvC,CAAC;QAGF,IAAI,MAAM,CAAC,OAAO,CAAC,sBAAsB,KAAK,SAAS,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,IAAI,uCAAiB,CAAC,2BAA2B,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"PowerLineSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/PowerLineSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,2EAAsE;AACtE,mEAAgE;AAChE,6CAA0C;AA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AAC,WAAW,CAAC,MAAM,IAAI,uCAAiB,CAAC,2BAA2B,EAAE,CAAC;YAC5I,IAAI,QAAQ,CAAC,iBAAiB,IAAI,QAAQ,CAAC,iBAAiB,EAAE,CAAC;gBAC3D,WAAI,CAAC,UAAU,CAAC,MAAM,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;gBACpD,WAAI,CAAC,UAAU,CAAC,MAAM,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;YACxD,CAAC;QACL,CAAC;IACL,CAAC,CAAC;AACN,CAAC,EA9BgB,0BAA0B,0CAA1B,0BAA0B,QA8B1C","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { SaveCustomVersion } from '../../../save/save-custom-version';\nimport { ObjectReference } from '../../structs/ObjectReference';\nimport { vec3 } from '../../structs/vec3';\n\n\n\nexport const isPowerLineSpecialProperties = (obj: any): obj is PowerLineSpecialProperties => obj.type === 'PowerLineSpecialProperties';\n\nexport type PowerLineSpecialProperties = {\n type: 'PowerLineSpecialProperties';\n source: ObjectReference;\n target: ObjectReference;\n sourceTranslation?: vec3;\n targetTranslation?: vec3;\n};\n\nexport namespace PowerLineSpecialProperties {\n export const Parse = (reader: ContextReader, remainingLen: number): PowerLineSpecialProperties => {\n const start = reader.getBufferPosition();\n const property: PowerLineSpecialProperties = {\n type: 'PowerLineSpecialProperties',\n source: ObjectReference.read(reader),\n target: ObjectReference.read(reader)\n };\n\n // seems to be, that for blueprints the cached position is stored.\n if (reader.context.blueprintConfigVersion !== undefined && reader.context.saveVersion.object >= SaveCustomVersion.AddedCachedLocationsForWire) {\n if (remainingLen - (reader.getBufferPosition() - start) >= 24) {\n property.sourceTranslation = vec3.ParseF(reader);\n property.targetTranslation = vec3.ParseF(reader);\n }\n }\n\n return property;\n };\n\n export const Serialize = (writer: ContextWriter, property: PowerLineSpecialProperties): void => {\n ObjectReference.write(writer, property.source);\n ObjectReference.write(writer, property.target);\n if (writer.context.blueprintConfigVersion !== undefined && writer.context.saveVersion.object >= SaveCustomVersion.AddedCachedLocationsForWire) {\n if (property.sourceTranslation && property.targetTranslation) {\n vec3.SerializeF(writer, property.sourceTranslation);\n vec3.SerializeF(writer, property.targetTranslation);\n }\n }\n };\n}\n"]}
|
|
@@ -2,7 +2,9 @@ export declare enum RuntimeBuildableInstanceDataVersion {
|
|
|
2
2
|
NoVersion = 0,
|
|
3
3
|
InitialVersion = 1,
|
|
4
4
|
AddedTypeSpecificData = 2,
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
AddedBuiltBy = 3,
|
|
6
|
+
FixedUpInvalidPatternRotations = 4,
|
|
7
|
+
VersionPlusOne = 5,
|
|
8
|
+
LatestVersion = 4
|
|
7
9
|
}
|
|
8
10
|
//# sourceMappingURL=runtime-buildable-instance-data-version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-buildable-instance-data-version.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.ts"],"names":[],"mappings":"AAIA,oBAAY,mCAAmC;IAC3C,SAAS,IAAA;IAET,cAAc,IAAA;IAEd,qBAAqB,IAAA;
|
|
1
|
+
{"version":3,"file":"runtime-buildable-instance-data-version.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.ts"],"names":[],"mappings":"AAIA,oBAAY,mCAAmC;IAC3C,SAAS,IAAA;IAET,cAAc,IAAA;IAEd,qBAAqB,IAAA;IAErB,YAAY,IAAA;IAEZ,8BAA8B,IAAA;IAG9B,cAAc,IAAA;IACd,aAAa,IAAqB;CACrC"}
|
package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.js
CHANGED
|
@@ -6,7 +6,9 @@ var RuntimeBuildableInstanceDataVersion;
|
|
|
6
6
|
RuntimeBuildableInstanceDataVersion[RuntimeBuildableInstanceDataVersion["NoVersion"] = 0] = "NoVersion";
|
|
7
7
|
RuntimeBuildableInstanceDataVersion[RuntimeBuildableInstanceDataVersion["InitialVersion"] = 1] = "InitialVersion";
|
|
8
8
|
RuntimeBuildableInstanceDataVersion[RuntimeBuildableInstanceDataVersion["AddedTypeSpecificData"] = 2] = "AddedTypeSpecificData";
|
|
9
|
-
RuntimeBuildableInstanceDataVersion[RuntimeBuildableInstanceDataVersion["
|
|
10
|
-
RuntimeBuildableInstanceDataVersion[RuntimeBuildableInstanceDataVersion["
|
|
9
|
+
RuntimeBuildableInstanceDataVersion[RuntimeBuildableInstanceDataVersion["AddedBuiltBy"] = 3] = "AddedBuiltBy";
|
|
10
|
+
RuntimeBuildableInstanceDataVersion[RuntimeBuildableInstanceDataVersion["FixedUpInvalidPatternRotations"] = 4] = "FixedUpInvalidPatternRotations";
|
|
11
|
+
RuntimeBuildableInstanceDataVersion[RuntimeBuildableInstanceDataVersion["VersionPlusOne"] = 5] = "VersionPlusOne";
|
|
12
|
+
RuntimeBuildableInstanceDataVersion[RuntimeBuildableInstanceDataVersion["LatestVersion"] = 4] = "LatestVersion";
|
|
11
13
|
})(RuntimeBuildableInstanceDataVersion || (exports.RuntimeBuildableInstanceDataVersion = RuntimeBuildableInstanceDataVersion = {}));
|
|
12
14
|
//# sourceMappingURL=runtime-buildable-instance-data-version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-buildable-instance-data-version.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.ts"],"names":[],"mappings":";;;AAIA,IAAY,
|
|
1
|
+
{"version":3,"file":"runtime-buildable-instance-data-version.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.ts"],"names":[],"mappings":";;;AAIA,IAAY,mCAcX;AAdD,WAAY,mCAAmC;IAC3C,uGAAS,CAAA;IAET,iHAAc,CAAA;IAEd,+HAAqB,CAAA;IAErB,6GAAY,CAAA;IAEZ,iJAA8B,CAAA;IAG9B,iHAAc,CAAA;IACd,+GAAkC,CAAA;AACtC,CAAC,EAdW,mCAAmC,mDAAnC,mCAAmC,QAc9C","sourcesContent":["\n/**\n * Source: SaveCustomVersion.h\n */\nexport enum RuntimeBuildableInstanceDataVersion {\n NoVersion,\n\n InitialVersion,\n // 2025-03-18: Added data specific to the type of the lightweight buildable. Used for beams.\n AddedTypeSpecificData,\n // 2025-09-26: Added BuiltBy info for leightweight buildables to make sure that things like foundations that are inherently lightweight dont violate sony TRC\n AddedBuiltBy,\n // 2026-03-19: Clamped the pattern rotation between 0-3. Any values over 3 were erroneously introduced and thus are wrapped to 0\n FixedUpInvalidPatternRotations,\n\n // -----<new versions can be added above this line>-------------------------------------------------\n VersionPlusOne,\n LatestVersion = VersionPlusOne - 1\n}"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ContextReader } from '../../../context/context-reader';
|
|
2
2
|
import { ContextWriter } from '../../../context/context-writer';
|
|
3
3
|
import { GUID } from './binary/GUID';
|
|
4
|
-
export type
|
|
5
|
-
export declare namespace
|
|
6
|
-
const read: (reader: ContextReader) =>
|
|
7
|
-
const write: (writer: ContextWriter, guid:
|
|
4
|
+
export type OptionalGUID = undefined | GUID;
|
|
5
|
+
export declare namespace OptionalGUID {
|
|
6
|
+
const read: (reader: ContextReader) => OptionalGUID;
|
|
7
|
+
const write: (writer: ContextWriter, guid: OptionalGUID) => void;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=GUIDInfo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GUIDInfo.d.ts","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/GUIDInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAMrC,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"GUIDInfo.d.ts","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/GUIDInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAMrC,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,IAAI,CAAC;AAE5C,yBAAiB,YAAY,CAAC;IACnB,MAAM,IAAI,WAAY,aAAa,KAAG,YAO5C,CAAA;IAEM,MAAM,KAAK,WAAY,aAAa,QAAQ,YAAY,KAAG,IAQjE,CAAA;CACJ"}
|