@etothepii/satisfactory-file-parser 2.1.3 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +128 -103
- package/LICENCE.md +1 -1
- package/README.md +39 -21
- package/build/index.d.ts +13 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +14 -3
- package/build/index.js.map +1 -1
- package/build/parser/byte/byte-reader.class.d.ts +7 -5
- package/build/parser/byte/byte-reader.class.d.ts.map +1 -1
- package/build/parser/byte/byte-reader.class.js +6 -4
- 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 +3 -0
- package/build/parser/byte/byte-writer.class.js.map +1 -1
- package/build/parser/context/context-reader.d.ts +6 -0
- package/build/parser/context/context-reader.d.ts.map +1 -0
- package/build/parser/context/context-reader.js +13 -0
- package/build/parser/context/context-reader.js.map +1 -0
- package/build/parser/context/context-writer.d.ts +6 -0
- package/build/parser/context/context-writer.d.ts.map +1 -0
- package/build/parser/context/context-writer.js +13 -0
- package/build/parser/context/context-writer.js.map +1 -0
- package/build/parser/context/context.d.ts +16 -0
- package/build/parser/context/context.d.ts.map +1 -0
- package/build/parser/context/context.js +3 -0
- package/build/parser/context/context.js.map +1 -0
- package/build/parser/error/parser.error.d.ts +3 -0
- package/build/parser/error/parser.error.d.ts.map +1 -1
- package/build/parser/error/parser.error.js +7 -1
- package/build/parser/error/parser.error.js.map +1 -1
- package/build/parser/parser.d.ts +5 -5
- package/build/parser/parser.d.ts.map +1 -1
- package/build/parser/parser.js +50 -22
- package/build/parser/parser.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-config-version.d.ts +10 -0
- package/build/parser/satisfactory/blueprint/blueprint-config-version.d.ts.map +1 -0
- package/build/parser/satisfactory/blueprint/blueprint-config-version.js +14 -0
- package/build/parser/satisfactory/blueprint/blueprint-config-version.js.map +1 -0
- package/build/parser/satisfactory/blueprint/blueprint-config.d.ts +21 -0
- package/build/parser/satisfactory/blueprint/blueprint-config.d.ts.map +1 -0
- package/build/parser/satisfactory/blueprint/blueprint-config.js +56 -0
- package/build/parser/satisfactory/blueprint/blueprint-config.js.map +1 -0
- package/build/parser/satisfactory/blueprint/blueprint-header.d.ts +24 -0
- package/build/parser/satisfactory/blueprint/blueprint-header.d.ts.map +1 -0
- package/build/parser/satisfactory/blueprint/blueprint-header.js +61 -0
- package/build/parser/satisfactory/blueprint/blueprint-header.js.map +1 -0
- package/build/parser/satisfactory/blueprint/blueprint-reader.d.ts +11 -14
- package/build/parser/satisfactory/blueprint/blueprint-reader.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-reader.js +15 -99
- package/build/parser/satisfactory/blueprint/blueprint-reader.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-writer.d.ts +6 -9
- package/build/parser/satisfactory/blueprint/blueprint-writer.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-writer.js +7 -39
- package/build/parser/satisfactory/blueprint/blueprint-writer.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint.types.d.ts +3 -16
- package/build/parser/satisfactory/blueprint/blueprint.types.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint.types.js.map +1 -1
- package/build/parser/satisfactory/edit/edit-constants.d.ts +80 -0
- package/build/parser/satisfactory/edit/edit-constants.d.ts.map +1 -1
- package/build/parser/satisfactory/edit/edit-constants.js +80 -0
- package/build/parser/satisfactory/edit/edit-constants.js.map +1 -1
- package/build/parser/satisfactory/save/factory-game-custom-version.d.ts +34 -0
- package/build/parser/satisfactory/save/factory-game-custom-version.d.ts.map +1 -0
- package/build/parser/satisfactory/save/factory-game-custom-version.js +39 -0
- package/build/parser/satisfactory/save/factory-game-custom-version.js.map +1 -0
- package/build/parser/satisfactory/save/level-to-destroyed-actors-map.d.ts +9 -0
- package/build/parser/satisfactory/save/level-to-destroyed-actors-map.d.ts.map +1 -0
- package/build/parser/satisfactory/save/level-to-destroyed-actors-map.js +32 -0
- package/build/parser/satisfactory/save/level-to-destroyed-actors-map.js.map +1 -0
- package/build/parser/satisfactory/save/level.class.d.ts +16 -10
- package/build/parser/satisfactory/save/level.class.d.ts.map +1 -1
- package/build/parser/satisfactory/save/level.class.js +70 -24
- package/build/parser/satisfactory/save/level.class.js.map +1 -1
- package/build/parser/satisfactory/save/object-references-list.d.ts +4 -4
- package/build/parser/satisfactory/save/object-references-list.d.ts.map +1 -1
- package/build/parser/satisfactory/save/object-references-list.js.map +1 -1
- package/build/parser/satisfactory/save/satisfactory-save-header.d.ts +29 -0
- package/build/parser/satisfactory/save/satisfactory-save-header.d.ts.map +1 -0
- package/build/parser/satisfactory/save/satisfactory-save-header.js +111 -0
- package/build/parser/satisfactory/save/satisfactory-save-header.js.map +1 -0
- package/build/parser/satisfactory/save/satisfactory-save.d.ts +6 -4
- package/build/parser/satisfactory/save/satisfactory-save.d.ts.map +1 -1
- package/build/parser/satisfactory/save/satisfactory-save.js +4 -1
- package/build/parser/satisfactory/save/satisfactory-save.js.map +1 -1
- package/build/parser/satisfactory/save/save-body-chunks.d.ts +25 -0
- package/build/parser/satisfactory/save/save-body-chunks.d.ts.map +1 -0
- package/build/parser/satisfactory/save/save-body-chunks.js +118 -0
- package/build/parser/satisfactory/save/save-body-chunks.js.map +1 -0
- package/build/parser/satisfactory/save/save-custom-version.d.ts +57 -0
- package/build/parser/satisfactory/save/save-custom-version.d.ts.map +1 -0
- package/build/parser/satisfactory/save/save-custom-version.js +62 -0
- package/build/parser/satisfactory/save/save-custom-version.js.map +1 -0
- package/build/parser/satisfactory/save/save-header-type.d.ts +18 -0
- package/build/parser/satisfactory/save/save-header-type.d.ts.map +1 -0
- package/build/parser/satisfactory/save/save-header-type.js +22 -0
- package/build/parser/satisfactory/save/save-header-type.js.map +1 -0
- package/build/parser/satisfactory/save/save-reader.d.ts +14 -12
- package/build/parser/satisfactory/save/save-reader.d.ts.map +1 -1
- package/build/parser/satisfactory/save/save-reader.js +32 -134
- package/build/parser/satisfactory/save/save-reader.js.map +1 -1
- package/build/parser/satisfactory/save/save-writer.d.ts +7 -9
- package/build/parser/satisfactory/save/save-writer.d.ts.map +1 -1
- package/build/parser/satisfactory/save/save-writer.js +8 -95
- package/build/parser/satisfactory/save/save-writer.js.map +1 -1
- package/build/parser/satisfactory/save/save.types.d.ts +5 -25
- 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/types/objects/SaveComponent.d.ts +6 -5
- package/build/parser/satisfactory/types/objects/SaveComponent.d.ts.map +1 -1
- package/build/parser/satisfactory/types/objects/SaveComponent.js +2 -2
- package/build/parser/satisfactory/types/objects/SaveComponent.js.map +1 -1
- package/build/parser/satisfactory/types/objects/SaveEntity.d.ts +7 -8
- package/build/parser/satisfactory/types/objects/SaveEntity.d.ts.map +1 -1
- package/build/parser/satisfactory/types/objects/SaveEntity.js +7 -10
- package/build/parser/satisfactory/types/objects/SaveEntity.js.map +1 -1
- package/build/parser/satisfactory/types/objects/SaveObject.d.ts +11 -9
- package/build/parser/satisfactory/types/objects/SaveObject.d.ts.map +1 -1
- package/build/parser/satisfactory/types/objects/SaveObject.js +17 -9
- package/build/parser/satisfactory/types/objects/SaveObject.js.map +1 -1
- package/build/parser/satisfactory/types/property/PropertiesList.d.ts +6 -6
- package/build/parser/satisfactory/types/property/PropertiesList.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/PropertiesList.js +7 -7
- package/build/parser/satisfactory/types/property/PropertiesList.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/BoolProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ByteProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/EnumProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/FloatProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int32Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int64Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int8Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/MapProperty.js +5 -5
- package/build/parser/satisfactory/types/property/generic/MapProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.js +4 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js +1 -2
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.d.ts +4 -4
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StrProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts +11 -15
- package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StructProperty.js +32 -36
- package/build/parser/satisfactory/types/property/generic/StructProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/TextProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint32Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint64Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts +6 -6
- package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint8Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.d.ts +25 -5
- package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.js +70 -44
- package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/CircuitSpecialProperties.d.ts +4 -4
- package/build/parser/satisfactory/types/property/special/CircuitSpecialProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/CircuitSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.d.ts +4 -4
- package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/ConveyorSpecialProperties.d.ts +4 -4
- package/build/parser/satisfactory/types/property/special/ConveyorSpecialProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/ConveyorSpecialProperties.js +2 -2
- package/build/parser/satisfactory/types/property/special/ConveyorSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/EmptySpecialProperties.d.ts +4 -4
- package/build/parser/satisfactory/types/property/special/EmptySpecialProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/EmptySpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/ObjectsListSpecialProperties.d.ts +4 -4
- package/build/parser/satisfactory/types/property/special/ObjectsListSpecialProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/ObjectsListSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/PlayerSpecialProperties.d.ts +4 -4
- 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.d.ts +4 -4
- package/build/parser/satisfactory/types/property/special/PowerLineSpecialProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/PowerLineSpecialProperties.js +12 -3
- package/build/parser/satisfactory/types/property/special/PowerLineSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/SpecialDroneActionProperties.d.ts +4 -4
- package/build/parser/satisfactory/types/property/special/SpecialDroneActionProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/SpecialDroneActionProperties.js +4 -4
- package/build/parser/satisfactory/types/property/special/SpecialDroneActionProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/SpecialProperties.d.ts +4 -4
- package/build/parser/satisfactory/types/property/special/SpecialProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/SpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/VehicleSpecialProperties.d.ts +6 -9
- package/build/parser/satisfactory/types/property/special/VehicleSpecialProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/VehicleSpecialProperties.js +3 -8
- package/build/parser/satisfactory/types/property/special/VehicleSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.d.ts +8 -0
- package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.js +12 -0
- package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.js.map +1 -0
- package/build/parser/satisfactory/types/structs/DynamicStructPropertyValue.d.ts +4 -4
- package/build/parser/satisfactory/types/structs/DynamicStructPropertyValue.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/DynamicStructPropertyValue.js +4 -4
- package/build/parser/satisfactory/types/structs/DynamicStructPropertyValue.js.map +1 -1
- package/build/parser/satisfactory/types/structs/FGDynamicStruct.d.ts +14 -0
- package/build/parser/satisfactory/types/structs/FGDynamicStruct.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/FGDynamicStruct.js +34 -0
- package/build/parser/satisfactory/types/structs/FGDynamicStruct.js.map +1 -0
- package/build/parser/satisfactory/types/structs/GUID.d.ts +4 -4
- package/build/parser/satisfactory/types/structs/GUID.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/GUID.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.map +1 -1
- package/build/parser/satisfactory/types/structs/MD5Hash.d.ts +4 -4
- package/build/parser/satisfactory/types/structs/MD5Hash.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/MD5Hash.js.map +1 -1
- package/build/parser/satisfactory/types/structs/ObjectReference.d.ts +5 -4
- package/build/parser/satisfactory/types/structs/ObjectReference.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/ObjectReference.js +1 -0
- package/build/parser/satisfactory/types/structs/ObjectReference.js.map +1 -1
- package/build/parser/satisfactory/types/structs/SoftObjectReference.d.ts +4 -4
- package/build/parser/satisfactory/types/structs/SoftObjectReference.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/SoftObjectReference.js.map +1 -1
- package/build/parser/satisfactory/types/structs/Transform.d.ts +6 -6
- package/build/parser/satisfactory/types/structs/Transform.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/Transform.js.map +1 -1
- package/build/parser/satisfactory/types/structs/VehiclePhysicsData.d.ts +17 -0
- package/build/parser/satisfactory/types/structs/VehiclePhysicsData.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/VehiclePhysicsData.js +26 -0
- package/build/parser/satisfactory/types/structs/VehiclePhysicsData.js.map +1 -0
- package/build/parser/satisfactory/types/structs/col4.d.ts +6 -6
- package/build/parser/satisfactory/types/structs/col4.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/col4.js.map +1 -1
- package/build/parser/satisfactory/types/structs/mods/FicsItCam/FICFrameRange.d.ts +4 -4
- package/build/parser/satisfactory/types/structs/mods/FicsItCam/FICFrameRange.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/mods/FicsItCam/FICFrameRange.js.map +1 -1
- package/build/parser/satisfactory/types/structs/vec2.d.ts +6 -6
- package/build/parser/satisfactory/types/structs/vec2.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/vec2.js.map +1 -1
- package/build/parser/satisfactory/types/structs/vec3.d.ts +8 -8
- package/build/parser/satisfactory/types/structs/vec3.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/vec3.js.map +1 -1
- package/build/parser/satisfactory/types/structs/vec4.d.ts +6 -6
- package/build/parser/satisfactory/types/structs/vec4.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/vec4.js.map +1 -1
- package/build/parser/stream/reworked/readable-stream-parser.d.ts +2 -2
- package/build/parser/stream/reworked/readable-stream-parser.d.ts.map +1 -1
- package/build/parser/stream/reworked/readable-stream-parser.js +59 -20
- package/build/parser/stream/reworked/readable-stream-parser.js.map +1 -1
- package/build/parser/stream/reworked/save-stream-json-stringifier.js +1 -1
- package/build/parser/stream/reworked/save-stream-json-stringifier.js.map +1 -1
- package/build/parser/stream/reworked/save-stream-writer.class.d.ts +2 -2
- package/build/parser/stream/reworked/save-stream-writer.class.d.ts.map +1 -1
- package/build/parser/stream/reworked/save-stream-writer.class.js.map +1 -1
- package/docs/assets/highlight.css +4 -4
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/BlueprintConfigReader.html +7 -6
- package/docs/classes/BlueprintConfigWriter.html +6 -4
- package/docs/classes/BlueprintReader.html +7 -5
- package/docs/classes/BlueprintWriter.html +6 -4
- package/docs/classes/CompressionLibraryError.html +2 -2
- package/docs/classes/CorruptBlueprintError.html +11 -0
- package/docs/classes/CorruptSaveError.html +2 -2
- package/docs/classes/Parser.html +13 -13
- package/docs/classes/ParserError.html +2 -2
- package/docs/classes/ReadableStreamParser.html +4 -4
- package/docs/classes/SatisfactorySave.html +3 -2
- package/docs/classes/SaveComponent.html +6 -5
- package/docs/classes/SaveEntity.html +6 -6
- package/docs/classes/SaveObject.html +6 -5
- package/docs/classes/SaveReader.html +11 -7
- package/docs/classes/SaveStreamJsonStringifier.html +2 -2
- package/docs/classes/SaveStreamWriter.html +2 -2
- package/docs/classes/SaveWriter.html +6 -4
- package/docs/classes/TimeoutError.html +2 -2
- package/docs/classes/UnimplementedError.html +2 -2
- package/docs/classes/UnsupportedVersionError.html +2 -2
- package/docs/enums/BlueprintConfigVersion.html +9 -0
- package/docs/enums/CompressionAlgorithmCode.html +2 -0
- package/docs/enums/FactoryGameCustomVersion.html +33 -0
- package/docs/enums/RuntimeBuildableInstanceDataVersion.html +7 -0
- package/docs/enums/SaveCustomVersion.html +64 -0
- package/docs/enums/SaveHeaderType.html +17 -0
- package/docs/functions/AbstractBaseProperty.Create.html +1 -1
- package/docs/functions/ArrayProperty.CalcOverhead.html +1 -1
- package/docs/functions/ArrayProperty.Parse.html +1 -1
- package/docs/functions/ArrayProperty.Serialize.html +1 -1
- package/docs/functions/BlueprintConfig.Parse.html +1 -0
- package/docs/functions/BlueprintConfig.Serialize.html +1 -0
- package/docs/functions/BlueprintHeader.Parse.html +1 -0
- package/docs/functions/BlueprintHeader.Serialize.html +1 -0
- package/docs/functions/BoolArrayProperty.Parse.html +1 -1
- package/docs/functions/BoolArrayProperty.Serialize.html +1 -1
- package/docs/functions/BoolProperty.CalcOverhead.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 -0
- package/docs/functions/BuildableTypeInstance.Serialize.html +1 -0
- package/docs/functions/ByteArrayProperty.Parse.html +1 -1
- package/docs/functions/ByteArrayProperty.Serialize.html +1 -1
- package/docs/functions/ByteProperty.CalcOverhead.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/DoubleArrayProperty.Parse.html +1 -1
- package/docs/functions/DoubleArrayProperty.Serialize.html +1 -1
- package/docs/functions/DoubleProperty.CalcOverhead.html +1 -1
- 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/EnumArrayProperty.Parse.html +1 -1
- package/docs/functions/EnumArrayProperty.Serialize.html +1 -1
- package/docs/functions/EnumProperty.CalcOverhead.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/FGDynamicStruct.Parse.html +1 -0
- package/docs/functions/FGDynamicStruct.Serialize.html +1 -0
- package/docs/functions/FICFrameRange.Parse.html +1 -1
- package/docs/functions/FICFrameRange.Serialize.html +1 -1
- package/docs/functions/FloatArrayProperty.Parse.html +1 -1
- package/docs/functions/FloatArrayProperty.Serialize.html +1 -1
- package/docs/functions/FloatProperty.CalcOverhead.html +1 -1
- 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/GUIDInfo.read.html +1 -1
- package/docs/functions/GUIDInfo.write.html +1 -1
- package/docs/functions/Int32ArrayProperty.Parse.html +1 -1
- package/docs/functions/Int32ArrayProperty.Serialize.html +1 -1
- package/docs/functions/Int32Property.CalcOverhead.html +1 -1
- package/docs/functions/Int32Property.Parse.html +1 -1
- package/docs/functions/Int32Property.ReadValue.html +1 -1
- package/docs/functions/Int32Property.Serialize.html +1 -1
- package/docs/functions/Int32Property.SerializeValue.html +1 -1
- package/docs/functions/Int32SetProperty.Parse.html +1 -1
- package/docs/functions/Int32SetProperty.Serialize.html +1 -1
- package/docs/functions/Int64ArrayProperty.Parse.html +1 -1
- package/docs/functions/Int64ArrayProperty.Serialize.html +1 -1
- package/docs/functions/Int64Property.CalcOverhead.html +1 -1
- 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.CalcOverhead.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/Level.ReadAllObjectContents.html +1 -1
- package/docs/functions/Level.ReadAllObjectHeaders.html +1 -1
- package/docs/functions/Level.ReadLevel.html +1 -1
- package/docs/functions/Level.ReadNObjectContents.html +1 -1
- package/docs/functions/Level.ReadNObjectHeaders.html +1 -1
- package/docs/functions/Level.SerializeAllObjectContents.html +1 -1
- package/docs/functions/Level.SerializeAllObjectHeaders.html +1 -1
- package/docs/functions/Level.SerializeLevel.html +1 -1
- package/docs/functions/MD5Hash.read.html +1 -1
- package/docs/functions/MD5Hash.write.html +1 -1
- package/docs/functions/MapProperty.CalcOverhead.html +1 -1
- package/docs/functions/MapProperty.Parse.html +1 -1
- package/docs/functions/MapProperty.Serialize.html +1 -1
- package/docs/functions/ObjectArrayProperty.Parse.html +1 -1
- package/docs/functions/ObjectArrayProperty.Serialize.html +1 -1
- package/docs/functions/ObjectProperty.CalcOverhead.html +1 -1
- 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 -0
- package/docs/functions/ObjectReference.read.html +1 -1
- package/docs/functions/ObjectReference.write.html +1 -1
- package/docs/functions/ObjectSetProperty.Parse.html +1 -1
- package/docs/functions/ObjectSetProperty.Serialize.html +1 -1
- package/docs/functions/ObjectsListSpecialProperties.Parse.html +1 -1
- package/docs/functions/ObjectsListSpecialProperties.Serialize.html +1 -1
- 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 -0
- package/docs/functions/SatisfactorySaveHeader.Serialize.html +1 -0
- package/docs/functions/SaveBodyChunks.CompressDataIntoChunks.html +1 -0
- package/docs/functions/SaveBodyChunks.DecompressChunks.html +1 -0
- package/docs/functions/SetProperty.CalcOverhead.html +1 -1
- package/docs/functions/SetProperty.Parse.html +1 -1
- package/docs/functions/SetProperty.Serialize.html +1 -1
- package/docs/functions/SoftObjectArrayProperty.Parse.html +1 -1
- package/docs/functions/SoftObjectArrayProperty.Serialize.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/StrArrayProperty.Parse.html +1 -1
- package/docs/functions/StrArrayProperty.Serialize.html +1 -1
- package/docs/functions/StrProperty.CalcOverhead.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/StrSetProperty.Parse.html +1 -1
- package/docs/functions/StrSetProperty.Serialize.html +1 -1
- package/docs/functions/StructArrayProperty.Parse.html +1 -1
- package/docs/functions/StructArrayProperty.Serialize.html +1 -1
- package/docs/functions/StructProperty.CalcOverhead.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/StructSetProperty.Parse.html +1 -1
- package/docs/functions/StructSetProperty.Serialize.html +1 -1
- package/docs/functions/TextArrayProperty.Parse.html +1 -1
- package/docs/functions/TextArrayProperty.Serialize.html +1 -1
- package/docs/functions/TextProperty.CalcOverhead.html +1 -1
- 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.CalcOverhead.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/Uint32SetProperty.Parse.html +1 -1
- package/docs/functions/Uint32SetProperty.Serialize.html +1 -1
- package/docs/functions/Uint64Property.CalcOverhead.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.CalcOverhead.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 -0
- package/docs/functions/VehiclePhysicsData.Serialize.html +1 -0
- 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/isBoolArrayProperty.html +1 -1
- package/docs/functions/isBoolProperty.html +1 -1
- package/docs/functions/isBuildableSubsystemSpecialProperties.html +1 -1
- package/docs/functions/isByteArrayProperty.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/isDoubleArrayProperty.html +1 -1
- package/docs/functions/isDoubleProperty.html +1 -1
- package/docs/functions/isEmptySpecialProperties.html +1 -1
- package/docs/functions/isEnumArrayProperty.html +1 -1
- package/docs/functions/isEnumProperty.html +1 -1
- package/docs/functions/isFloatArrayProperty.html +1 -1
- package/docs/functions/isFloatProperty.html +1 -1
- package/docs/functions/isInt32ArrayProperty.html +1 -1
- package/docs/functions/isInt32Property.html +1 -1
- package/docs/functions/isInt32SetProperty.html +1 -1
- package/docs/functions/isInt64ArrayProperty.html +1 -1
- package/docs/functions/isInt64Property.html +1 -1
- package/docs/functions/isInt8Property.html +1 -1
- package/docs/functions/isMapProperty.html +1 -1
- package/docs/functions/isObjectArrayProperty.html +1 -1
- package/docs/functions/isObjectProperty.html +1 -1
- package/docs/functions/isObjectSetProperty.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/isSoftObjectArrayProperty.html +1 -1
- package/docs/functions/isSpecialDroneActionProperties.html +1 -1
- package/docs/functions/isStrArrayProperty.html +1 -1
- package/docs/functions/isStrProperty.html +1 -1
- package/docs/functions/isStrSetProperty.html +1 -1
- package/docs/functions/isStructArrayProperty.html +1 -1
- package/docs/functions/isStructProperty.html +1 -1
- package/docs/functions/isStructSetProperty.html +1 -1
- package/docs/functions/isTextArrayProperty.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/isUint32SetProperty.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 +34 -21
- package/docs/interfaces/Blueprint.html +2 -2
- package/docs/interfaces/BlueprintConfig-1.html +8 -0
- package/docs/interfaces/SaveComponentHeader.html +3 -2
- package/docs/interfaces/SaveEntityHeader.html +3 -2
- package/docs/interfaces/SaveObjectHeader.html +3 -2
- package/docs/modules/AbstractBaseProperty.html +1 -1
- package/docs/modules/ArrayProperty.html +1 -1
- package/docs/modules/BlueprintConfig.html +3 -0
- package/docs/modules/BlueprintHeader.html +3 -0
- package/docs/modules/BoolArrayProperty.html +1 -1
- package/docs/modules/BoolProperty.html +1 -1
- package/docs/modules/BuildableSubsystemSpecialProperties.html +1 -1
- package/docs/modules/BuildableTypeInstance.html +3 -0
- package/docs/modules/ByteArrayProperty.html +1 -1
- package/docs/modules/ByteProperty.html +1 -1
- package/docs/modules/CircuitSpecialProperties.html +1 -1
- package/docs/modules/ConveyorChainActorSpecialProperties.html +1 -1
- package/docs/modules/ConveyorSpecialProperties.html +1 -1
- package/docs/modules/DoubleArrayProperty.html +1 -1
- package/docs/modules/DoubleProperty.html +1 -1
- package/docs/modules/DynamicStructPropertyValue.html +1 -1
- package/docs/modules/EmptySpecialProperties.html +1 -1
- package/docs/modules/EnumArrayProperty.html +1 -1
- package/docs/modules/EnumProperty.html +1 -1
- package/docs/modules/FGDynamicStruct.html +3 -0
- package/docs/modules/FICFrameRange.html +1 -1
- package/docs/modules/FloatArrayProperty.html +1 -1
- package/docs/modules/FloatProperty.html +1 -1
- package/docs/modules/GUID.html +1 -1
- package/docs/modules/GUIDInfo.html +1 -1
- package/docs/modules/Int32ArrayProperty.html +1 -1
- package/docs/modules/Int32Property.html +1 -1
- package/docs/modules/Int32SetProperty.html +1 -1
- package/docs/modules/Int64ArrayProperty.html +1 -1
- package/docs/modules/Int64Property.html +1 -1
- package/docs/modules/Int8Property.html +1 -1
- package/docs/modules/Level.html +1 -1
- package/docs/modules/MD5Hash.html +1 -1
- package/docs/modules/MapProperty.html +1 -1
- package/docs/modules/ObjectArrayProperty.html +1 -1
- package/docs/modules/ObjectProperty.html +1 -1
- package/docs/modules/ObjectReference.html +2 -1
- package/docs/modules/ObjectSetProperty.html +1 -1
- package/docs/modules/ObjectsListSpecialProperties.html +1 -1
- package/docs/modules/PlayerSpecialProperties.html +1 -1
- package/docs/modules/PowerLineSpecialProperties.html +1 -1
- package/docs/modules/PropertiesList.html +1 -1
- package/docs/modules/SatisfactorySaveHeader.html +3 -0
- package/docs/modules/SaveBodyChunks.html +5 -0
- package/docs/modules/SetProperty.html +1 -1
- package/docs/modules/SoftObjectArrayProperty.html +1 -1
- package/docs/modules/SoftObjectReference.html +1 -1
- package/docs/modules/SpecialDroneActionProperties.html +1 -1
- package/docs/modules/SpecialProperties.html +1 -1
- package/docs/modules/StrArrayProperty.html +1 -1
- package/docs/modules/StrProperty.html +1 -1
- package/docs/modules/StrSetProperty.html +1 -1
- package/docs/modules/StructArrayProperty.html +1 -1
- package/docs/modules/StructProperty.html +1 -1
- package/docs/modules/StructSetProperty.html +1 -1
- package/docs/modules/TextArrayProperty.html +1 -1
- package/docs/modules/TextProperty.html +1 -1
- package/docs/modules/Transform.html +1 -1
- package/docs/modules/Uint32Property.html +1 -1
- package/docs/modules/Uint32SetProperty.html +1 -1
- package/docs/modules/Uint64Property.html +1 -1
- package/docs/modules/Uint8Property.html +1 -1
- package/docs/modules/VehiclePhysicsData.html +3 -0
- package/docs/modules/VehicleSpecialProperties.html +1 -1
- package/docs/modules/col4.html +1 -1
- package/docs/modules/vec2.html +1 -1
- package/docs/modules/vec3.html +1 -1
- package/docs/modules/vec4.html +1 -1
- package/docs/modules.html +31 -7
- package/docs/types/AbstractBaseProperty-1.html +1 -1
- package/docs/types/ArrayProperty.AvailableArrayPropertyTypes.html +1 -1
- package/docs/types/ArrayPropertyStructValueFields.html +1 -1
- package/docs/types/BasicMultipleStructPropertyValue.html +1 -1
- package/docs/types/BasicStructPropertyValue.html +1 -1
- package/docs/types/BlueprintHeader-1.html +1 -0
- package/docs/types/BoolArrayProperty-1.html +1 -1
- package/docs/types/BoolProperty-1.html +1 -1
- package/docs/types/BoxStructPropertyValue.html +1 -1
- package/docs/types/BuildableSubsystemSpecialProperties-1.html +1 -1
- package/docs/types/BuildableTypeInstance-1.html +1 -0
- package/docs/types/ByteArray4.html +1 -0
- package/docs/types/ByteArrayProperty-1.html +1 -1
- package/docs/types/ByteProperty-1.html +1 -1
- package/docs/types/BytePropertyValue.html +1 -1
- package/docs/types/ChunkCompressionInfo.html +1 -0
- package/docs/types/ChunkSummary.html +1 -0
- package/docs/types/CircuitSpecialProperties-1.html +1 -1
- package/docs/types/ClientIdentityInfo.html +1 -1
- package/docs/types/ConveyorChainActorSpecialProperties-1.html +1 -1
- package/docs/types/ConveyorChainSegmentSpecialProperties.html +1 -1
- package/docs/types/ConveyorItemSpecialProperties.html +1 -1
- package/docs/types/ConveyorSpecialProperties-1.html +1 -1
- package/docs/types/DoubleArrayProperty-1.html +1 -1
- package/docs/types/DoubleProperty-1.html +1 -1
- package/docs/types/DynamicStructPropertyValue-1.html +1 -1
- package/docs/types/EmptySpecialProperties-1.html +1 -1
- package/docs/types/EnumArrayProperty-1.html +1 -1
- package/docs/types/EnumProperty-1.html +1 -1
- package/docs/types/FGDynamicStruct-1.html +1 -0
- package/docs/types/FICFrameRange-1.html +1 -1
- package/docs/types/FICFrameRangeStructPropertyValue.html +1 -1
- package/docs/types/FloatArrayProperty-1.html +1 -1
- package/docs/types/FloatProperty-1.html +1 -1
- 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-1.html +1 -1
- package/docs/types/GUIDInfo-1.html +1 -1
- package/docs/types/Grids.html +1 -0
- package/docs/types/Int32ArrayProperty-1.html +1 -1
- package/docs/types/Int32Property-1.html +1 -1
- package/docs/types/Int32SetProperty-1.html +1 -1
- package/docs/types/Int64ArrayProperty-1.html +1 -1
- package/docs/types/Int64Property-1.html +1 -1
- package/docs/types/Int8Property-1.html +1 -1
- package/docs/types/InventoryItemStructPropertyValue.html +1 -1
- package/docs/types/Level-1.html +3 -1
- package/docs/types/Levels.html +1 -0
- package/docs/types/MAP_STRUCT_KEY_PROXY.html +1 -1
- package/docs/types/MD5Hash-1.html +1 -1
- package/docs/types/MapProperty-1.html +1 -1
- package/docs/types/ModData.html +1 -0
- package/docs/types/ObjectArrayProperty-1.html +1 -1
- package/docs/types/ObjectProperty-1.html +1 -1
- package/docs/types/ObjectReference-1.html +1 -1
- package/docs/types/ObjectSetProperty-1.html +1 -1
- package/docs/types/ObjectsListSpecialProperties-1.html +1 -1
- package/docs/types/PlayerSpecialProperties-1.html +1 -1
- package/docs/types/PowerLineSpecialProperties-1.html +1 -1
- package/docs/types/PropertiesMap.html +1 -1
- package/docs/types/RailroadTrackPositionStructPropertyValue.html +1 -1
- package/docs/types/RoughSaveVersion.html +1 -1
- package/docs/types/SatisfactoryModMetadata.html +1 -0
- package/docs/types/SatisfactorySaveHeader-1.html +1 -0
- package/docs/types/SaveBodyChunks-1.html +1 -0
- package/docs/types/SaveBodyValidation.html +1 -0
- package/docs/types/SetProperty.AvailableSetPropertyTypes.html +1 -1
- package/docs/types/SoftObjectArrayProperty-1.html +1 -1
- package/docs/types/SoftObjectReference-1.html +1 -1
- package/docs/types/SpecialDroneAction.html +1 -1
- package/docs/types/SpecialDroneActionProperties-1.html +1 -1
- package/docs/types/SpecialProperties.AvailableSpecialPropertiesTypes.html +1 -1
- package/docs/types/StrArrayProperty-1.html +1 -1
- package/docs/types/StrProperty-1.html +1 -1
- package/docs/types/StrSetProperty-1.html +1 -1
- package/docs/types/StructArrayProperty-1.html +1 -1
- package/docs/types/StructProperty-1.html +1 -1
- package/docs/types/StructSetProperty-1.html +1 -1
- package/docs/types/TextArrayProperty-1.html +1 -1
- package/docs/types/TextProperty-1.html +1 -1
- package/docs/types/TextPropertyValue.html +1 -1
- package/docs/types/Transform-1.html +1 -1
- package/docs/types/Uint32Property-1.html +1 -1
- package/docs/types/Uint32SetProperty-1.html +1 -1
- package/docs/types/Uint64Property-1.html +1 -1
- package/docs/types/Uint8Property-1.html +1 -1
- package/docs/types/VehiclePhysicsData-1.html +1 -0
- package/docs/types/VehicleSpecialProperties-1.html +1 -1
- package/docs/types/col4-1.html +1 -1
- package/docs/types/vec2-1.html +1 -1
- package/docs/types/vec3-1.html +1 -1
- package/docs/types/vec4-1.html +1 -1
- package/docs/variables/DEFAULT_SATISFACTORY_CHUNK_HEADER_SIZE.html +1 -0
- package/docs/variables/EDIT.html +1 -1
- package/docs/variables/SaveBodyChunks.HEADER_V1.html +1 -0
- package/docs/variables/SaveBodyChunks.HEADER_V2.html +1 -0
- package/package.json +3 -1
- package/docs/interfaces/BlueprintConfig.html +0 -6
- package/docs/interfaces/ModData.html +0 -4
- package/docs/interfaces/SatisfactoryModMetadata.html +0 -4
- package/docs/interfaces/SatisfactorySaveHeader.html +0 -18
- package/docs/types/BlueprintHeader.html +0 -1
- package/docs/types/BuildableTypeInstance.html +0 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare enum FactoryGameCustomVersion {
|
|
2
|
+
BeforeCustomVersionWasAdded = 0,
|
|
3
|
+
ItemPickupGotInventoryStack = 1,
|
|
4
|
+
InventoryItemGotPersistantSeralization = 2,
|
|
5
|
+
MovedPreviewDistanceToDescriptor = 3,
|
|
6
|
+
MovedPreviewDistanceToItemView = 4,
|
|
7
|
+
MovedBuildCategory = 5,
|
|
8
|
+
RenamedTechOnionRingIndexToTechTier = 6,
|
|
9
|
+
RemovedRandomizedSchematicCosts = 7,
|
|
10
|
+
RenamedArmsAnimClass = 8,
|
|
11
|
+
ChangedItemViewFocus = 9,
|
|
12
|
+
AddedLargeIcons = 10,
|
|
13
|
+
CookResearchRecipes = 11,
|
|
14
|
+
ChangedFuelClassesStorage = 12,
|
|
15
|
+
RefactoredUnlockSystem = 13,
|
|
16
|
+
RefactoredSchematicCategoryType = 14,
|
|
17
|
+
RenamedPostProcessMembersOfHeightFog = 15,
|
|
18
|
+
MisplacedVersion = 16,
|
|
19
|
+
RenamedSchematicShipTravelTime = 17,
|
|
20
|
+
RefactorSchematicDependencies = 18,
|
|
21
|
+
RefactorUnlockScannableResources = 19,
|
|
22
|
+
RefactorDialogueData = 20,
|
|
23
|
+
RefactorDescriptors = 21,
|
|
24
|
+
CachedSaveActors = 22,
|
|
25
|
+
RemovedCachedSaveActors = 23,
|
|
26
|
+
ExponentialHeightFogAttributesRenamed = 24,
|
|
27
|
+
CyclicCurveDeprecated = 25,
|
|
28
|
+
MigratedUserSettingsToManagerClass = 26,
|
|
29
|
+
AlwaysSerializeRailroadTrackPositions = 27,
|
|
30
|
+
MisplacedVersion2 = 28,
|
|
31
|
+
VersionPlusOne = 29,
|
|
32
|
+
LatestVersion = 28
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=factory-game-custom-version.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"factory-game-custom-version.d.ts","sourceRoot":"","sources":["../../../../src/parser/satisfactory/save/factory-game-custom-version.ts"],"names":[],"mappings":"AAKA,oBAAY,wBAAwB;IAEhC,2BAA2B,IAAI;IAG/B,2BAA2B,IAAA;IAG3B,sCAAsC,IAAA;IAGtC,gCAAgC,IAAA;IAGhC,8BAA8B,IAAA;IAG9B,kBAAkB,IAAA;IAGlB,mCAAmC,IAAA;IAGnC,+BAA+B,IAAA;IAG/B,oBAAoB,IAAA;IAGpB,oBAAoB,IAAA;IAGpB,eAAe,KAAA;IAGf,mBAAmB,KAAA;IAGnB,yBAAyB,KAAA;IAGzB,sBAAsB,KAAA;IAGtB,+BAA+B,KAAA;IAG/B,oCAAoC,KAAA;IAGpC,gBAAgB,KAAA;IAGhB,8BAA8B,KAAA;IAG9B,6BAA6B,KAAA;IAG7B,gCAAgC,KAAA;IAGhC,oBAAoB,KAAA;IAGpB,mBAAmB,KAAA;IAGnB,gBAAgB,KAAA;IAGhB,uBAAuB,KAAA;IAGvB,qCAAqC,KAAA;IAGrC,qBAAqB,KAAA;IAGrB,kCAAkC,KAAA;IAGlC,qCAAqC,KAAA;IAGrC,iBAAiB,KAAA;IAGjB,cAAc,KAAA;IACd,aAAa,KAAqB;CACrC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FactoryGameCustomVersion = void 0;
|
|
4
|
+
var FactoryGameCustomVersion;
|
|
5
|
+
(function (FactoryGameCustomVersion) {
|
|
6
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["BeforeCustomVersionWasAdded"] = 0] = "BeforeCustomVersionWasAdded";
|
|
7
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["ItemPickupGotInventoryStack"] = 1] = "ItemPickupGotInventoryStack";
|
|
8
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["InventoryItemGotPersistantSeralization"] = 2] = "InventoryItemGotPersistantSeralization";
|
|
9
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["MovedPreviewDistanceToDescriptor"] = 3] = "MovedPreviewDistanceToDescriptor";
|
|
10
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["MovedPreviewDistanceToItemView"] = 4] = "MovedPreviewDistanceToItemView";
|
|
11
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["MovedBuildCategory"] = 5] = "MovedBuildCategory";
|
|
12
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["RenamedTechOnionRingIndexToTechTier"] = 6] = "RenamedTechOnionRingIndexToTechTier";
|
|
13
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["RemovedRandomizedSchematicCosts"] = 7] = "RemovedRandomizedSchematicCosts";
|
|
14
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["RenamedArmsAnimClass"] = 8] = "RenamedArmsAnimClass";
|
|
15
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["ChangedItemViewFocus"] = 9] = "ChangedItemViewFocus";
|
|
16
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["AddedLargeIcons"] = 10] = "AddedLargeIcons";
|
|
17
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["CookResearchRecipes"] = 11] = "CookResearchRecipes";
|
|
18
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["ChangedFuelClassesStorage"] = 12] = "ChangedFuelClassesStorage";
|
|
19
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["RefactoredUnlockSystem"] = 13] = "RefactoredUnlockSystem";
|
|
20
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["RefactoredSchematicCategoryType"] = 14] = "RefactoredSchematicCategoryType";
|
|
21
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["RenamedPostProcessMembersOfHeightFog"] = 15] = "RenamedPostProcessMembersOfHeightFog";
|
|
22
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["MisplacedVersion"] = 16] = "MisplacedVersion";
|
|
23
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["RenamedSchematicShipTravelTime"] = 17] = "RenamedSchematicShipTravelTime";
|
|
24
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["RefactorSchematicDependencies"] = 18] = "RefactorSchematicDependencies";
|
|
25
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["RefactorUnlockScannableResources"] = 19] = "RefactorUnlockScannableResources";
|
|
26
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["RefactorDialogueData"] = 20] = "RefactorDialogueData";
|
|
27
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["RefactorDescriptors"] = 21] = "RefactorDescriptors";
|
|
28
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["CachedSaveActors"] = 22] = "CachedSaveActors";
|
|
29
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["RemovedCachedSaveActors"] = 23] = "RemovedCachedSaveActors";
|
|
30
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["ExponentialHeightFogAttributesRenamed"] = 24] = "ExponentialHeightFogAttributesRenamed";
|
|
31
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["CyclicCurveDeprecated"] = 25] = "CyclicCurveDeprecated";
|
|
32
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["MigratedUserSettingsToManagerClass"] = 26] = "MigratedUserSettingsToManagerClass";
|
|
33
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["AlwaysSerializeRailroadTrackPositions"] = 27] = "AlwaysSerializeRailroadTrackPositions";
|
|
34
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["MisplacedVersion2"] = 28] = "MisplacedVersion2";
|
|
35
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["VersionPlusOne"] = 29] = "VersionPlusOne";
|
|
36
|
+
FactoryGameCustomVersion[FactoryGameCustomVersion["LatestVersion"] = 28] = "LatestVersion";
|
|
37
|
+
})(FactoryGameCustomVersion || (exports.FactoryGameCustomVersion = FactoryGameCustomVersion = {}));
|
|
38
|
+
;
|
|
39
|
+
//# sourceMappingURL=factory-game-custom-version.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"factory-game-custom-version.js","sourceRoot":"","sources":["../../../../src/parser/satisfactory/save/factory-game-custom-version.ts"],"names":[],"mappings":";;;AAKA,IAAY,wBA2FX;AA3FD,WAAY,wBAAwB;IAEhC,qHAA+B,CAAA;IAG/B,qHAA2B,CAAA;IAG3B,2IAAsC,CAAA;IAGtC,+HAAgC,CAAA;IAGhC,2HAA8B,CAAA;IAG9B,mGAAkB,CAAA;IAGlB,qIAAmC,CAAA;IAGnC,6HAA+B,CAAA;IAG/B,uGAAoB,CAAA;IAGpB,uGAAoB,CAAA;IAGpB,8FAAe,CAAA;IAGf,sGAAmB,CAAA;IAGnB,kHAAyB,CAAA;IAGzB,4GAAsB,CAAA;IAGtB,8HAA+B,CAAA;IAG/B,wIAAoC,CAAA;IAGpC,gGAAgB,CAAA;IAGhB,4HAA8B,CAAA;IAG9B,0HAA6B,CAAA;IAG7B,gIAAgC,CAAA;IAGhC,wGAAoB,CAAA;IAGpB,sGAAmB,CAAA;IAGnB,gGAAgB,CAAA;IAGhB,8GAAuB,CAAA;IAGvB,0IAAqC,CAAA;IAGrC,0GAAqB,CAAA;IAGrB,oIAAkC,CAAA;IAGlC,0IAAqC,CAAA;IAGrC,kGAAiB,CAAA;IAGjB,4FAAc,CAAA;IACd,0FAAkC,CAAA;AACtC,CAAC,EA3FW,wBAAwB,wCAAxB,wBAAwB,QA2FnC;AAAA,CAAC","sourcesContent":["\n\n/***\n * Source: FactoryGame.h\n */\nexport enum FactoryGameCustomVersion {\n // Before any version changes were made\n BeforeCustomVersionWasAdded = 0,\n\n // 2017-06-02: Moved mNumItems and mPickupClass into mPickupItems in FGItemPickup\n ItemPickupGotInventoryStack,\n\n // 2017-06-17: Added persistent serialization to inventory items\n InventoryItemGotPersistantSeralization,\n\n // 2017-08-23: Moved mPreviewDistance from Vehicle and Buildable to FGItemDescriptor\n MovedPreviewDistanceToDescriptor,\n\n // 2017-08-29: Moved mPreviewDistance into FItemView\n MovedPreviewDistanceToItemView,\n\n // 2017-09-08: Moved mBuildCategory from FGBuildingDescriptor to new base FGBuildDescriptor\n MovedBuildCategory,\n\n // 2017-11-09: In FGSchematic renamed mTechOnionRingIndex to mTechTier\n RenamedTechOnionRingIndexToTechTier,\n\n // 2017-11-14: Removed alternative costs that are randomized.\n RemovedRandomizedSchematicCosts,\n\n // 2017-12-12: Renamed ArmsAnimClass in equipment\n RenamedArmsAnimClass,\n\n // 2018-02-23: FItemView changed FocalZOffset to FocalOffset\n ChangedItemViewFocus,\n\n // 2018-09-17: Added support for large icons\n AddedLargeIcons,\n\n // 2019-04-08: Changed ExcludedInBuild to IncludedInBuild with research recipes\n CookResearchRecipes,\n\n // 2019-04-24: Changed so that fuel classes default values are separated from what's replicated to clients\n ChangedFuelClassesStorage,\n\n // 2019-10-02: Refactored unlock system and migrated schematic data to new unlock system\n RefactoredUnlockSystem,\n\n // 2019-11-13: Refactored schematic category type from enum based to object based\n RefactoredSchematicCategoryType,\n\n // 2019-11-18: Renamed members of FGExponentialHeightFog\n RenamedPostProcessMembersOfHeightFog,\n\n // 2020-02-06: Meant to be in save custom version but misplaced it and now assets have been saved with it so don't want to remove it. \n MisplacedVersion,\n\n // 2020-02-21: Renamed mShipTravelTimeAfterPurchase to mTimeToComplete\n RenamedSchematicShipTravelTime,\n\n // 2020-03-24: Migrate the schematic dependencies to use the UFGAvailabilityDependency\n RefactorSchematicDependencies,\n\n // 2020-03-24: Add support for specific resource node types in the FGUnlockableScannableResource\n RefactorUnlockScannableResources,\n\n // 2021-05-05: Expand dialogue data for audio messages \n RefactorDialogueData,\n\n // 2021-08-12: Moved variables and functions from BuildDescriptor to ItemDescriptor\n RefactorDescriptors,\n\n // 2021-12-03: Add support for sublevel saving. World actors are now cached in FGWorldSettings\n CachedSaveActors,\n\n // 2022-12-07: Removed the afore-mentioned cached actors array\n RemovedCachedSaveActors,\n\n // 2023-01-09: Some attributes of Exponential Height Fog were renamed and changes were matched in UFGBiome\n ExponentialHeightFogAttributesRenamed,\n\n // 2023-01-10: Cyclic curves were converted to plain curves in UFGBiome to get rid of the custom UI for the former\n CyclicCurveDeprecated,\n\n // 2023-07-14: Migrated FGUserSetting assets to use the ManagerAvailability UClass*, changed the default to be None instead of Options\n MigratedUserSettingsToManagerClass,\n\n // 2023-07-18: Always serialize FGRailroadTrackPosition, as opposed to only doing it for SaveGames. Fixes it not being serialized in hologram construction message\n AlwaysSerializeRailroadTrackPositions,\n\n // 2023-09-15: Same as MisplacedVersion, meant to place it into the save custom version, but now assets are saved with it.\n MisplacedVersion2,\n\n // -----<new versions can be added above this line>-------------------------------------------------\n VersionPlusOne,\n LatestVersion = VersionPlusOne - 1\n};"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ContextReader } from '../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../context/context-writer';
|
|
3
|
+
import { ObjectReference } from '../types/structs/ObjectReference';
|
|
4
|
+
export type LevelToDestroyedActorsMap = Record<string, ObjectReference[]>;
|
|
5
|
+
export declare namespace LevelToDestroyedActorsMap {
|
|
6
|
+
const read: (reader: ContextReader) => LevelToDestroyedActorsMap;
|
|
7
|
+
const write: (writer: ContextWriter, map: LevelToDestroyedActorsMap) => void;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=level-to-destroyed-actors-map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"level-to-destroyed-actors-map.d.ts","sourceRoot":"","sources":["../../../../src/parser/satisfactory/save/level-to-destroyed-actors-map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC,MAAM,EAAE,eAAe,EAAE,CAAC,CAAC;AAE1E,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,IAAI,WAAY,aAAa,KAAG,yBAa5C,CAAA;IAEM,MAAM,KAAK,WAAY,aAAa,OAAO,yBAAyB,SAU1E,CAAA;CACJ"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LevelToDestroyedActorsMap = void 0;
|
|
4
|
+
const ObjectReference_1 = require("../types/structs/ObjectReference");
|
|
5
|
+
var LevelToDestroyedActorsMap;
|
|
6
|
+
(function (LevelToDestroyedActorsMap) {
|
|
7
|
+
LevelToDestroyedActorsMap.read = (reader) => {
|
|
8
|
+
const count = reader.readInt32();
|
|
9
|
+
const map = {};
|
|
10
|
+
for (let i = 0; i < count; i++) {
|
|
11
|
+
const key = reader.readString();
|
|
12
|
+
const elements = [];
|
|
13
|
+
const elementCount = reader.readInt32();
|
|
14
|
+
for (let j = 0; j < elementCount; j++) {
|
|
15
|
+
elements.push(ObjectReference_1.ObjectReference.read(reader));
|
|
16
|
+
}
|
|
17
|
+
map[key] = elements;
|
|
18
|
+
}
|
|
19
|
+
return map;
|
|
20
|
+
};
|
|
21
|
+
LevelToDestroyedActorsMap.write = (writer, map) => {
|
|
22
|
+
writer.writeInt32(Object.keys(map).length);
|
|
23
|
+
for (const entry of Object.entries(map)) {
|
|
24
|
+
writer.writeString(entry[0]);
|
|
25
|
+
writer.writeInt32(Object.keys(entry[1]).length);
|
|
26
|
+
for (const actor of entry[1]) {
|
|
27
|
+
ObjectReference_1.ObjectReference.write(writer, actor);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
})(LevelToDestroyedActorsMap || (exports.LevelToDestroyedActorsMap = LevelToDestroyedActorsMap = {}));
|
|
32
|
+
//# sourceMappingURL=level-to-destroyed-actors-map.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"level-to-destroyed-actors-map.js","sourceRoot":"","sources":["../../../../src/parser/satisfactory/save/level-to-destroyed-actors-map.ts"],"names":[],"mappings":";;;AAEA,sEAAmE;AAInE,IAAiB,yBAAyB,CA2BzC;AA3BD,WAAiB,yBAAyB;IACzB,8BAAI,GAAG,CAAC,MAAqB,EAA6B,EAAE;QACrE,MAAM,KA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ent":["import { ContextReader } from '../../context/context-reader';\nimport { ContextWriter } from '../../context/context-writer';\nimport { ObjectReference } from '../types/structs/ObjectReference';\n\nexport type LevelToDestroyedActorsMap = Record<string, ObjectReference[]>;\n\nexport namespace LevelToDestroyedActorsMap {\n export const read = (reader: ContextReader): LevelToDestroyedActorsMap => {\n const count = reader.readInt32();\n const map: Record<string, ObjectReference[]> = {};\n for (let i = 0; i < count; i++) {\n const key = reader.readString();\n const elements: ObjectReference[] = [];\n const elementCount = reader.readInt32();\n for (let j = 0; j < elementCount; j++) {\n elements.push(ObjectReference.read(reader));\n }\n map[key] = elements;\n }\n return map;\n }\n\n export const write = (writer: ContextWriter, map: LevelToDestroyedActorsMap) => {\n writer.writeInt32(Object.keys(map).length);\n for (const entry of Object.entries(map)) {\n writer.writeString(entry[0]);\n\n writer.writeInt32(Object.keys(entry[1]).length);\n for (const actor of entry[1]) {\n ObjectReference.write(writer, actor);\n }\n }\n }\n}"]}
|
|
@@ -1,23 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ContextReader } from '../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../context/context-writer';
|
|
3
3
|
import { SaveComponent } from "../types/objects/SaveComponent";
|
|
4
4
|
import { SaveEntity } from "../types/objects/SaveEntity";
|
|
5
5
|
import { SaveObject } from "../types/objects/SaveObject";
|
|
6
6
|
import { ObjectReference } from "../types/structs/ObjectReference";
|
|
7
|
+
import { LevelToDestroyedActorsMap } from './level-to-destroyed-actors-map';
|
|
7
8
|
import { SaveReader } from './save-reader';
|
|
8
9
|
export type Level = {
|
|
9
10
|
name: string;
|
|
10
11
|
objects: (SaveEntity | SaveComponent)[];
|
|
11
12
|
collectables: ObjectReference[];
|
|
13
|
+
saveCustomVersion?: number;
|
|
14
|
+
destroyedActorsMap?: LevelToDestroyedActorsMap;
|
|
15
|
+
};
|
|
16
|
+
export type Levels = {
|
|
17
|
+
[levelName: string]: Level;
|
|
12
18
|
};
|
|
13
19
|
export declare namespace Level {
|
|
14
|
-
const ReadLevel: (reader: SaveReader, levelName: string
|
|
15
|
-
const SerializeLevel: (writer:
|
|
16
|
-
const ReadAllObjectContents: (levelName: string, reader:
|
|
17
|
-
const ReadNObjectContents: (reader:
|
|
18
|
-
const SerializeAllObjectContents: (writer:
|
|
19
|
-
const ReadAllObjectHeaders: (reader:
|
|
20
|
-
const ReadNObjectHeaders: (reader:
|
|
21
|
-
const SerializeAllObjectHeaders: (writer:
|
|
20
|
+
const ReadLevel: (reader: SaveReader, levelName: string) => Level;
|
|
21
|
+
const SerializeLevel: (writer: ContextWriter, level: Level) => void;
|
|
22
|
+
const ReadAllObjectContents: (levelName: string, reader: ContextReader, objectsList: SaveObject[], onProgressCallback: (progress: number, msg?: string) => void) => void;
|
|
23
|
+
const ReadNObjectContents: (reader: ContextReader, count: number, objects: SaveObject[], objectListOffset?: number, buildVersion?: number) => void;
|
|
24
|
+
const SerializeAllObjectContents: (writer: ContextWriter, objects: (SaveEntity | SaveComponent)[], levelName: string) => void;
|
|
25
|
+
const ReadAllObjectHeaders: (reader: ContextReader, objectsList: SaveObject[]) => void;
|
|
26
|
+
const ReadNObjectHeaders: (reader: ContextReader, count: number) => (SaveEntity | SaveComponent)[];
|
|
27
|
+
const SerializeAllObjectHeaders: (writer: ContextWriter, objects: (SaveEntity | SaveComponent)[]) => void;
|
|
22
28
|
}
|
|
23
29
|
//# sourceMappingURL=level.class.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"level.class.d.ts","sourceRoot":"","sources":["../../../../src/parser/satisfactory/save/level.class.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"level.class.d.ts","sourceRoot":"","sources":["../../../../src/parser/satisfactory/save/level.class.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE7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IAEM,MAAM,kBAAkB,WAAY,aAAa,SAAS,MAAM,KAAG,CAAC,UAAU,GAAG,aAAa,CAAC,EAsBrG,CAAA;IAEM,MAAM,yBAAyB,WAAY,aAAa,WAAW,CAAC,UAAU,GAAG,aAAa,CAAC,EAAE,KAAG,IAkB1G,CAAA;CACD"}
|
|
@@ -4,56 +4,92 @@ exports.Level = void 0;
|
|
|
4
4
|
const parser_error_1 = require("../../error/parser.error");
|
|
5
5
|
const SaveComponent_1 = require("../types/objects/SaveComponent");
|
|
6
6
|
const SaveEntity_1 = require("../types/objects/SaveEntity");
|
|
7
|
+
const level_to_destroyed_actors_map_1 = require("./level-to-destroyed-actors-map");
|
|
7
8
|
const object_references_list_1 = require("./object-references-list");
|
|
9
|
+
const save_custom_version_1 = require("./save-custom-version");
|
|
8
10
|
var Level;
|
|
9
11
|
(function (Level) {
|
|
10
|
-
Level.ReadLevel = (reader, levelName
|
|
12
|
+
Level.ReadLevel = (reader, levelName) => {
|
|
11
13
|
const level = {
|
|
12
14
|
name: levelName,
|
|
13
15
|
objects: [],
|
|
14
16
|
collectables: []
|
|
15
17
|
};
|
|
16
18
|
const headersBinLen = reader.readInt32();
|
|
17
|
-
reader.
|
|
19
|
+
if (reader.context.saveVersion >= save_custom_version_1.SaveCustomVersion.UnrealEngine5) {
|
|
20
|
+
reader.readInt32Zero();
|
|
21
|
+
}
|
|
18
22
|
const posBeforeHeaders = reader.getBufferPosition();
|
|
19
23
|
Level.ReadAllObjectHeaders(reader, level.objects);
|
|
20
24
|
let remainingSize = headersBinLen - (reader.getBufferPosition() - posBeforeHeaders);
|
|
21
25
|
if (remainingSize > 0) {
|
|
22
|
-
|
|
26
|
+
if (levelName === reader.context.mapName) {
|
|
27
|
+
level.destroyedActorsMap = level_to_destroyed_actors_map_1.LevelToDestroyedActorsMap.read(reader);
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
level.collectables = object_references_list_1.ObjectReferencesList.ReadList(reader);
|
|
31
|
+
}
|
|
23
32
|
}
|
|
24
33
|
else {
|
|
25
34
|
}
|
|
26
35
|
remainingSize = headersBinLen - (reader.getBufferPosition() - posBeforeHeaders);
|
|
27
36
|
if (remainingSize !== 0) {
|
|
28
|
-
console.warn(
|
|
37
|
+
console.warn(`remaining size ${remainingSize} not 0 in level ${levelName}. Save may be corrupt.`);
|
|
29
38
|
}
|
|
30
39
|
const objectContentsBinLen = reader.readInt32();
|
|
31
|
-
reader.
|
|
40
|
+
if (reader.context.saveVersion >= save_custom_version_1.SaveCustomVersion.UnrealEngine5) {
|
|
41
|
+
reader.readInt32Zero();
|
|
42
|
+
}
|
|
32
43
|
const posBeforeContents = reader.getBufferPosition();
|
|
33
|
-
Level.ReadAllObjectContents(levelName, reader, level.objects,
|
|
44
|
+
Level.ReadAllObjectContents(levelName, reader, level.objects, reader.onProgressCallback);
|
|
34
45
|
const posAfterContents = reader.getBufferPosition();
|
|
35
46
|
if (posAfterContents - posBeforeContents !== objectContentsBinLen) {
|
|
36
47
|
console.warn('save seems corrupt.', level.name);
|
|
37
48
|
}
|
|
38
|
-
|
|
49
|
+
if (levelName !== reader.context.mapName) {
|
|
50
|
+
if (reader.context.saveVersion >= save_custom_version_1.SaveCustomVersion.SerializePerStreamableLevelTOCVersion) {
|
|
51
|
+
level.saveCustomVersion = reader.readInt32();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
if (levelName === reader.context.mapName) {
|
|
55
|
+
level.destroyedActorsMap = level_to_destroyed_actors_map_1.LevelToDestroyedActorsMap.read(reader);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
level.collectables = object_references_list_1.ObjectReferencesList.ReadList(reader);
|
|
59
|
+
}
|
|
39
60
|
return level;
|
|
40
61
|
};
|
|
41
|
-
Level.SerializeLevel = (writer, level
|
|
62
|
+
Level.SerializeLevel = (writer, level) => {
|
|
42
63
|
const lenIndicatorHeaderAndDestroyedEntitiesSize = writer.getBufferPosition();
|
|
43
64
|
writer.writeInt32(0);
|
|
44
|
-
writer.
|
|
65
|
+
if (writer.context.saveVersion >= save_custom_version_1.SaveCustomVersion.UnrealEngine5) {
|
|
66
|
+
writer.writeInt32Zero();
|
|
67
|
+
}
|
|
45
68
|
Level.SerializeAllObjectHeaders(writer, level.objects);
|
|
46
|
-
if (level.
|
|
69
|
+
if (level.name === writer.context.mapName && level.destroyedActorsMap !== undefined && Object.keys(level.destroyedActorsMap).length > 0) {
|
|
70
|
+
level_to_destroyed_actors_map_1.LevelToDestroyedActorsMap.write(writer, level.destroyedActorsMap);
|
|
71
|
+
}
|
|
72
|
+
else if (level.name !== writer.context.mapName && level.collectables.length > 0) {
|
|
47
73
|
object_references_list_1.ObjectReferencesList.SerializeList(writer, level.collectables);
|
|
48
74
|
}
|
|
49
75
|
writer.writeBinarySizeFromPosition(lenIndicatorHeaderAndDestroyedEntitiesSize, lenIndicatorHeaderAndDestroyedEntitiesSize + 8);
|
|
50
|
-
Level.SerializeAllObjectContents(writer, level.objects,
|
|
51
|
-
|
|
76
|
+
Level.SerializeAllObjectContents(writer, level.objects, level.name);
|
|
77
|
+
if (level.name !== writer.context.mapName) {
|
|
78
|
+
if (writer.context.saveVersion >= save_custom_version_1.SaveCustomVersion.SerializePerStreamableLevelTOCVersion) {
|
|
79
|
+
writer.writeInt32(level.saveCustomVersion ?? save_custom_version_1.SaveCustomVersion.SerializePerStreamableLevelTOCVersion);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
if (level.name === writer.context.mapName) {
|
|
83
|
+
level_to_destroyed_actors_map_1.LevelToDestroyedActorsMap.write(writer, level.destroyedActorsMap ?? {});
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
object_references_list_1.ObjectReferencesList.SerializeList(writer, level.collectables);
|
|
87
|
+
}
|
|
52
88
|
};
|
|
53
|
-
Level.ReadAllObjectContents = (levelName, reader, objectsList,
|
|
89
|
+
Level.ReadAllObjectContents = (levelName, reader, objectsList, onProgressCallback) => {
|
|
54
90
|
const countEntities = reader.readInt32();
|
|
55
91
|
if (countEntities !== objectsList.length) {
|
|
56
|
-
throw new Error(`possibly corrupt. entity
|
|
92
|
+
throw new Error(`possibly corrupt. entity count ${countEntities} does not equal object count of ${objectsList.length}`);
|
|
57
93
|
}
|
|
58
94
|
const batchSize = 10000;
|
|
59
95
|
let readObjectsCount = 0;
|
|
@@ -69,15 +105,19 @@ var Level;
|
|
|
69
105
|
};
|
|
70
106
|
Level.ReadNObjectContents = (reader, count, objects, objectListOffset = 0, buildVersion = 0) => {
|
|
71
107
|
for (let i = 0; i < count; i++) {
|
|
72
|
-
|
|
73
|
-
|
|
108
|
+
if (reader.context.saveVersion >= save_custom_version_1.SaveCustomVersion.IntroducedWorldPartition) {
|
|
109
|
+
objects[i + objectListOffset].saveCustomVersion = reader.readInt32();
|
|
110
|
+
}
|
|
111
|
+
if (reader.context.saveVersion >= save_custom_version_1.SaveCustomVersion.IntroducedWorldPartition) {
|
|
112
|
+
objects[i + objectListOffset].shouldMigrateObjectRefsToPersistent = reader.readInt32() >= 1;
|
|
113
|
+
}
|
|
74
114
|
const binarySize = reader.readInt32();
|
|
75
115
|
const before = reader.getBufferPosition();
|
|
76
116
|
if ((0, SaveEntity_1.isSaveEntity)(objects[i + objectListOffset])) {
|
|
77
|
-
SaveEntity_1.SaveEntity.ParseData(objects[i + objectListOffset], binarySize, reader,
|
|
117
|
+
SaveEntity_1.SaveEntity.ParseData(objects[i + objectListOffset], binarySize, reader, objects[i + objectListOffset].typePath);
|
|
78
118
|
}
|
|
79
119
|
else if ((0, SaveComponent_1.isSaveComponent)(objects[i + objectListOffset])) {
|
|
80
|
-
SaveComponent_1.SaveComponent.ParseData(objects[i + objectListOffset], binarySize, reader,
|
|
120
|
+
SaveComponent_1.SaveComponent.ParseData(objects[i + objectListOffset], binarySize, reader, objects[i + objectListOffset].typePath);
|
|
81
121
|
}
|
|
82
122
|
const after = reader.getBufferPosition();
|
|
83
123
|
if (after - before !== binarySize) {
|
|
@@ -85,21 +125,27 @@ var Level;
|
|
|
85
125
|
}
|
|
86
126
|
}
|
|
87
127
|
};
|
|
88
|
-
Level.SerializeAllObjectContents = (writer, objects,
|
|
128
|
+
Level.SerializeAllObjectContents = (writer, objects, levelName) => {
|
|
89
129
|
const lenIndicatorEntities = writer.getBufferPosition();
|
|
90
130
|
writer.writeInt32(0);
|
|
91
|
-
writer.
|
|
131
|
+
if (writer.context.saveVersion >= save_custom_version_1.SaveCustomVersion.UnrealEngine5) {
|
|
132
|
+
writer.writeInt32Zero();
|
|
133
|
+
}
|
|
92
134
|
writer.writeInt32(objects.length);
|
|
93
135
|
for (const obj of objects) {
|
|
94
|
-
writer.
|
|
95
|
-
|
|
136
|
+
if (writer.context.saveVersion >= save_custom_version_1.SaveCustomVersion.IntroducedWorldPartition) {
|
|
137
|
+
writer.writeInt32(obj.saveCustomVersion);
|
|
138
|
+
}
|
|
139
|
+
if (writer.context.saveVersion >= save_custom_version_1.SaveCustomVersion.IntroducedWorldPartition) {
|
|
140
|
+
writer.writeInt32(obj.shouldMigrateObjectRefsToPersistent ? 1 : 0);
|
|
141
|
+
}
|
|
96
142
|
const lenReplacementPosition = writer.getBufferPosition();
|
|
97
143
|
writer.writeInt32(0);
|
|
98
144
|
if ((0, SaveEntity_1.isSaveEntity)(obj)) {
|
|
99
|
-
SaveEntity_1.SaveEntity.SerializeData(writer, obj
|
|
145
|
+
SaveEntity_1.SaveEntity.SerializeData(writer, obj);
|
|
100
146
|
}
|
|
101
147
|
else if ((0, SaveComponent_1.isSaveComponent)(obj)) {
|
|
102
|
-
SaveComponent_1.SaveComponent.SerializeData(writer, obj
|
|
148
|
+
SaveComponent_1.SaveComponent.SerializeData(writer, obj);
|
|
103
149
|
}
|
|
104
150
|
writer.writeBinarySizeFromPosition(lenReplacementPosition, lenReplacementPosition + 4);
|
|
105
151
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"level.class.js","sourceRoot":"","sources":["../../../../src/parser/satisfactory/save/level.class.ts"],"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oBACrC,uBAAU,CAAC,eAAe,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;oBACxC,MAAM;gBACP,KAAK,eAAe;oBACnB,MAAM,CAAC,UAAU,CAAC,6BAAa,CAAC,MAAM,CAAC,CAAC;oBACxC,6BAAa,CAAC,eAAe,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;oBAC3C,MAAM;gBACP;oBACC,MAAM,IAAI,iCAAkB,CAAC,uBAAwB,GAAsB,CAAC,IAAI,oBAAoB,CAAC,CAAC;oBACtG,MAAM;YACR,CAAC;QACF,CAAC;IACF,CAAC,CAAA;AACF,CAAC,EA/LgB,KAAK,qBAAL,KAAK,QA+LrB","sourcesContent":["\nimport { BinaryReadable } from \"../../byte/binary-readable.interface\";\nimport { ByteWriter } from \"../../byte/byte-writer.class\";\nimport { CorruptSaveError, UnimplementedError } from '../../error/parser.error';\nimport { SaveComponent, isSaveComponent } from \"../types/objects/SaveComponent\";\nimport { SaveEntity, isSaveEntity } from \"../types/objects/SaveEntity\";\nimport { SaveObject } from \"../types/objects/SaveObject\";\nimport { ObjectReference } from \"../types/structs/ObjectReference\";\nimport { ObjectReferencesList } from './object-references-list';\nimport { SaveReader } from './save-reader';\n\nexport type Level = {\n\tname: string;\n\tobjects: (SaveEntity | SaveComponent)[];\n\tcollectables: ObjectReference[];\n}\n\nexport namespace Level {\n\n\texport const ReadLevel = (reader: SaveReader, levelName: string, buildVersion: number): Level => {\n\t\tconst level: Level = {\n\t\t\tname: levelName,\n\t\t\tobjects: [],\n\t\t\tcollectables: []\n\t\t}\n\n\t\t// checksum object headers.\n\t\tconst headersBinLen = reader.readInt32(); // object headers + binary length\n\t\treader.readInt32();\t// 0\n\n\t\t// object headers\n\t\tconst posBeforeHeaders = reader.getBufferPosition();\n\t\tReadAllObjectHeaders(reader, level.objects);\n\n\t\t// collected, like slugs Only listed here since U8.\n\t\tlet remainingSize = headersBinLen - (reader.getBufferPosition() - posBeforeHeaders);\n\t\tif (remainingSize > 0) {\n\t\t\tconst doubledCollectablesIgnored = ObjectReferencesList.ReadList(reader);\n\t\t} else {\n\t\t\t// its perfectly possible for ported saves to have nothing here.\n\t\t}\n\n\t\tremainingSize = headersBinLen - (reader.getBufferPosition() - posBeforeHeaders);\n\t\tif (remainingSize !== 0) {\n\t\t\tconsole.warn('remaining size not 0. Save may be corrupt.', remainingSize, levelName);\n\t\t}\n\n\t\t// checksum for object content size\n\t\tconst objectContentsBinLen = reader.readInt32();\n\t\treader.readInt32();\t// 0\n\n\t\t// objects contents\n\t\tconst posBeforeContents = reader.getBufferPosition();\n\t\tReadAllObjectContents(levelName, reader, level.objects, buildVersion, reader.onProgressCallback);\n\t\tconst posAfterContents = reader.getBufferPosition();\n\t\tif (posAfterContents - posBeforeContents !== objectContentsBinLen) {\n\t\t\t//WARNING\n\t\t\tconsole.warn('save seems corrupt.', level.name);\n\t\t}\n\n\t\t// collectables 2nd time. Listed here since < U8 and in U8 as well. So this is the best list you can rely on.\n\t\tlevel.collectables = ObjectReferencesList.ReadList(reader);\n\n\t\treturn level;\n\t}\n\n\texport const SerializeLevel = (writer: ByteWriter, level: Level, buildVersion: number) => {\n\t\tconst lenIndicatorHeaderAndDestroyedEntitiesSize = writer.getBufferPosition();\n\t\twriter.writeInt32(0);\t// len indicator\n\t\twriter.writeInt32(0);\t// unk\n\n\t\tSerializeAllObjectHeaders(writer, level.objects);\n\n\t\t// <--- destroyed actors is the same as collectables list. Seems like its not there if count 0.\n\t\tif (level.collectables.length > 0) {\n\t\t\tObjectReferencesList.SerializeList(writer, level.collectables);\n\t\t}\n\n\t\t// replace binary size from earlier for - object headers + collectables\n\t\twriter.writeBinarySizeFromPosition(lenIndicatorHeaderAndDestroyedEntitiesSize, lenIndicatorHeaderAndDestroyedEntitiesSize + 8);\n\n\t\t// write entities\n\t\tSerializeAllObjectContents(writer, level.objects, buildVersion, level.name);\n\n\t\tObjectReferencesList.SerializeList(writer, level.collectables);\n\t}\n\n\texport const ReadAllObjectContents = (levelName: string, reader: BinaryReadable, objectsList: SaveObject[], buildVersion: number, onProgressCallback: (progress: number, msg?: string) => void): void => {\n\t\tconst countEntities = reader.readInt32();\n\t\tif (countEntities !== objectsList.length) {\n\t\t\tthrow new Error(`possibly corrupt. entity content count ${countEntities} does not equal object count of ${objectsList.length}`);\n\t\t}\n\n\t\t// read in batches\n\t\tconst batchSize = 10000;\n\t\tlet readObjectsCount = 0;\n\t\tlet lastProgressReport = 0;\n\t\twhile (readObjectsCount < countEntities) {\n\t\t\tReadNObjectContents(reader, Math.min(batchSize, countEntities - readObjectsCount), objectsList, readObjectsCount);\n\t\t\treadObjectsCount += Math.min(batchSize, countEntities - readObjectsCount);\n\n\t\t\tif (readObjectsCount - lastProgressReport > batchSize) {\n\t\t\t\tonProgressCallback(reader.getBufferProgress(), `read object count [${(readObjectsCount)}/${(countEntities)}] in level ${levelName}`);\n\t\t\t\tlastProgressReport = readObjectsCount;\n\t\t\t}\n\t\t}\n\t}\n\n\texport const ReadNObjectContents = (reader: BinaryReadable, count: number, objects: SaveObject[], objectListOffset: number = 0, buildVersion: number = 0) => {\n\t\tfor (let i = 0; i < count; i++) {\n\t\t\tobjects[i + objectListOffset].objectVersion = reader.readInt32();\t// 36, 41..... 42, 46 at 1.0 Release - so its probably an object version\n\t\t\tobjects[i + objectListOffset].unknownType2 = reader.readInt32();\t//1 - //occasionally 0 ?\n\t\t\tconst binarySize = reader.readInt32();\n\n\t\t\tconst before = reader.getBufferPosition();\n\t\t\tif (isSaveEntity(objects[i + objectListOffset])) {\n\t\t\t\tSaveEntity.ParseData(objects[i + objectListOffset] as SaveEntity, binarySize, reader, buildVersion, objects[i + objectListOffset].typePath);\n\t\t\t} else if (isSaveComponent(objects[i + objectListOffset])) {\n\t\t\t\tSaveComponent.ParseData(objects[i + objectListOffset] as SaveComponent, binarySize, reader, buildVersion, objects[i + objectListOffset].typePath);\n\t\t\t}\n\n\t\t\tconst after = reader.getBufferPosition();\n\t\t\tif (after - before !== binarySize) {\n\t\t\t\tthrow new CorruptSaveError(`Could not read entity ${objects[i + objectListOffset].instanceName}, as ${after - before} bytes were read, but ${binarySize} bytes were indicated.`);\n\t\t\t}\n\t\t}\n\t}\n\n\texport const SerializeAllObjectContents = (writer: ByteWriter, objects: (SaveEntity | SaveComponent)[], buildVersion: number, levelName: string): void => {\n\t\tconst lenIndicatorEntities = writer.getBufferPosition();\n\t\twriter.writeInt32(0);\n\n\t\twriter.writeInt32(0);\t// 0\n\n\t\twriter.writeInt32(objects.length);\n\t\tfor (const obj of objects) {\n\n\t\t\twriter.writeInt32(obj.objectVersion);\n\t\t\twriter.writeInt32(obj.unknownType2);\n\t\t\tconst lenReplacementPosition = writer.getBufferPosition();\n\t\t\twriter.writeInt32(0);\n\n\t\t\tif (isSaveEntity(obj)) {\n\t\t\t\tSaveEntity.SerializeData(writer, obj, buildVersion);\n\t\t\t} else if (isSaveComponent(obj)) {\n\t\t\t\tSaveComponent.SerializeData(writer, obj, buildVersion);\n\t\t\t}\n\n\t\t\twriter.writeBinarySizeFromPosition(lenReplacementPosition, lenReplacementPosition + 4);\n\t\t}\n\t\twriter.writeBinarySizeFromPosition(lenIndicatorEntities, lenIndicatorEntities + 8);\n\t}\n\n\texport const ReadAllObjectHeaders = (reader: BinaryReadable, objectsList: SaveObject[]): void => {\n\t\tlet countObjectHeaders = reader.readInt32();\n\n\t\t// read in batches\n\t\tconst batchSize = 10000;\n\t\tlet readObjectHeadersCount = 0;\n\t\twhile (readObjectHeadersCount < countObjectHeaders) {\n\t\t\tobjectsList.push(...ReadNObjectHeaders(reader, Math.min(batchSize, countObjectHeaders - readObjectHeadersCount)));\n\t\t\treadObjectHeadersCount += Math.min(batchSize, countObjectHeaders - readObjectHeadersCount);\n\t\t}\n\t}\n\n\texport const ReadNObjectHeaders = (reader: BinaryReadable, count: number): (SaveEntity | SaveComponent)[] => {\n\t\tlet objects: (SaveEntity | SaveComponent)[] = [];\n\t\tlet objectsRead = 0;\n\t\tfor (; objectsRead < count; objectsRead++) {\n\n\t\t\tlet obj: SaveEntity | SaveComponent;\n\t\t\tlet objectType = reader.readInt32();\n\t\t\tswitch (objectType) {\n\t\t\t\tcase SaveEntity.TypeID:\n\t\t\t\t\tobj = new SaveEntity('', '', '', '');\n\t\t\t\t\tSaveEntity.ParseHeader(reader, obj);\n\t\t\t\t\tbreak;\n\t\t\t\tcase SaveComponent.TypeID:\n\t\t\t\t\tobj = new SaveComponent('', '', '', '');\n\t\t\t\t\tSaveComponent.ParseHeader(reader, obj);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new CorruptSaveError('Unknown object type' + objectType);\n\t\t\t}\n\t\t\tobjects.push(obj);\n\t\t}\n\t\treturn objects;\n\t}\n\n\texport const SerializeAllObjectHeaders = (writer: ByteWriter, objects: (SaveEntity | SaveComponent)[]): void => {\n\t\twriter.writeInt32(objects.length);\n\t\tfor (const obj of objects) {\n\n\t\t\tswitch (obj.type) {\n\t\t\t\tcase 'SaveEntity':\n\t\t\t\t\twriter.writeInt32(SaveEntity.TypeID);\n\t\t\t\t\tSaveEntity.SerializeHeader(writer, obj);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'SaveComponent':\n\t\t\t\t\twriter.writeInt32(SaveComponent.TypeID);\n\t\t\t\t\tSaveComponent.SerializeHeader(writer, obj);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new UnimplementedError(`Unknown object type ${(obj as unknown as any).type}. Not implemented.`);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}"]}
|
|
1
|
+
{"version":3,"file":"level.class.js","sourceRoot":"","sources":["../../../../src/parser/satisfactory/save/level.class.ts"],"names":[],"mappings":";;;AAGA,2DAAgF;AAChF,kEAAgF;AAChF,4DAAuE;AAGvE,mFAA4E;AAC5E,qEAAgE;AAChE,+DAA0D;AAgB1D,IAAiB,KAAK,CAsPrB;AAtPD,WAAiB,KAAK;IAER,eAAS,GAAG,CAAC,MAAkB,EA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MAAM,EAAE,GAAG,CAAC,CAAC;oBACpC,MAAM;gBACP,KAAK,6BAAa,CAAC,MAAM;oBACxB,GAAG,GAAG,IAAI,6BAAa,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;oBACxC,6BAAa,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;oBACvC,MAAM;gBACP;oBACC,MAAM,IAAI,+BAAgB,CAAC,qBAAqB,GAAG,UAAU,CAAC,CAAC;YACjE,CAAC;YACD,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;QACD,OAAO,OAAO,CAAC;IAChB,CAAC,CAAA;IAEY,+BAAyB,GAAG,CAAC,MAAqB,EAAE,OAAuC,EAAQ,EAAE;QACjH,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAClC,KAAK,MAAM,GAAG,IAAI,OAAO,EAAE,CAAC;YAE3B,QAAQ,GAAG,CAAC,IAAI,EAAE,CAAC;gBAClB,KAAK,YAAY;oBAChB,MAAM,CAAC,UAAU,CAAC,uBAAU,CAAC,MAAM,CAAC,CAAC;oBACrC,uBAAU,CAAC,eAAe,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;oBACxC,MAAM;gBACP,KAAK,eAAe;oBACnB,MAAM,CAAC,UAAU,CAAC,6BAAa,CAAC,MAAM,CAAC,CAAC;oBACxC,6BAAa,CAAC,eAAe,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;oBAC3C,MAAM;gBACP;oBACC,MAAM,IAAI,iCAAkB,CAAC,uBAAwB,GAAsB,CAAC,IAAI,oBAAoB,CAAC,CAAC;oBACtG,MAAM;YACR,CAAC;QACF,CAAC;IACF,CAAC,CAAA;AACF,CAAC,EAtPgB,KAAK,qBAAL,KAAK,QAsPrB","sourcesContent":["\nimport { ContextReader } from '../../context/context-reader';\nimport { ContextWriter } from '../../context/context-writer';\nimport { CorruptSaveError, UnimplementedError } from '../../error/parser.error';\nimport { SaveComponent, isSaveComponent } from \"../types/objects/SaveComponent\";\nimport { SaveEntity, isSaveEntity } from \"../types/objects/SaveEntity\";\nimport { SaveObject } from \"../types/objects/SaveObject\";\nimport { ObjectReference } from \"../types/structs/ObjectReference\";\nimport { LevelToDestroyedActorsMap } from './level-to-destroyed-actors-map';\nimport { ObjectReferencesList } from './object-references-list';\nimport { SaveCustomVersion } from './save-custom-version';\nimport { SaveReader } from './save-reader';\n\n/**\n * type for levels\n * @param fiftyOne Use unclear. Added in Update 1.1\n */\nexport type Level = {\n\tname: string;\n\tobjects: (SaveEntity | SaveComponent)[];\n\tcollectables: ObjectReference[];\n\tsaveCustomVersion?: number;\n\tdestroyedActorsMap?: LevelToDestroyedActorsMap\n}\nexport type Levels = { [levelName: string]: Level };\n\nexport namespace Level {\n\n\texport const ReadLevel = (reader: SaveReader, levelName: string): Level => {\n\t\tconst level: Level = {\n\t\t\tname: levelName,\n\t\t\tobjects: [],\n\t\t\tcollectables: []\n\t\t}\n\n\t\t// checksum object headers.\n\t\tconst headersBinLen = reader.readInt32(); // object headers + binary length\n\t\tif (reader.context.saveVersion >= SaveCustomVersion.UnrealEngine5) {\n\t\t\treader.readInt32Zero();\n\t\t}\n\n\t\t// object headers\n\t\tconst posBeforeHeaders = reader.getBufferPosition();\n\t\tReadAllObjectHeaders(reader, level.objects);\n\n\t\t// for persistent level, we have LevelToDestroyedActorsMap, else collectibles. Only listed here since U8.\n\t\tlet remainingSize = headersBinLen - (reader.getBufferPosition() - posBeforeHeaders);\n\t\tif (remainingSize > 0) {\n\n\t\t\tif (levelName === reader.context.mapName) {\n\t\t\t\tlevel.destroyedActorsMap = LevelToDestroyedActorsMap.read(reader);\n\t\t\t} else {\n\t\t\t\tlevel.collectables = ObjectReferencesList.ReadList(reader);\n\t\t\t}\n\n\t\t} else {\n\t\t\t// its perfectly possible for ported saves to have nothing here.\n\t\t}\n\n\n\t\tremainingSize = headersBinLen - (reader.getBufferPosition() - posBeforeHeaders);\n\t\tif (remainingSize !== 0) {\n\t\t\tconsole.warn(`remaining size ${remainingSize} not 0 in level ${levelName}. Save may be corrupt.`);\n\t\t}\n\n\t\t// checksum for object content size\n\t\tconst objectContentsBinLen = reader.readInt32();\n\t\tif (reader.context.saveVersion >= SaveCustomVersion.UnrealEngine5) {\n\t\t\treader.readInt32Zero();\n\t\t}\n\n\t\t// objects contents\n\t\tconst posBeforeContents = reader.getBufferPosition();\n\t\tReadAllObjectContents(levelName, reader, level.objects, reader.onProgressCallback);\n\t\tconst posAfterContents = reader.getBufferPosition();\n\t\tif (posAfterContents - posBeforeContents !== objectContentsBinLen) {\n\t\t\t//WARNING\n\t\t\tconsole.warn('save seems corrupt.', level.name);\n\t\t}\n\n\n\t\t// only NOT in the persistent level, we have saveVersion\n\t\tif (levelName !== reader.context.mapName) {\n\t\t\tif (reader.context.saveVersion >= SaveCustomVersion.SerializePerStreamableLevelTOCVersion) {\n\t\t\t\tlevel.saveCustomVersion = reader.readInt32();\n\t\t\t}\n\t\t}\n\n\t\t// 2nd time.\n\t\t// for persistent level, we have LevelToDestroyedActorsMap, else collectibles\n\t\t// Listed here since < U8 and in U8 as well. So this is the best list you can rely on.\n\t\tif (levelName === reader.context.mapName) {\n\t\t\tlevel.destroyedActorsMap = LevelToDestroyedActorsMap.read(reader);\n\t\t} else {\n\t\t\tlevel.collectables = ObjectReferencesList.ReadList(reader);\n\t\t}\n\n\t\treturn level;\n\t}\n\n\texport const SerializeLevel = (writer: ContextWriter, level: Level) => {\n\t\tconst lenIndicatorHeaderAndDestroyedEntitiesSize = writer.getBufferPosition();\n\t\twriter.writeInt32(0);\t// len indicator\n\n\t\tif (writer.context.saveVersion >= SaveCustomVersion.UnrealEngine5) {\n\t\t\twriter.writeInt32Zero();\n\t\t}\n\n\t\tSerializeAllObjectHeaders(writer, level.objects);\n\n\t\t// <--- destroyed actors is the same as collectables list. Seems like its not there if count 0.\n\t\tif (level.name === writer.context.mapName && level.destroyedActorsMap !== undefined && Object.keys(level.destroyedActorsMap).length > 0) {\n\t\t\tLevelToDestroyedActorsMap.write(writer, level.destroyedActorsMap);\n\t\t} else if (level.name !== writer.context.mapName && level.collectables.length > 0) {\n\t\t\tObjectReferencesList.SerializeList(writer, level.collectables);\n\t\t}\n\n\t\t// replace binary size from earlier for - object headers + collectables\n\t\twriter.writeBinarySizeFromPosition(lenIndicatorHeaderAndDestroyedEntitiesSize, lenIndicatorHeaderAndDestroyedEntitiesSize + 8);\n\n\t\t// write entities\n\t\tSerializeAllObjectContents(writer, level.objects, level.name);\n\n\n\t\t// only NOT in the persistent level, we have saveVersion\n\t\tif (level.name !== writer.context.mapName) {\n\t\t\tif (writer.context.saveVersion >= SaveCustomVersion.SerializePerStreamableLevelTOCVersion) {\n\t\t\t\twriter.writeInt32(level.saveCustomVersion ?? SaveCustomVersion.SerializePerStreamableLevelTOCVersion);\n\t\t\t}\n\t\t}\n\n\t\t// 2nd time.\n\t\t// for persistent level, we have LevelToDestroyedActorsMap, else collectibles\n\t\tif (level.name === writer.context.mapName) {\n\t\t\tLevelToDestroyedActorsMap.write(writer, level.destroyedActorsMap ?? {});\n\t\t} else {\n\t\t\tObjectReferencesList.SerializeList(writer, level.collectables);\n\t\t}\n\t}\n\n\texport const ReadAllObjectContents = (levelName: string, reader: ContextReader, objectsList: SaveObject[], onProgressCallback: (progress: number, msg?: string) => void): void => {\n\t\tconst countEntities = reader.readInt32();\n\t\tif (countEntities !== objectsList.length) {\n\t\t\tthrow new Error(`possibly corrupt. entity count ${countEntities} does not equal object count of ${objectsList.length}`);\n\t\t}\n\n\t\t// read in batches\n\t\tconst batchSize = 10000;\n\t\tlet readObjectsCount = 0;\n\t\tlet lastProgressReport = 0;\n\t\twhile (readObjectsCount < countEntities) {\n\t\t\tReadNObjectContents(reader, Math.min(batchSize, countEntities - readObjectsCount), objectsList, readObjectsCount);\n\t\t\treadObjectsCount += Math.min(batchSize, countEntities - readObjectsCount);\n\n\t\t\tif (readObjectsCount - lastProgressReport > batchSize) {\n\t\t\t\tonProgressCallback(reader.getBufferProgress(), `read object count [${(readObjectsCount)}/${(countEntities)}] in level ${levelName}`);\n\t\t\t\tlastProgressReport = readObjectsCount;\n\t\t\t}\n\t\t}\n\t}\n\n\texport const ReadNObjectContents = (reader: ContextReader, count: number, objects: SaveObject[], objectListOffset: number = 0, buildVersion: number = 0) => {\n\t\tfor (let i = 0; i < count; i++) {\n\t\t\tif (reader.context.saveVersion >= SaveCustomVersion.IntroducedWorldPartition) {\n\t\t\t\tobjects[i + objectListOffset].saveCustomVersion = reader.readInt32();\n\t\t\t}\n\t\t\tif (reader.context.saveVersion >= SaveCustomVersion.IntroducedWorldPartition) {\n\t\t\t\tobjects[i + objectListOffset].shouldMigrateObjectRefsToPersistent = reader.readInt32() >= 1;\n\t\t\t}\n\n\t\t\tconst binarySize = reader.readInt32();\n\n\t\t\tconst before = reader.getBufferPosition();\n\t\t\tif (isSaveEntity(objects[i + objectListOffset])) {\n\t\t\t\tSaveEntity.ParseData(objects[i + objectListOffset] as SaveEntity, binarySize, reader, objects[i + objectListOffset].typePath);\n\t\t\t} else if (isSaveComponent(objects[i + objectListOffset])) {\n\t\t\t\tSaveComponent.ParseData(objects[i + objectListOffset] as SaveComponent, binarySize, reader, objects[i + objectListOffset].typePath);\n\t\t\t}\n\n\t\t\tconst after = reader.getBufferPosition();\n\t\t\tif (after - before !== binarySize) {\n\t\t\t\tthrow new CorruptSaveError(`Could not read entity ${objects[i + objectListOffset].instanceName}, as ${after - before} bytes were read, but ${binarySize} bytes were indicated.`);\n\t\t\t}\n\t\t}\n\t}\n\n\texport const SerializeAllObjectContents = (writer: ContextWriter, objects: (SaveEntity | SaveComponent)[], levelName: string): void => {\n\t\tconst lenIndicatorEntities = writer.getBufferPosition();\n\t\twriter.writeInt32(0);\n\n\t\tif (writer.context.saveVersion >= SaveCustomVersion.UnrealEngine5) {\n\t\t\twriter.writeInt32Zero();\n\t\t}\n\n\t\twriter.writeInt32(objects.length);\n\t\tfor (const obj of objects) {\n\n\t\t\tif (writer.context.saveVersion >= SaveCustomVersion.IntroducedWorldPartition) {\n\t\t\t\twriter.writeInt32(obj.saveCustomVersion);\n\t\t\t}\n\t\t\tif (writer.context.saveVersion >= SaveCustomVersion.IntroducedWorldPartition) {\n\t\t\t\twriter.writeInt32(obj.shouldMigrateObjectRefsToPersistent ? 1 : 0);\n\t\t\t}\n\t\t\tconst lenReplacementPosition = writer.getBufferPosition();\n\t\t\twriter.writeInt32(0);\n\n\t\t\tif (isSaveEntity(obj)) {\n\t\t\t\tSaveEntity.SerializeData(writer, obj);\n\t\t\t} else if (isSaveComponent(obj)) {\n\t\t\t\tSaveComponent.SerializeData(writer, obj);\n\t\t\t}\n\n\t\t\twriter.writeBinarySizeFromPosition(lenReplacementPosition, lenReplacementPosition + 4);\n\t\t}\n\t\twriter.writeBinarySizeFromPosition(lenIndicatorEntities, lenIndicatorEntities + 8);\n\t}\n\n\texport const ReadAllObjectHeaders = (reader: ContextReader, objectsList: SaveObject[]): void => {\n\t\tlet countObjectHeaders = reader.readInt32();\n\n\t\t// read in batches\n\t\tconst batchSize = 10000;\n\t\tlet readObjectHeadersCount = 0;\n\t\twhile (readObjectHeadersCount < countObjectHeaders) {\n\t\t\tobjectsList.push(...ReadNObjectHeaders(reader, Math.min(batchSize, countObjectHeaders - readObjectHeadersCount)));\n\t\t\treadObjectHeadersCount += Math.min(batchSize, countObjectHeaders - readObjectHeadersCount);\n\t\t}\n\t}\n\n\texport const ReadNObjectHeaders = (reader: ContextReader, count: number): (SaveEntity | SaveComponent)[] => {\n\t\tlet objects: (SaveEntity | SaveComponent)[] = [];\n\t\tlet objectsRead = 0;\n\t\tfor (; objectsRead < count; objectsRead++) {\n\n\t\t\tlet obj: SaveEntity | SaveComponent;\n\t\t\tlet objectType = reader.readInt32();\n\t\t\tswitch (objectType) {\n\t\t\t\tcase SaveEntity.TypeID:\n\t\t\t\t\tobj = new SaveEntity('', '', '', '');\n\t\t\t\t\tSaveEntity.ParseHeader(reader, obj);\n\t\t\t\t\tbreak;\n\t\t\t\tcase SaveComponent.TypeID:\n\t\t\t\t\tobj = new SaveComponent('', '', '', '');\n\t\t\t\t\tSaveComponent.ParseHeader(reader, obj);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new CorruptSaveError('Unknown object type' + objectType);\n\t\t\t}\n\t\t\tobjects.push(obj);\n\t\t}\n\t\treturn objects;\n\t}\n\n\texport const SerializeAllObjectHeaders = (writer: ContextWriter, objects: (SaveEntity | SaveComponent)[]): void => {\n\t\twriter.writeInt32(objects.length);\n\t\tfor (const obj of objects) {\n\n\t\t\tswitch (obj.type) {\n\t\t\t\tcase 'SaveEntity':\n\t\t\t\t\twriter.writeInt32(SaveEntity.TypeID);\n\t\t\t\t\tSaveEntity.SerializeHeader(writer, obj);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'SaveComponent':\n\t\t\t\t\twriter.writeInt32(SaveComponent.TypeID);\n\t\t\t\t\tSaveComponent.SerializeHeader(writer, obj);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new UnimplementedError(`Unknown object type ${(obj as unknown as any).type}. Not implemented.`);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ContextReader } from '../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../context/context-writer';
|
|
3
3
|
import { ObjectReference } from '../types/structs/ObjectReference';
|
|
4
4
|
export declare namespace ObjectReferencesList {
|
|
5
|
-
const SerializeList: (writer:
|
|
6
|
-
const ReadList: (reader:
|
|
5
|
+
const SerializeList: (writer: ContextWriter, collectables: ObjectReference[]) => void;
|
|
6
|
+
const ReadList: (reader: ContextReader) => ObjectReference[];
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=object-references-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object-references-list.d.ts","sourceRoot":"","sources":["../../../../src/parser/satisfactory/save/object-references-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"object-references-list.d.ts","sourceRoot":"","sources":["../../../../src/parser/satisfactory/save/object-references-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,yBAAiB,oBAAoB,CAAC;IAE3B,MAAM,aAAa,WAAY,aAAa,gBAAgB,eAAe,EAAE,KAAG,IAKtF,CAAA;IAEM,MAAM,QAAQ,WAAY,aAAa,KAAG,eAAe,EAO/D,CAAA;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object-references-list.js","sourceRoot":"","sources":["../../../../src/parser/satisfactory/save/object-references-list.ts"],"names":[],"mappings":";;;AAEA,sEAAmE;AAEnE,IAAiB,oBAAoB,CAiBpC;AAjBD,WAAiB,oBAAoB;IAEpB,kCAAa,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"object-references-list.js","sourceRoot":"","sources":["../../../../src/parser/satisfactory/save/object-references-list.ts"],"names":[],"mappings":";;;AAEA,sEAAmE;AAEnE,IAAiB,oBAAoB,CAiBpC;AAjBD,WAAiB,oBAAoB;IAEpB,kCAAa,GAAG,CAAC,MAAqB,EAAE,YAA+B,EAAQ,EAAE;QAC1F,MAAM,CAAC,UAAU,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;QACvC,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE,CAAC;YACrC,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;QAC/C,CAAC;IACL,CAAC,CAAA;IAEY,6BAAQ,GAAG,CAAC,MAAqB,EAAqB,EAAE;QACjE,MAAM,SAAS,GAAsB,EAAE,CAAC;QACxC,IAAI,KAAK,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAC/B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;YAC7B,SAAS,CAAC,IAAI,CAAC,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACjD,CAAC;QACD,OAAO,SAAS,CAAC;IACrB,CAAC,CAAA;AACL,CAAC,EAjBgB,oBAAoB,oCAApB,oBAAoB,QAiBpC","sourcesContent":["import { ContextReader } from '../../context/context-reader';\nimport { ContextWriter } from '../../context/context-writer';\nimport { ObjectReference } from '../types/structs/ObjectReference';\n\nexport namespace ObjectReferencesList {\n\n export const SerializeList = (writer: ContextWriter, collectables: ObjectReference[]): void => {\n writer.writeInt32(collectables.length);\n for (const collectable of collectables) {\n ObjectReference.write(writer, collectable);\n }\n }\n\n export const ReadList = (reader: ContextReader): ObjectReference[] => {\n const collected: ObjectReference[] = [];\n let count = reader.readInt32();\n for (let i = 0; i < count; i++) {\n collected.push(ObjectReference.read(reader));\n }\n return collected;\n }\n}"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ContextReader } from '../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../context/context-writer';
|
|
3
|
+
import { MD5Hash } from '../types/structs/MD5Hash';
|
|
4
|
+
import { SatisfactoryModMetadata } from './save.types';
|
|
5
|
+
export type SatisfactorySaveHeader = {
|
|
6
|
+
saveHeaderType: number;
|
|
7
|
+
saveVersion: number;
|
|
8
|
+
saveName?: string;
|
|
9
|
+
buildVersion: number;
|
|
10
|
+
mapName: string;
|
|
11
|
+
mapOptions: string;
|
|
12
|
+
sessionName: string;
|
|
13
|
+
playDurationSeconds: number;
|
|
14
|
+
saveDateTime: string;
|
|
15
|
+
sessionVisibility: number;
|
|
16
|
+
rawModMetadataString?: string;
|
|
17
|
+
modMetadata?: SatisfactoryModMetadata;
|
|
18
|
+
isModdedSave?: number;
|
|
19
|
+
saveIdentifier?: string;
|
|
20
|
+
fEditorObjectVersion?: number;
|
|
21
|
+
partitionEnabledFlag?: boolean;
|
|
22
|
+
consistencyHashBytes?: MD5Hash;
|
|
23
|
+
creativeModeEnabled?: boolean;
|
|
24
|
+
};
|
|
25
|
+
export declare namespace SatisfactorySaveHeader {
|
|
26
|
+
const Parse: (reader: ContextReader) => SatisfactorySaveHeader;
|
|
27
|
+
const Serialize: (writer: ContextWriter, header: SatisfactorySaveHeader) => void;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=satisfactory-save-header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"satisfactory-save-header.d.ts","sourceRoot":"","sources":["../../../../src/parser/satisfactory/save/satisfactory-save-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAGvD,MAAM,MAAM,sBAAsB,GAAG;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,WAAW,CAAC,EAAE,uBAAuB,CAAC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAA;AAED,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,KAAK,WAAY,aAAa,KAAG,sBA2E7C,CAAA;IAEM,MAAM,SAAS,WAAY,aAAa,UAAU,sBAAsB,SAiD9E,CAAA;CACJ"}
|