@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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ContextReader } from '../../../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../../../context/context-writer';
|
|
3
3
|
import { PropertiesMap } from '../generic/AbstractBaseProperty';
|
|
4
4
|
export type SpecialDroneAction = {
|
|
5
5
|
actionName: string;
|
|
@@ -12,7 +12,7 @@ export type SpecialDroneActionProperties = {
|
|
|
12
12
|
queuedActions: SpecialDroneAction[];
|
|
13
13
|
};
|
|
14
14
|
export declare namespace SpecialDroneActionProperties {
|
|
15
|
-
const Parse: (reader:
|
|
16
|
-
const Serialize: (writer:
|
|
15
|
+
const Parse: (reader: ContextReader) => SpecialDroneActionProperties;
|
|
16
|
+
const Serialize: (writer: ContextWriter, property: SpecialDroneActionProperties) => void;
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=SpecialDroneActionProperties.d.ts.map
|
package/build/parser/satisfactory/types/property/special/SpecialDroneActionProperties.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpecialDroneActionProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/SpecialDroneActionProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SpecialDroneActionProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/SpecialDroneActionProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAIhE,MAAM,MAAM,kBAAkB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,aAAa,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,8BAA8B,QAAS,GAAG,KAAG,GAAG,IAAI,4BAA2E,CAAC;AAE7I,MAAM,MAAM,4BAA4B,GAAG;IACvC,IAAI,EAAE,8BAA8B,CAAC;IACrC,aAAa,EAAE,kBAAkB,EAAE,CAAC;IACpC,aAAa,EAAE,kBAAkB,EAAE,CAAC;CACvC,CAAC;AAEF,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,KAAK,WAAY,aAAa,KAAG,4BA0B7C,CAAC;IAEK,MAAM,SAAS,WAAY,aAAa,YAAY,4BAA4B,SActF,CAAC;CACL"}
|
|
@@ -13,7 +13,7 @@ var SpecialDroneActionProperties;
|
|
|
13
13
|
for (let i = 0; i < countActiveActions; i++) {
|
|
14
14
|
activeActions.push({
|
|
15
15
|
actionName: reader.readString(),
|
|
16
|
-
properties: PropertiesList_1.PropertiesList.ParseList(reader
|
|
16
|
+
properties: PropertiesList_1.PropertiesList.ParseList(reader)
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
const countQueuedActions = reader.readInt32();
|
|
@@ -21,7 +21,7 @@ var SpecialDroneActionProperties;
|
|
|
21
21
|
for (let i = 0; i < countQueuedActions; i++) {
|
|
22
22
|
queuedActions.push({
|
|
23
23
|
actionName: reader.readString(),
|
|
24
|
-
properties: PropertiesList_1.PropertiesList.ParseList(reader
|
|
24
|
+
properties: PropertiesList_1.PropertiesList.ParseList(reader)
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
@@ -35,12 +35,12 @@ var SpecialDroneActionProperties;
|
|
|
35
35
|
writer.writeInt32(property.activeActions.length);
|
|
36
36
|
for (const action of property.activeActions) {
|
|
37
37
|
writer.writeString(action.actionName);
|
|
38
|
-
PropertiesList_1.PropertiesList.SerializeList(action.properties
|
|
38
|
+
PropertiesList_1.PropertiesList.SerializeList(writer, action.properties);
|
|
39
39
|
}
|
|
40
40
|
writer.writeInt32(property.queuedActions.length);
|
|
41
41
|
for (const action of property.queuedActions) {
|
|
42
42
|
writer.writeString(action.actionName);
|
|
43
|
-
PropertiesList_1.PropertiesList.SerializeList(action.properties
|
|
43
|
+
PropertiesList_1.PropertiesList.SerializeList(writer, action.properties);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
})(SpecialDroneActionProperties || (exports.SpecialDroneActionProperties = SpecialDroneActionProperties = {}));
|
package/build/parser/satisfactory/types/property/special/SpecialDroneActionProperties.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpecialDroneActionProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/SpecialDroneActionProperties.ts"],"names":[],"mappings":";;;AAGA,sDAAmD;AAQ5C,MAAM,8BAA8B,GAAG,CAAC,GAAQ,EAAuC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,8BAA8B,CAAC;AAAhI,QAAA,8BAA8B,kCAAkG;AAQ7I,IAAiB,4BAA4B,CA4C5C;AA5CD,WAAiB,4BAA4B;IAC5B,kCAAK,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"SpecialDroneActionProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/SpecialDroneActionProperties.ts"],"names":[],"mappings":";;;AAGA,sDAAmD;AAQ5C,MAAM,8BAA8B,GAAG,CAAC,GAAQ,EAAuC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,8BAA8B,CAAC;AAAhI,QAAA,8BAA8B,kCAAkG;AAQ7I,IAAiB,4BAA4B,CA4C5C;AA5CD,WAAiB,4BAA4B;IAC5B,kCAAK,GAAG,CAAC,MAAqB,EAAgC,EAAE;QACzE,MAAM,CAAC,SAAS,EAAE,CAAC;QAEnB,MAAM,kBAAkB,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAC9C,MAAM,aAAa,GAAG,EAAE,CAAC;QACzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,kBAAkB,EAAE,CAAC,EAAE,EAAE,CAAC;YAC1C,aAAa,CAAC,IAAI,CAAC;gBACf,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE;gBAC/B,UAAU,EAAE,+BAAc,CAAC,SAAS,CAAC,MAAM,CAAC;aAClB,CAAC,CAAC;QACpC,CAAC;QAED,MAAM,kBAAkB,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAC9C,MAAM,aAAa,GAAG,EAAE,CAAC;QACzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,kBAAkB,EAAE,CAAC,EAAE,EAAE,CAAC;YAC1C,aAAa,CAAC,IAAI,CAAC;gBACf,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE;gBAC/B,UAAU,EAAE,+BAAc,CAAC,SAAS,CAAC,MAAM,CAAE;aACnB,CAAC,CAAC;QACpC,CAAC;QAED,OAAO;YACH,IAAI,EAAE,8BAA8B;YACpC,aAAa;YACb,aAAa;SAChB,CAAC;IACN,CAAC,CAAC;IAEW,sCAAS,GAAG,CAAC,MAAqB,EAAE,QAAsC,EAAE,EAAE;QACvF,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QAErB,MAAM,CAAC,UAAU,CAAE,QAAyC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QACnF,KAAK,MAAM,MAAM,IAAK,QAAyC,CAAC,aAAa,EAAE,CAAC;YAC5E,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;YACtC,+BAAc,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU,CAAE,CAAC;QAC7D,CAAC;QAED,MAAM,CAAC,UAAU,CAAE,QAAyC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QACnF,KAAK,MAAM,MAAM,IAAK,QAAyC,CAAC,aAAa,EAAE,CAAC;YAC5E,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;YACtC,+BAAc,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC;QAC5D,CAAC;IACL,CAAC,CAAC;AACN,CAAC,EA5CgB,4BAA4B,4CAA5B,4BAA4B,QA4C5C","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { PropertiesMap } from '../generic/AbstractBaseProperty';\nimport { PropertiesList } from '../PropertiesList';\n\n\nexport type SpecialDroneAction = {\n actionName: string;\n properties: PropertiesMap;\n};\n\nexport const isSpecialDroneActionProperties = (obj: any): obj is SpecialDroneActionProperties => obj.type === 'SpecialDroneActionProperties';\n\nexport type SpecialDroneActionProperties = {\n type: 'SpecialDroneActionProperties';\n activeActions: SpecialDroneAction[];\n queuedActions: SpecialDroneAction[];\n};\n\nexport namespace SpecialDroneActionProperties {\n export const Parse = (reader: ContextReader): SpecialDroneActionProperties => {\n reader.readInt32(); //0\n\n const countActiveActions = reader.readInt32();\n const activeActions = [];\n for (let i = 0; i < countActiveActions; i++) {\n activeActions.push({\n actionName: reader.readString(),\n properties: PropertiesList.ParseList(reader)\n } satisfies SpecialDroneAction);\n }\n\n const countQueuedActions = reader.readInt32();\n const queuedActions = [];\n for (let i = 0; i < countQueuedActions; i++) {\n queuedActions.push({\n actionName: reader.readString(),\n properties: PropertiesList.ParseList(reader,)\n } satisfies SpecialDroneAction);\n }\n\n return {\n type: 'SpecialDroneActionProperties',\n activeActions,\n queuedActions\n };\n };\n\n export const Serialize = (writer: ContextWriter, property: SpecialDroneActionProperties) => {\n writer.writeInt32(0);\n\n writer.writeInt32((property as SpecialDroneActionProperties).activeActions.length);\n for (const action of (property as SpecialDroneActionProperties).activeActions) {\n writer.writeString(action.actionName);\n PropertiesList.SerializeList(writer, action.properties,);\n }\n\n writer.writeInt32((property as SpecialDroneActionProperties).queuedActions.length);\n for (const action of (property as SpecialDroneActionProperties).queuedActions) {\n writer.writeString(action.actionName);\n PropertiesList.SerializeList(writer, action.properties);\n }\n };\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ContextReader } from '../../../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../../../context/context-writer';
|
|
3
3
|
import { BuildableSubsystemSpecialProperties } from './BuildableSubsystemSpecialProperties';
|
|
4
4
|
import { CircuitSpecialProperties } from './CircuitSpecialProperties';
|
|
5
5
|
import { ConveyorChainActorSpecialProperties } from './ConveyorChainActorSpecialProperties';
|
|
@@ -12,7 +12,7 @@ import { SpecialDroneActionProperties } from './SpecialDroneActionProperties';
|
|
|
12
12
|
import { VehicleSpecialProperties } from './VehicleSpecialProperties';
|
|
13
13
|
export declare namespace SpecialProperties {
|
|
14
14
|
type AvailableSpecialPropertiesTypes = ReturnType<typeof ParseClassSpecificSpecialProperties>;
|
|
15
|
-
const ParseClassSpecificSpecialProperties: (reader:
|
|
16
|
-
const SerializeClassSpecificSpecialProperties: (writer:
|
|
15
|
+
const ParseClassSpecificSpecialProperties: (reader: ContextReader, typePath: string, remainingLen: number) => BuildableSubsystemSpecialProperties | CircuitSpecialProperties | ConveyorChainActorSpecialProperties | ConveyorSpecialProperties | EmptySpecialProperties | ObjectsListSpecialProperties | PlayerSpecialProperties | PowerLineSpecialProperties | SpecialDroneActionProperties | VehicleSpecialProperties;
|
|
16
|
+
const SerializeClassSpecificSpecialProperties: (writer: ContextWriter, typePath: string, property: AvailableSpecialPropertiesTypes) => void;
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=SpecialProperties.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/SpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/SpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,mCAAmC,EAAyC,MAAM,uCAAuC,CAAC;AACnI,OAAO,EAAE,wBAAwB,EAA8B,MAAM,4BAA4B,CAAC;AAClG,OAAO,EAAE,mCAAmC,EAAyC,MAAM,uCAAuC,CAAC;AACnI,OAAO,EAAE,yBAAyB,EAA+B,MAAM,6BAA6B,CAAC;AACrG,OAAO,EAAE,sBAAsB,EAA4B,MAAM,0BAA0B,CAAC;AAC5F,OAAO,EAAkC,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9G,OAAO,EAA6B,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAC/F,OAAO,EAAgC,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AACxG,OAAO,EAAkC,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9G,OAAO,EAA8B,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAIlG,yBAAiB,iBAAiB,CAAC;IAE/B,KAAY,+BAA+B,GAAG,UAAU,CAAC,OAAO,mCAAmC,CAAC,CAAC;IAE9F,MAAM,mCAAmC,WAAY,aAAa,YAAY,MAAM,gBAAgB,MAAM,8SAyEhH,CAAA;IAEM,MAAM,uCAAuC,WAAY,aAAa,YAAY,MAAM,YAAY,+BAA+B,KAAG,IA0B5I,CAAA;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/SpecialProperties.ts"],"names":[],"mappings":";;;AAEA,+FAAmI;AACnI,yEAAkG;AAClG,+FAAmI;AACnI,2EAAqG;AACrG,qEAA4F;AAC5F,iFAA8G;AAC9G,uEAA+F;AAC/F,6EAAwG;AACxG,iFAA8G;AAC9G,yEAAkG;AAIlG,IAAiB,iBAAiB,CA0GjC;AA1GD,WAAiB,iBAAiB;IAIjB,qDAAmC,GAAG,CAAC,MAAsB,EAAE,QAAgB,EAAE,YAAoB,EAAE,EAAE;QAClH,IAAI,QAAQ,CAAC;QAEb,QAAQ,QAAQ,EAAE,CAAC;YACf,KAAK,mGAAmG,CAAC;YACzG,KAAK,mGAAmG,CAAC;YACzG,KAAK,mGAAmG,CAAC;YACzG,KAAK,mGAAmG,CAAC;YACzG,KAAK,mGAAmG,CAAC;YACzG,KAAK,mGAAmG,CAAC;YACzG,KAAK,mGAAmG,CAAC;YACzG,KAAK,mGAAmG,CAAC;YACzG,KAAK,mGAAmG,CAAC;YACzG,KAAK,mGAAmG,CAAC;YACzG,KAAK,mGAAmG,CAAC;YACzG,KAAK,mGAAmG;gBAEpG,QAAQ,GAAG,qDAAyB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;gBACnD,MAAM;YAEV,KAAK,+EAA+E;gBAChF,QAAQ,GAAG,mDAAwB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;gBAClD,MAAM;YAEV,KAAK,iEAAiE,CAAC;YACvE,KAAK,+DAA+D;gBAChE,QAAQ,GAAG,2DAA4B,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;gBACtD,MAAM;YAEV,KAAK,0CAA0C,CAAC;YAChD,KAAK,wDAAwD,CAAC;YAC9D,KAAK,uDAAuD,CAAC;YAC7D,KAAK,sDAAsD,CAAC;YAC5D,KAAK,wDAAwD;gBACzD,QAAQ,GAAG,yEAAmC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;gBAC7D,MAAM;YAEV,KAAK,iFAAiF,CAAC;YACvF,KAAK,4GAA4G;gBAC7G,QAAQ,GAAG,uDAA0B,CAAC,KAAK,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;gBAClE,MAAM;YAEV,KAAK,qEAAqE,CAAC;YAC3E,KAAK,+DAA+D,CAAC;YACrE,KAAK,wEAAwE,CAAC;YAC9E,KAAK,0EAA0E,CAAC;YAChF,KAAK,wEAAwE,CAAC;YAC9E,KAAK,gFAAgF,CAAC;YACtF,KAAK,oFAAoF,CAAC;YAC1F,KAAK,mFAAmF;gBACpF,QAAQ,GAAG,mDAAwB,CAAC,KAAK,CAAC,MAAM,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC;gBAC1E,MAAM;YAEV,KAAK,wFAAwF;gBACzF,QAAQ,GAAG,2DAA4B,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;gBACtD,MAAM;YAEV,KAAK,oEAAoE;gBACrE,QAAQ,GAAG,iDAAuB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;gBACjD,MAAM;YAGV,KAAK,qDAAqD;gBACtD,QAAQ,GAAG,yEAAmC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;gBAC7D,MAAM;YAEV;gBAEI,QAAQ,GAAG,+CAAsB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;gBAChD,MAAM;QACd,CAAC;QAED,OAAO,QAAQ,CAAC;IACpB,CAAC,CAAA;IAEY,yDAAuC,GAAG,CAAC,MAAkB,EAAE,QAAgB,EAAE,QAAyC,EAAQ,EAAE;QAC7I,IAAI,IAAA,uDAA2B,EAAC,QAAQ,CAAC,EAAE,CAAC;YACxC,qDAAyB,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAC1D,CAAC;aAAM,IAAI,IAAA,qDAA0B,EAAC,QAAQ,CAAC,EAAE,CAAC;YAC9C,mDAAwB,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACzD,CAAC;aAAM,IAAI,IAAA,uDAA2B,EAAC,QAAQ,CAAC,EAAE,CAAC;YAC/C,qDAAyB,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAC1D,CAAC;aAAM,IAAI,IAAA,2EAAqC,EAAC,QAAQ,CAAC,EAAE,CAAC;YACzD,yEAAmC,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpE,CAAC;aAAM,IAAI,IAAA,yDAA4B,EAAC,QAAQ,CAAC,EAAE,CAAC;YAChD,uDAA0B,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAC3D,CAAC;aAAM,IAAI,IAAA,6DAA8B,EAAC,QAAQ,CAAC,EAAE,CAAC;YAClD,2DAA4B,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAC7D,CAAC;aAAM,IAAI,IAAA,qDAA0B,EAAC,QAAQ,CAAC,EAAE,CAAC;YAC9C,mDAAwB,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACzD,CAAC;aAAM,IAAI,IAAA,6DAA8B,EAAC,QAAQ,CAAC,EAAE,CAAC;YAClD,2DAA4B,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAC7D,CAAC;aAAM,IAAI,IAAA,mDAAyB,EAAC,QAAQ,CAAC,EAAE,CAAC;YAC7C,iDAAuB,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACxD,CAAC;aAAM,IAAI,IAAA,2EAAqC,EAAC,QAAQ,CAAC,EAAE,CAAC;YACzD,yEAAmC,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpE,CAAC;aAAM,IAAI,IAAA,iDAAwB,EAAC,QAAQ,CAAC,EAAE,CAAC;YAC5C,+CAAsB,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACvD,CAAC;aAAM,CAAC;YACJ,OAAO,CAAC,IAAI,CAAC,8CAA8C,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,wBAAwB,QAAQ,kBAAkB,CAAC,CAAC;QAC3I,CAAC;IACL,CAAC,CAAA;AACL,CAAC,EA1GgB,iBAAiB,iCAAjB,iBAAiB,QA0GjC","sourcesContent":["import { BinaryReadable } from '../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../byte/byte-writer.class';\nimport { BuildableSubsystemSpecialProperties, isBuildableSubsystemSpecialProperties } from './BuildableSubsystemSpecialProperties';\nimport { CircuitSpecialProperties, isCircuitSpecialProperties } from './CircuitSpecialProperties';\nimport { ConveyorChainActorSpecialProperties, isConveyorChainActorSpecialProperties } from './ConveyorChainActorSpecialProperties';\nimport { ConveyorSpecialProperties, isConveyorSpecialProperties } from './ConveyorSpecialProperties';\nimport { EmptySpecialProperties, isEmptySpecialProperties } from './EmptySpecialProperties';\nimport { isObjectsListSpecialProperties, ObjectsListSpecialProperties } from './ObjectsListSpecialProperties';\nimport { isPlayerSpecialProperties, PlayerSpecialProperties } from './PlayerSpecialProperties';\nimport { isPowerLineSpecialProperties, PowerLineSpecialProperties } from './PowerLineSpecialProperties';\nimport { isSpecialDroneActionProperties, SpecialDroneActionProperties } from './SpecialDroneActionProperties';\nimport { isVehicleSpecialProperties, VehicleSpecialProperties } from './VehicleSpecialProperties';\n\n\n\nexport namespace SpecialProperties {\n\n export type AvailableSpecialPropertiesTypes = ReturnType<typeof ParseClassSpecificSpecialProperties>;\n\n export const ParseClassSpecificSpecialProperties = (reader: BinaryReadable, typePath: string, remainingLen: number) => {\n let property;\n\n switch (typePath) {\n case '/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk1/Build_ConveyorBeltMk1.Build_ConveyorBeltMk1_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk2/Build_ConveyorBeltMk2.Build_ConveyorBeltMk2_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk3/Build_ConveyorBeltMk3.Build_ConveyorBeltMk3_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk4/Build_ConveyorBeltMk4.Build_ConveyorBeltMk4_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk5/Build_ConveyorBeltMk5.Build_ConveyorBeltMk5_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk6/Build_ConveyorBeltMk6.Build_ConveyorBeltMk6_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk1/Build_ConveyorLiftMk1.Build_ConveyorLiftMk1_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk2/Build_ConveyorLiftMk2.Build_ConveyorLiftMk2_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk3/Build_ConveyorLiftMk3.Build_ConveyorLiftMk3_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk4/Build_ConveyorLiftMk4.Build_ConveyorLiftMk4_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk5/Build_ConveyorLiftMk5.Build_ConveyorLiftMk5_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk6/Build_ConveyorLiftMk6.Build_ConveyorLiftMk6_C':\n // since U1.0 the conveyor items are now in ConveyorChainActor.\n property = ConveyorSpecialProperties.Parse(reader);\n break;\n\n case '/Game/FactoryGame/-Shared/Blueprint/BP_CircuitSubsystem.BP_CircuitSubsystem_C':\n property = CircuitSpecialProperties.Parse(reader);\n break;\n\n case '/Game/FactoryGame/-Shared/Blueprint/BP_GameState.BP_GameState_C':\n case '/Game/FactoryGame/-Shared/Blueprint/BP_GameMode.BP_GameMode_C':\n property = ObjectsListSpecialProperties.Parse(reader);\n break;\n\n case '/Script/FactoryGame.FGConveyorChainActor':\n case '/Script/FactoryGame.FGConveyorChainActor_RepSizeMedium':\n case '/Script/FactoryGame.FGConveyorChainActor_RepSizeLarge':\n case '/Script/FactoryGame.FGConveyorChainActor_RepSizeHuge':\n case '/Script/FactoryGame.FGConveyorChainActor_RepSizeNoCull':\n property = ConveyorChainActorSpecialProperties.Parse(reader);\n break;\n\n case '/Game/FactoryGame/Buildable/Factory/PowerLine/Build_PowerLine.Build_PowerLine_C':\n case '/Game/FactoryGame/Events/Christmas/Buildings/PowerLineLights/Build_XmassLightsLine.Build_XmassLightsLine_C':\n property = PowerLineSpecialProperties.Parse(reader, remainingLen);\n break;\n\n case '/Game/FactoryGame/Buildable/Vehicle/Tractor/BP_Tractor.BP_Tractor_C':\n case '/Game/FactoryGame/Buildable/Vehicle/Truck/BP_Truck.BP_Truck_C':\n case '/Game/FactoryGame/Buildable/Vehicle/Explorer/BP_Explorer.BP_Explorer_C':\n case '/Game/FactoryGame/Buildable/Vehicle/Cyberwagon/Testa_BP_WB.Testa_BP_WB_C':\n case '/Game/FactoryGame/Buildable/Vehicle/Golfcart/BP_Golfcart.BP_Golfcart_C':\n case '/Game/FactoryGame/Buildable/Vehicle/Golfcart/BP_GolfcartGold.BP_GolfcartGold_C':\n case '/Game/FactoryGame/Buildable/Vehicle/Train/Locomotive/BP_Locomotive.BP_Locomotive_C':\n case '/Game/FactoryGame/Buildable/Vehicle/Train/Wagon/BP_FreightWagon.BP_FreightWagon_C':\n property = VehicleSpecialProperties.Parse(reader, remainingLen, typePath);\n break;\n\n case '/Game/FactoryGame/Buildable/Factory/DroneStation/BP_DroneTransport.BP_DroneTransport_C':\n property = SpecialDroneActionProperties.Parse(reader);\n break;\n\n case '/Game/FactoryGame/Character/Player/BP_PlayerState.BP_PlayerState_C':\n property = PlayerSpecialProperties.Parse(reader);\n break;\n\n //buildables like foundations are now here since 1.0\n case '/Script/FactoryGame.FGLightweightBuildableSubsystem':\n property = BuildableSubsystemSpecialProperties.Parse(reader);\n break;\n\n default:\n // ignore / empty. Rest will land in trailing data anyway.\n property = EmptySpecialProperties.Parse(reader);\n break;\n }\n\n return property;\n }\n\n export const SerializeClassSpecificSpecialProperties = (writer: ByteWriter, typePath: string, property: AvailableSpecialPropertiesTypes): void => {\n if (isConveyorSpecialProperties(property)) {\n ConveyorSpecialProperties.Serialize(writer, property);\n } else if (isCircuitSpecialProperties(property)) {\n CircuitSpecialProperties.Serialize(writer, property);\n } else if (isConveyorSpecialProperties(property)) {\n ConveyorSpecialProperties.Serialize(writer, property);\n } else if (isConveyorChainActorSpecialProperties(property)) {\n ConveyorChainActorSpecialProperties.Serialize(writer, property);\n } else if (isPowerLineSpecialProperties(property)) {\n PowerLineSpecialProperties.Serialize(writer, property);\n } else if (isObjectsListSpecialProperties(property)) {\n ObjectsListSpecialProperties.Serialize(writer, property);\n } else if (isVehicleSpecialProperties(property)) {\n VehicleSpecialProperties.Serialize(writer, property);\n } else if (isSpecialDroneActionProperties(property)) {\n SpecialDroneActionProperties.Serialize(writer, property);\n } else if (isPlayerSpecialProperties(property)) {\n PlayerSpecialProperties.Serialize(writer, property);\n } else if (isBuildableSubsystemSpecialProperties(property)) {\n BuildableSubsystemSpecialProperties.Serialize(writer, property);\n } else if (isEmptySpecialProperties(property)) {\n EmptySpecialProperties.Serialize(writer, property);\n } else {\n console.warn(`Parser is not serializing special property ${JSON.stringify(property)} of object with type ${typePath}. Unimplemented.`);\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"SpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/SpecialProperties.ts"],"names":[],"mappings":"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","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { BuildableSubsystemSpecialProperties, isBuildableSubsystemSpecialProperties } from './BuildableSubsystemSpecialProperties';\nimport { CircuitSpecialProperties, isCircuitSpecialProperties } from './CircuitSpecialProperties';\nimport { ConveyorChainActorSpecialProperties, isConveyorChainActorSpecialProperties } from './ConveyorChainActorSpecialProperties';\nimport { ConveyorSpecialProperties, isConveyorSpecialProperties } from './ConveyorSpecialProperties';\nimport { EmptySpecialProperties, isEmptySpecialProperties } from './EmptySpecialProperties';\nimport { isObjectsListSpecialProperties, ObjectsListSpecialProperties } from './ObjectsListSpecialProperties';\nimport { isPlayerSpecialProperties, PlayerSpecialProperties } from './PlayerSpecialProperties';\nimport { isPowerLineSpecialProperties, PowerLineSpecialProperties } from './PowerLineSpecialProperties';\nimport { isSpecialDroneActionProperties, SpecialDroneActionProperties } from './SpecialDroneActionProperties';\nimport { isVehicleSpecialProperties, VehicleSpecialProperties } from './VehicleSpecialProperties';\n\n\n\nexport namespace SpecialProperties {\n\n export type AvailableSpecialPropertiesTypes = ReturnType<typeof ParseClassSpecificSpecialProperties>;\n\n export const ParseClassSpecificSpecialProperties = (reader: ContextReader, typePath: string, remainingLen: number) => {\n let property;\n\n switch (typePath) {\n case '/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk1/Build_ConveyorBeltMk1.Build_ConveyorBeltMk1_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk2/Build_ConveyorBeltMk2.Build_ConveyorBeltMk2_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk3/Build_ConveyorBeltMk3.Build_ConveyorBeltMk3_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk4/Build_ConveyorBeltMk4.Build_ConveyorBeltMk4_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk5/Build_ConveyorBeltMk5.Build_ConveyorBeltMk5_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk6/Build_ConveyorBeltMk6.Build_ConveyorBeltMk6_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk1/Build_ConveyorLiftMk1.Build_ConveyorLiftMk1_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk2/Build_ConveyorLiftMk2.Build_ConveyorLiftMk2_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk3/Build_ConveyorLiftMk3.Build_ConveyorLiftMk3_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk4/Build_ConveyorLiftMk4.Build_ConveyorLiftMk4_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk5/Build_ConveyorLiftMk5.Build_ConveyorLiftMk5_C':\n case '/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk6/Build_ConveyorLiftMk6.Build_ConveyorLiftMk6_C':\n // since U1.0 the conveyor items are now in ConveyorChainActor.\n property = ConveyorSpecialProperties.Parse(reader);\n break;\n\n case '/Game/FactoryGame/-Shared/Blueprint/BP_CircuitSubsystem.BP_CircuitSubsystem_C':\n property = CircuitSpecialProperties.Parse(reader);\n break;\n\n case '/Game/FactoryGame/-Shared/Blueprint/BP_GameState.BP_GameState_C':\n case '/Game/FactoryGame/-Shared/Blueprint/BP_GameMode.BP_GameMode_C':\n property = ObjectsListSpecialProperties.Parse(reader);\n break;\n\n case '/Script/FactoryGame.FGConveyorChainActor':\n case '/Script/FactoryGame.FGConveyorChainActor_RepSizeMedium':\n case '/Script/FactoryGame.FGConveyorChainActor_RepSizeLarge':\n case '/Script/FactoryGame.FGConveyorChainActor_RepSizeHuge':\n case '/Script/FactoryGame.FGConveyorChainActor_RepSizeNoCull':\n property = ConveyorChainActorSpecialProperties.Parse(reader);\n break;\n\n case '/Game/FactoryGame/Buildable/Factory/PowerLine/Build_PowerLine.Build_PowerLine_C':\n case '/Game/FactoryGame/Events/Christmas/Buildings/PowerLineLights/Build_XmassLightsLine.Build_XmassLightsLine_C':\n property = PowerLineSpecialProperties.Parse(reader, remainingLen);\n break;\n\n case '/Game/FactoryGame/Buildable/Vehicle/Tractor/BP_Tractor.BP_Tractor_C':\n case '/Game/FactoryGame/Buildable/Vehicle/Truck/BP_Truck.BP_Truck_C':\n case '/Game/FactoryGame/Buildable/Vehicle/Explorer/BP_Explorer.BP_Explorer_C':\n case '/Game/FactoryGame/Buildable/Vehicle/Cyberwagon/Testa_BP_WB.Testa_BP_WB_C':\n case '/Game/FactoryGame/Buildable/Vehicle/Golfcart/BP_Golfcart.BP_Golfcart_C':\n case '/Game/FactoryGame/Buildable/Vehicle/Golfcart/BP_GolfcartGold.BP_GolfcartGold_C':\n case '/Game/FactoryGame/Buildable/Vehicle/Train/Locomotive/BP_Locomotive.BP_Locomotive_C':\n case '/Game/FactoryGame/Buildable/Vehicle/Train/Wagon/BP_FreightWagon.BP_FreightWagon_C':\n property = VehicleSpecialProperties.Parse(reader, remainingLen, typePath);\n break;\n\n case '/Game/FactoryGame/Buildable/Factory/DroneStation/BP_DroneTransport.BP_DroneTransport_C':\n property = SpecialDroneActionProperties.Parse(reader);\n break;\n\n case '/Game/FactoryGame/Character/Player/BP_PlayerState.BP_PlayerState_C':\n property = PlayerSpecialProperties.Parse(reader);\n break;\n\n //buildables like foundations are now here since 1.0\n case '/Script/FactoryGame.FGLightweightBuildableSubsystem':\n property = BuildableSubsystemSpecialProperties.Parse(reader);\n break;\n\n default:\n // ignore / empty. Rest will land in trailing data anyway.\n property = EmptySpecialProperties.Parse(reader);\n break;\n }\n\n return property;\n }\n\n export const SerializeClassSpecificSpecialProperties = (writer: ContextWriter, typePath: string, property: AvailableSpecialPropertiesTypes): void => {\n if (isConveyorSpecialProperties(property)) {\n ConveyorSpecialProperties.Serialize(writer, property);\n } else if (isCircuitSpecialProperties(property)) {\n CircuitSpecialProperties.Serialize(writer, property);\n } else if (isConveyorSpecialProperties(property)) {\n ConveyorSpecialProperties.Serialize(writer, property);\n } else if (isConveyorChainActorSpecialProperties(property)) {\n ConveyorChainActorSpecialProperties.Serialize(writer, property);\n } else if (isPowerLineSpecialProperties(property)) {\n PowerLineSpecialProperties.Serialize(writer, property);\n } else if (isObjectsListSpecialProperties(property)) {\n ObjectsListSpecialProperties.Serialize(writer, property);\n } else if (isVehicleSpecialProperties(property)) {\n VehicleSpecialProperties.Serialize(writer, property);\n } else if (isSpecialDroneActionProperties(property)) {\n SpecialDroneActionProperties.Serialize(writer, property);\n } else if (isPlayerSpecialProperties(property)) {\n PlayerSpecialProperties.Serialize(writer, property);\n } else if (isBuildableSubsystemSpecialProperties(property)) {\n BuildableSubsystemSpecialProperties.Serialize(writer, property);\n } else if (isEmptySpecialProperties(property)) {\n EmptySpecialProperties.Serialize(writer, property);\n } else {\n console.warn(`Parser is not serializing special property ${JSON.stringify(property)} of object with type ${typePath}. Unimplemented.`);\n }\n }\n}\n"]}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ContextReader } from '../../../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../../../context/context-writer';
|
|
3
3
|
import { ObjectReference } from '../../structs/ObjectReference';
|
|
4
|
+
import { VehiclePhysicsData } from '../../structs/VehiclePhysicsData';
|
|
4
5
|
export declare const isVehicleSpecialProperties: (obj: any) => obj is VehicleSpecialProperties;
|
|
5
6
|
export type VehicleSpecialProperties = {
|
|
6
7
|
type: 'VehicleSpecialProperties';
|
|
7
|
-
objects:
|
|
8
|
-
name: string;
|
|
9
|
-
unknownBytes: number[];
|
|
10
|
-
unknownFlag: number;
|
|
11
|
-
}[];
|
|
8
|
+
objects: VehiclePhysicsData[];
|
|
12
9
|
vehicleInFront?: ObjectReference;
|
|
13
10
|
vehicleBehind?: ObjectReference;
|
|
14
11
|
};
|
|
15
12
|
export declare namespace VehicleSpecialProperties {
|
|
16
|
-
const Parse: (reader:
|
|
17
|
-
const Serialize: (writer:
|
|
13
|
+
const Parse: (reader: ContextReader, remainingLen: number, typePath: string) => VehicleSpecialProperties;
|
|
14
|
+
const Serialize: (writer: ContextWriter, property: VehicleSpecialProperties) => void;
|
|
18
15
|
}
|
|
19
16
|
//# sourceMappingURL=VehicleSpecialProperties.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VehicleSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/VehicleSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"VehicleSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/VehicleSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,eAAO,MAAM,0BAA0B,QAAS,GAAG,KAAG,GAAG,IAAI,wBAAmE,CAAC;AAEjI,MAAM,MAAM,wBAAwB,GAAG;IACnC,IAAI,EAAE,0BAA0B,CAAC;IACjC,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,aAAa,CAAC,EAAE,eAAe,CAAC;CACnC,CAAC;AAEF,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,KAAK,WAAY,aAAa,gBAAgB,MAAM,YAAY,MAAM,KAAG,wBAyBrF,CAAC;IAEK,MAAM,SAAS,WAAY,aAAa,YAAY,wBAAwB,SAWlF,CAAC;CACL"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VehicleSpecialProperties = exports.isVehicleSpecialProperties = void 0;
|
|
4
4
|
const ObjectReference_1 = require("../../structs/ObjectReference");
|
|
5
|
+
const VehiclePhysicsData_1 = require("../../structs/VehiclePhysicsData");
|
|
5
6
|
const isVehicleSpecialProperties = (obj) => obj.type === 'VehicleSpecialProperties';
|
|
6
7
|
exports.isVehicleSpecialProperties = isVehicleSpecialProperties;
|
|
7
8
|
var VehicleSpecialProperties;
|
|
@@ -11,11 +12,7 @@ var VehicleSpecialProperties;
|
|
|
11
12
|
const objects = [];
|
|
12
13
|
const countObjects = reader.readInt32();
|
|
13
14
|
for (let i = 0; i < countObjects; i++) {
|
|
14
|
-
objects.push(
|
|
15
|
-
name: reader.readString(),
|
|
16
|
-
unknownBytes: Array.from(reader.readBytes(104)),
|
|
17
|
-
unknownFlag: reader.readByte()
|
|
18
|
-
});
|
|
15
|
+
objects.push(VehiclePhysicsData_1.VehiclePhysicsData.Parse(reader));
|
|
19
16
|
}
|
|
20
17
|
const property = {
|
|
21
18
|
type: 'VehicleSpecialProperties',
|
|
@@ -32,9 +29,7 @@ var VehicleSpecialProperties;
|
|
|
32
29
|
VehicleSpecialProperties.Serialize = (writer, property) => {
|
|
33
30
|
writer.writeInt32(property.objects.length);
|
|
34
31
|
for (const object of property.objects) {
|
|
35
|
-
|
|
36
|
-
writer.writeBytesArray(object.unknownBytes);
|
|
37
|
-
writer.writeByte(object.unknownFlag);
|
|
32
|
+
VehiclePhysicsData_1.VehiclePhysicsData.Serialize(writer, object);
|
|
38
33
|
}
|
|
39
34
|
if (property.vehicleInFront !== undefined
|
|
40
35
|
&& property.vehicleBehind !== undefined) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VehicleSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/VehicleSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,mEAAgE;
|
|
1
|
+
{"version":3,"file":"VehicleSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/VehicleSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,mEAAgE;AAChE,yEAAsE;AAE/D,MAAM,0BAA0B,GAAG,CAAC,GAAQ,EAAmC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,0BAA0B,CAAC;AAApH,QAAA,0BAA0B,8BAA0F;AASjI,IAAiB,wBAAwB,CAwCxC;AAxCD,WAAiB,wBAAwB;IACxB,8BAAK,GAAG,CAAC,MAAqB,EAAE,YAAoB,EAAE,QAAgB,EAA4B,EAAE;QAC7G,MAAM,KAAK,GAAG,MAAM,CAAC,iBAAiB,EAAE,CAAC;QAEzC,MAAM,OAAO,GAAG,EAAE,CAAC;QACnB,MAAM,YAAY,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QACxC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,YAAY,EAAE,CAAC,EAAE,EAAE,CAAC;YACpC,OAAO,CAAC,IAAI,CAAC,uCAAkB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;QACnD,CAAC;QAED,MAAM,QAAQ,GAA6B;YACvC,IAAI,EAAE,0BAA0B;YAChC,OAAO;SACV,CAAC;QAGF,MAAM,mBAAmB,GAAG,CAAC,YAAY,GAAG,CAAC,MAAM,CAAC,iBAAiB,EAAE,GAAG,KAAK,CAAC,CAAC,CAAC;QAClF,IAAI,CAAC,QAAQ,KAAK,oFAAoF;eAC/F,QAAQ,KAAK,mFAAmF,CACtG,IAAI,mBAAmB,GAAG,CAAC,EAAE,CAAC;YAE3B,QAAQ,CAAC,cAAc,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACvD,QAAQ,CAAC,aAAa,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC1D,CAAC;QAED,OAAO,QAAQ,CAAC;IACpB,CAAC,CAAC;IAEW,kCAAS,GAAG,CAAC,MAAqB,EAAE,QAAkC,EAAE,EAAE;QACnF,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC3C,KAAK,MAAM,MAAM,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;YACpC,uCAAkB,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACjD,CAAC;QAED,IAAI,QAAQ,CAAC,cAAc,KAAK,SAAS;eAClC,QAAQ,CAAC,aAAa,KAAK,SAAS,EAAE,CAAC;YAC1C,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,cAAe,CAAC,CAAC;YACxD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,aAAc,CAAC,CAAC;QAC3D,CAAC;IACL,CAAC,CAAC;AACN,CAAC,EAxCgB,wBAAwB,wCAAxB,wBAAwB,QAwCxC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { ObjectReference } from '../../structs/ObjectReference';\nimport { VehiclePhysicsData } from '../../structs/VehiclePhysicsData';\n\nexport const isVehicleSpecialProperties = (obj: any): obj is VehicleSpecialProperties => obj.type === 'VehicleSpecialProperties';\n\nexport type VehicleSpecialProperties = {\n type: 'VehicleSpecialProperties';\n objects: VehiclePhysicsData[];\n vehicleInFront?: ObjectReference;\n vehicleBehind?: ObjectReference;\n};\n\nexport namespace VehicleSpecialProperties {\n export const Parse = (reader: ContextReader, remainingLen: number, typePath: string): VehicleSpecialProperties => {\n const start = reader.getBufferPosition();\n\n const objects = [];\n const countObjects = reader.readInt32();\n for (let i = 0; i < countObjects; i++) {\n objects.push(VehiclePhysicsData.Parse(reader));\n }\n\n const property: VehicleSpecialProperties = {\n type: 'VehicleSpecialProperties',\n objects\n };\n\n // CAN have more data.\n const reminingVehicleSize = (remainingLen - (reader.getBufferPosition() - start));\n if ((typePath === '/Game/FactoryGame/Buildable/Vehicle/Train/Locomotive/BP_Locomotive.BP_Locomotive_C'\n || typePath === '/Game/FactoryGame/Buildable/Vehicle/Train/Wagon/BP_FreightWagon.BP_FreightWagon_C'\n ) && reminingVehicleSize > 0) {\n\n property.vehicleInFront = ObjectReference.read(reader);\n property.vehicleBehind = ObjectReference.read(reader);\n }\n\n return property;\n };\n\n export const Serialize = (writer: ContextWriter, property: VehicleSpecialProperties) => {\n writer.writeInt32(property.objects.length);\n for (const object of property.objects) {\n VehiclePhysicsData.Serialize(writer, object);\n }\n\n if (property.vehicleInFront !== undefined\n && property.vehicleBehind !== undefined) {\n ObjectReference.write(writer, property.vehicleInFront!);\n ObjectReference.write(writer, property.vehicleBehind!);\n }\n };\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime-buildable-instance-data-version.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.ts"],"names":[],"mappings":"AAIA,oBAAY,mCAAmC;IAC3C,SAAS,IAAA;IAET,cAAc,IAAA;IAEd,qBAAqB,IAAA;IAGrB,cAAc,IAAA;IACd,aAAa,IAAqB;CACrC"}
|
package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuntimeBuildableInstanceDataVersion = void 0;
|
|
4
|
+
var RuntimeBuildableInstanceDataVersion;
|
|
5
|
+
(function (RuntimeBuildableInstanceDataVersion) {
|
|
6
|
+
RuntimeBuildableInstanceDataVersion[RuntimeBuildableInstanceDataVersion["NoVersion"] = 0] = "NoVersion";
|
|
7
|
+
RuntimeBuildableInstanceDataVersion[RuntimeBuildableInstanceDataVersion["InitialVersion"] = 1] = "InitialVersion";
|
|
8
|
+
RuntimeBuildableInstanceDataVersion[RuntimeBuildableInstanceDataVersion["AddedTypeSpecificData"] = 2] = "AddedTypeSpecificData";
|
|
9
|
+
RuntimeBuildableInstanceDataVersion[RuntimeBuildableInstanceDataVersion["VersionPlusOne"] = 3] = "VersionPlusOne";
|
|
10
|
+
RuntimeBuildableInstanceDataVersion[RuntimeBuildableInstanceDataVersion["LatestVersion"] = 2] = "LatestVersion";
|
|
11
|
+
})(RuntimeBuildableInstanceDataVersion || (exports.RuntimeBuildableInstanceDataVersion = RuntimeBuildableInstanceDataVersion = {}));
|
|
12
|
+
//# sourceMappingURL=runtime-buildable-instance-data-version.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime-buildable-instance-data-version.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.ts"],"names":[],"mappings":";;;AAIA,IAAY,mCAUX;AAVD,WAAY,mCAAmC;IAC3C,uGAAS,CAAA;IAET,iHAAc,CAAA;IAEd,+HAAqB,CAAA;IAGrB,iHAAc,CAAA;IACd,+GAAkC,CAAA;AACtC,CAAC,EAVW,mCAAmC,mDAAnC,mCAAmC,QAU9C","sourcesContent":["\n/**\n * Source: SaveCustomVersion.h\n */\nexport enum RuntimeBuildableInstanceDataVersion {\n NoVersion,\n\n InitialVersion,\n // 2025-03-18: Added data specific to the type of the lightweight buildable. Used for beams.\n AddedTypeSpecificData,\n\n // -----<new versions can be added above this line>-------------------------------------------------\n VersionPlusOne,\n LatestVersion = VersionPlusOne - 1\n}"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ContextReader } from '../../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../../context/context-writer';
|
|
3
3
|
import { PropertiesMap } from '../property/generic/AbstractBaseProperty';
|
|
4
4
|
export type DynamicStructPropertyValue = {
|
|
5
5
|
type: string;
|
|
6
6
|
properties: PropertiesMap;
|
|
7
7
|
};
|
|
8
8
|
export declare namespace DynamicStructPropertyValue {
|
|
9
|
-
const read: (reader:
|
|
10
|
-
const write: (writer:
|
|
9
|
+
const read: (reader: ContextReader, type: string) => DynamicStructPropertyValue;
|
|
10
|
+
const write: (writer: ContextWriter, data: DynamicStructPropertyValue) => void;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=DynamicStructPropertyValue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicStructPropertyValue.d.ts","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/DynamicStructPropertyValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DynamicStructPropertyValue.d.ts","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/DynamicStructPropertyValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAEzE,MAAM,MAAM,0BAA0B,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,aAAa,CAAC;CAC7B,CAAC;AAEF,yBAAiB,0BAA0B,CAAC;IAEjC,MAAM,IAAI,WAAY,aAAa,QAAQ,MAAM,KAAG,0BAQ1D,CAAC;IAEK,MAAM,KAAK,WAAY,aAAa,QAAQ,0BAA0B,KAAG,IAE/E,CAAC;CACL"}
|
|
@@ -4,15 +4,15 @@ exports.DynamicStructPropertyValue = void 0;
|
|
|
4
4
|
const PropertiesList_1 = require("../property/PropertiesList");
|
|
5
5
|
var DynamicStructPropertyValue;
|
|
6
6
|
(function (DynamicStructPropertyValue) {
|
|
7
|
-
DynamicStructPropertyValue.read = (reader,
|
|
7
|
+
DynamicStructPropertyValue.read = (reader, type) => {
|
|
8
8
|
const data = {
|
|
9
9
|
type, properties: {}
|
|
10
10
|
};
|
|
11
|
-
data.properties = PropertiesList_1.PropertiesList.ParseList(reader
|
|
11
|
+
data.properties = PropertiesList_1.PropertiesList.ParseList(reader);
|
|
12
12
|
return data;
|
|
13
13
|
};
|
|
14
|
-
DynamicStructPropertyValue.write = (writer,
|
|
15
|
-
PropertiesList_1.PropertiesList.SerializeList(data.properties
|
|
14
|
+
DynamicStructPropertyValue.write = (writer, data) => {
|
|
15
|
+
PropertiesList_1.PropertiesList.SerializeList(writer, data.properties);
|
|
16
16
|
};
|
|
17
17
|
})(DynamicStructPropertyValue || (exports.DynamicStructPropertyValue = DynamicStructPropertyValue = {}));
|
|
18
18
|
;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicStructPropertyValue.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/DynamicStructPropertyValue.ts"],"names":[],"mappings":";;;AAEA,+DAA4D;AAQ5D,IAAiB,0BAA0B,CAe1C;AAfD,WAAiB,0BAA0B;IAE1B,+BAAI,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"DynamicStructPropertyValue.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/DynamicStructPropertyValue.ts"],"names":[],"mappings":";;;AAEA,+DAA4D;AAQ5D,IAAiB,0BAA0B,CAe1C;AAfD,WAAiB,0BAA0B;IAE1B,+BAAI,GAAG,CAAC,MAAqB,EAAE,IAAY,EAA8B,EAAE;QACpF,MAAM,IAAI,GAA+B;YACrC,IAAI,EAAE,UAAU,EAAE,EAAE;SACvB,CAAC;QAEF,IAAI,CAAC,UAAU,GAAG,+BAAc,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAEnD,OAAO,IAAI,CAAC;IAChB,CAAC,CAAC;IAEW,gCAAK,GAAG,CAAC,MAAqB,EAAE,IAAgC,EAAQ,EAAE;QACnF,+BAAc,CAAC,aAAa,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC1D,CAAC,CAAC;AACN,CAAC,EAfgB,0BAA0B,0CAA1B,0BAA0B,QAe1C;AAAA,CAAC","sourcesContent":["import { ContextReader } from '../../../context/context-reader';\nimport { ContextWriter } from '../../../context/context-writer';\nimport { PropertiesList } from '../property/PropertiesList';\nimport { PropertiesMap } from '../property/generic/AbstractBaseProperty';\n\nexport type DynamicStructPropertyValue = {\n type: string;\n properties: PropertiesMap;\n};\n\nexport namespace DynamicStructPropertyValue {\n\n export const read = (reader: ContextReader, type: string): DynamicStructPropertyValue => {\n const data: DynamicStructPropertyValue = {\n type, properties: {}\n };\n\n data.properties = PropertiesList.ParseList(reader);\n\n return data;\n };\n\n export const write = (writer: ContextWriter, data: DynamicStructPropertyValue): void => {\n PropertiesList.SerializeList(writer, data.properties);\n };\n};"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ContextReader } from '../../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../../context/context-writer';
|
|
3
|
+
import { PropertiesMap } from '../property/generic/AbstractBaseProperty';
|
|
4
|
+
import { ObjectReference } from './ObjectReference';
|
|
5
|
+
export type FGDynamicStruct = {
|
|
6
|
+
hasValidStruct: boolean;
|
|
7
|
+
structReference?: ObjectReference;
|
|
8
|
+
properties?: PropertiesMap;
|
|
9
|
+
};
|
|
10
|
+
export declare namespace FGDynamicStruct {
|
|
11
|
+
const Parse: (reader: ContextReader) => FGDynamicStruct;
|
|
12
|
+
const Serialize: (writer: ContextWriter, struct: FGDynamicStruct) => void;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=FGDynamicStruct.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FGDynamicStruct.d.ts","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/FGDynamicStruct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAEzE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,MAAM,MAAM,eAAe,GAAG;IAC1B,cAAc,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,UAAU,CAAC,EAAE,aAAa,CAAC;CAC9B,CAAA;AAED,yBAAiB,eAAe,CAAC;IACtB,MAAM,KAAK,WAAY,aAAa,KAAG,eAgB7C,CAAA;IAEM,MAAM,SAAS,WAAY,aAAa,UAAU,eAAe,KAAG,IAS1E,CAAA;CACJ"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FGDynamicStruct = void 0;
|
|
4
|
+
const PropertiesList_1 = require("../property/PropertiesList");
|
|
5
|
+
const ObjectReference_1 = require("./ObjectReference");
|
|
6
|
+
var FGDynamicStruct;
|
|
7
|
+
(function (FGDynamicStruct) {
|
|
8
|
+
FGDynamicStruct.Parse = (reader) => {
|
|
9
|
+
const hasValidStruct = reader.readInt32() >= 1;
|
|
10
|
+
let structReference;
|
|
11
|
+
let properties;
|
|
12
|
+
if (hasValidStruct) {
|
|
13
|
+
structReference = ObjectReference_1.ObjectReference.read(reader);
|
|
14
|
+
const binarySize = reader.readInt32();
|
|
15
|
+
properties = PropertiesList_1.PropertiesList.ParseList(reader);
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
hasValidStruct,
|
|
19
|
+
structReference,
|
|
20
|
+
properties
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
FGDynamicStruct.Serialize = (writer, struct) => {
|
|
24
|
+
writer.writeInt32(struct.hasValidStruct ? 1 : 0);
|
|
25
|
+
if (struct.hasValidStruct) {
|
|
26
|
+
ObjectReference_1.ObjectReference.write(writer, struct.structReference);
|
|
27
|
+
const before = writer.getBufferPosition();
|
|
28
|
+
writer.writeInt32Zero();
|
|
29
|
+
PropertiesList_1.PropertiesList.SerializeList(writer, struct.properties);
|
|
30
|
+
writer.writeBinarySizeFromPosition(before, before + 4);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
})(FGDynamicStruct || (exports.FGDynamicStruct = FGDynamicStruct = {}));
|
|
34
|
+
//# sourceMappingURL=FGDynamicStruct.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FGDynamicStruct.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/FGDynamicStruct.ts"],"names":[],"mappings":";;;AAGA,+DAA4D;AAC5D,uDAAoD;AASpD,IAAiB,eAAe,CA6B/B;AA7BD,WAAiB,eAAe;IACf,qBAAK,GAAG,CAAC,MAAqB,EAAmB,EAAE;QAC5D,MAAM,cAAc,GAAG,MAAM,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QAC/C,IAAI,eAAe,CAAC;QACpB,IAAI,UAAU,CAAC;QAEf,IAAI,cAAc,EAAE,CAAC;YACjB,eAAe,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC/C,MAAM,UAAU,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;YACtC,UAAU,GAAG,+BAAc,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAClD,CAAC;QAED,OAAO;YACH,cAAc;YACd,eAAe;YACf,UAAU;SACa,CAAC;IAChC,CAAC,CAAA;IAEY,yBAAS,GAAG,CAAC,MAAqB,EAAE,MAAuB,EAAQ,EAAE;QAC9E,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACjD,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;YACxB,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,eAAgB,CAAC,CAAC;YACvD,MAAM,MAAM,GAAG,MAAM,CAAC,iBAAiB,EAAE,CAAC;YAC1C,MAAM,CAAC,cAAc,EAAE,CAAC;YACxB,+BAAc,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,UAAW,CAAC,CAAC;YACzD,MAAM,CAAC,2BAA2B,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC;QAC3D,CAAC;IACL,CAAC,CAAA;AACL,CAAC,EA7BgB,eAAe,+BAAf,eAAe,QA6B/B","sourcesContent":["import { ContextReader } from '../../../context/context-reader';\nimport { ContextWriter } from '../../../context/context-writer';\nimport { PropertiesMap } from '../property/generic/AbstractBaseProperty';\nimport { PropertiesList } from '../property/PropertiesList';\nimport { ObjectReference } from './ObjectReference';\n\n\nexport type FGDynamicStruct = {\n hasValidStruct: boolean;\n structReference?: ObjectReference;\n properties?: PropertiesMap;\n}\n\nexport namespace FGDynamicStruct {\n export const Parse = (reader: ContextReader): FGDynamicStruct => {\n const hasValidStruct = reader.readInt32() >= 1;\n let structReference;\n let properties;\n\n if (hasValidStruct) {\n structReference = ObjectReference.read(reader);\n const binarySize = reader.readInt32();\n properties = PropertiesList.ParseList(reader);\n }\n\n return {\n hasValidStruct,\n structReference,\n properties\n } satisfies FGDynamicStruct;\n }\n\n export const Serialize = (writer: ContextWriter, struct: FGDynamicStruct): void => {\n writer.writeInt32(struct.hasValidStruct ? 1 : 0);\n if (struct.hasValidStruct) {\n ObjectReference.write(writer, struct.structReference!);\n const before = writer.getBufferPosition();\n writer.writeInt32Zero();\n PropertiesList.SerializeList(writer, struct.properties!);\n writer.writeBinarySizeFromPosition(before, before + 4);\n }\n }\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
|
export type GUID = [number, number, number, number];
|
|
4
4
|
export declare namespace GUID {
|
|
5
|
-
const read: (reader:
|
|
6
|
-
const write: (writer:
|
|
5
|
+
const read: (reader: ContextReader) => GUID;
|
|
6
|
+
const write: (writer: ContextWriter, guid: GUID) => void;
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=GUID.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GUID.d.ts","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/GUID.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"GUID.d.ts","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/GUID.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,MAAM,MAAM,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAEpD,yBAAiB,IAAI,CAAC;IACX,MAAM,IAAI,WAAY,aAAa,KAAG,IAO5C,CAAA;IAEM,MAAM,KAAK,WAAY,aAAa,QAAQ,IAAI,KAAG,IAKzD,CAAA;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GUID.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/GUID.ts"],"names":[],"mappings":";;;AAKA,IAAiB,IAAI,CAgBpB;AAhBD,WAAiB,IAAI;IACJ,SAAI,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"GUID.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/GUID.ts"],"names":[],"mappings":";;;AAKA,IAAiB,IAAI,CAgBpB;AAhBD,WAAiB,IAAI;IACJ,SAAI,GAAG,CAAC,MAAqB,EAAQ,EAAE;QAChD,OAAO;YACH,MAAM,CAAC,UAAU,EAAE;YACnB,MAAM,CAAC,UAAU,EAAE;YACnB,MAAM,CAAC,UAAU,EAAE;YACnB,MAAM,CAAC,UAAU,EAAE;SACtB,CAAC;IACN,CAAC,CAAA;IAEY,UAAK,GAAG,CAAC,MAAqB,EAAE,IAAU,EAAQ,EAAE;QAC7D,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5B,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5B,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5B,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAChC,CAAC,CAAA;AACL,CAAC,EAhBgB,IAAI,oBAAJ,IAAI,QAgBpB;AAAA,CAAC","sourcesContent":["import { ContextReader } from '../../../context/context-reader';\nimport { ContextWriter } from '../../../context/context-writer';\n\nexport type GUID = [number, number, number, number];\n\nexport namespace GUID {\n export const read = (reader: ContextReader): GUID => {\n return [\n reader.readUint32(),\n reader.readUint32(),\n reader.readUint32(),\n reader.readUint32(),\n ];\n }\n\n export const write = (writer: ContextWriter, guid: GUID): void => {\n writer.writeUint32(guid[0]);\n writer.writeUint32(guid[1]);\n writer.writeUint32(guid[2]);\n writer.writeUint32(guid[3]);\n }\n};"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ContextReader } from '../../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../../context/context-writer';
|
|
3
3
|
import { GUID } from './GUID';
|
|
4
4
|
export type GUIDInfo = undefined | GUID;
|
|
5
5
|
export declare namespace GUIDInfo {
|
|
6
|
-
const read: (reader:
|
|
7
|
-
const write: (writer:
|
|
6
|
+
const read: (reader: ContextReader) => GUIDInfo;
|
|
7
|
+
const write: (writer: ContextWriter, guid: GUIDInfo) => void;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=GUIDInfo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GUIDInfo.d.ts","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/GUIDInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"GUIDInfo.d.ts","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/GUIDInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC;AAExC,yBAAiB,QAAQ,CAAC;IACf,MAAM,IAAI,WAAY,aAAa,KAAG,QAO5C,CAAA;IAEM,MAAM,KAAK,WAAY,aAAa,QAAQ,QAAQ,KAAG,IAQ7D,CAAA;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GUIDInfo.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/GUIDInfo.ts"],"names":[],"mappings":";;;AAEA,iCAA8B;AAI9B,IAAiB,QAAQ,CAmBxB;AAnBD,WAAiB,QAAQ;IACR,aAAI,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"GUIDInfo.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/GUIDInfo.ts"],"names":[],"mappings":";;;AAEA,iCAA8B;AAI9B,IAAiB,QAAQ,CAmBxB;AAnBD,WAAiB,QAAQ;IACR,aAAI,GAAG,CAAC,MAAqB,EAAY,EAAE;QAEpD,IAAI,MAAM,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC;YAC1B,OAAO,WAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACJ,OAAO,SAAS,CAAC;QACrB,CAAC;IACL,CAAC,CAAA;IAEY,cAAK,GAAG,CAAC,MAAqB,EAAE,IAAc,EAAQ,EAAE;QACjE,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACrB,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YACpB,OAAO;QACX,CAAC;aAAM,CAAC;YACJ,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YACpB,WAAI,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC;IACL,CAAC,CAAA;AACL,CAAC,EAnBgB,QAAQ,wBAAR,QAAQ,QAmBxB;AAAA,CAAC","sourcesContent":["import { ContextReader } from '../../../context/context-reader';\nimport { ContextWriter } from '../../../context/context-writer';\nimport { GUID } from './GUID';\n\nexport type GUIDInfo = undefined | GUID;\n\nexport namespace GUIDInfo {\n export const read = (reader: ContextReader): GUIDInfo => {\n // means whether it has guid.\n if (reader.readByte() === 1) {\n return GUID.read(reader);\n } else {\n return undefined;\n }\n }\n\n export const write = (writer: ContextWriter, guid: GUIDInfo): void => {\n if (guid === undefined) {\n writer.writeByte(0);\n return;\n } else {\n writer.writeByte(1);\n GUID.write(writer, guid);\n }\n }\n};"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ContextReader } from '../../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../../context/context-writer';
|
|
3
3
|
export type MD5Hash = {
|
|
4
4
|
isValid: boolean;
|
|
5
5
|
hash?: number[];
|
|
6
6
|
};
|
|
7
7
|
export declare namespace MD5Hash {
|
|
8
|
-
const read: (reader:
|
|
9
|
-
const write: (writer:
|
|
8
|
+
const read: (reader: ContextReader) => MD5Hash;
|
|
9
|
+
const write: (writer: ContextWriter, md5Hash: MD5Hash) => void;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=MD5Hash.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MD5Hash.d.ts","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/MD5Hash.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"MD5Hash.d.ts","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/MD5Hash.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAGhE,MAAM,MAAM,OAAO,GAAG;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,yBAAiB,OAAO,CAAC;IACd,MAAM,IAAI,WAAY,aAAa,KAAG,OAO5C,CAAC;IAEK,MAAM,KAAK,WAAY,aAAa,WAAW,OAAO,KAAG,IAK/D,CAAC;CACL"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MD5Hash.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/MD5Hash.ts"],"names":[],"mappings":";;;AASA,IAAiB,OAAO,CAgBvB;AAhBD,WAAiB,OAAO;IACP,YAAI,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"MD5Hash.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/MD5Hash.ts"],"names":[],"mappings":";;;AASA,IAAiB,OAAO,CAgBvB;AAhBD,WAAiB,OAAO;IACP,YAAI,GAAG,CAAC,MAAqB,EAAW,EAAE;QACnD,MAAM,OAAO,GAAY,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAC5C,OAAO,CAAC,OAAO,GAAG,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;QAC3C,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YAClB,OAAO,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC;QACpD,CAAC;QACD,OAAO,OAAO,CAAC;IACnB,CAAC,CAAC;IAEW,aAAK,GAAG,CAAC,MAAqB,EAAE,OAAgB,EAAQ,EAAE;QACnE,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3C,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YAClB,MAAM,CAAC,eAAe,CAAC,OAAO,CAAC,IAAK,CAAC,CAAC;QAC1C,CAAC;IACL,CAAC,CAAC;AACN,CAAC,EAhBgB,OAAO,uBAAP,OAAO,QAgBvB;AAAA,CAAC","sourcesContent":["import { ContextReader } from '../../../context/context-reader';\nimport { ContextWriter } from '../../../context/context-writer';\n\n\nexport type MD5Hash = {\n isValid: boolean;\n hash?: number[];\n};\n\nexport namespace MD5Hash {\n export const read = (reader: ContextReader): MD5Hash => {\n const md5Hash: MD5Hash = { isValid: false };\n md5Hash.isValid = reader.readInt32() === 1;\n if (md5Hash.isValid) {\n md5Hash.hash = Array.from(reader.readBytes(16));\n }\n return md5Hash;\n };\n\n export const write = (writer: ContextWriter, md5Hash: MD5Hash): void => {\n writer.writeInt32(md5Hash.isValid ? 1 : 0);\n if (md5Hash.isValid) {\n writer.writeBytesArray(md5Hash.hash!);\n }\n };\n};"]}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ContextReader } from '../../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../../context/context-writer';
|
|
3
3
|
export type ObjectReference = {
|
|
4
4
|
levelName: string;
|
|
5
5
|
pathName: string;
|
|
6
6
|
};
|
|
7
7
|
export declare namespace ObjectReference {
|
|
8
|
-
const read: (reader:
|
|
9
|
-
const write: (writer:
|
|
8
|
+
const read: (reader: ContextReader) => ObjectReference;
|
|
9
|
+
const write: (writer: ContextWriter, ref: ObjectReference) => void;
|
|
10
|
+
const IsEqual: (ref1: ObjectReference, ref2: ObjectReference) => boolean;
|
|
10
11
|
}
|
|
11
12
|
//# sourceMappingURL=ObjectReference.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectReference.d.ts","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/ObjectReference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ObjectReference.d.ts","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/ObjectReference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,MAAM,MAAM,eAAe,GAAG;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,eAAe,CAAC;IACzB,MAAM,IAAI,WAAY,aAAa,KAAG,eAK5C,CAAC;IAEK,MAAM,KAAK,WAAY,aAAa,OAAO,eAAe,KAAG,IAGnE,CAAC;IAEK,MAAM,OAAO,SAAU,eAAe,QAAQ,eAAe,YAAyE,CAAC;CAC9I"}
|
|
@@ -13,6 +13,7 @@ var ObjectReference;
|
|
|
13
13
|
writer.writeString(ref.levelName);
|
|
14
14
|
writer.writeString(ref.pathName);
|
|
15
15
|
};
|
|
16
|
+
ObjectReference.IsEqual = (ref1, ref2) => ref1.levelName === ref2.levelName && ref1.pathName === ref2.pathName;
|
|
16
17
|
})(ObjectReference || (exports.ObjectReference = ObjectReference = {}));
|
|
17
18
|
;
|
|
18
19
|
//# sourceMappingURL=ObjectReference.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectReference.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/ObjectReference.ts"],"names":[],"mappings":";;;AAQA,IAAiB,eAAe,
|
|
1
|
+
{"version":3,"file":"ObjectReference.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/ObjectReference.ts"],"names":[],"mappings":";;;AAQA,IAAiB,eAAe,CAc/B;AAdD,WAAiB,eAAe;IAClB,oBAAI,GAAG,CAAC,MAAqB,EAAmB,EAAE;QAC9D,OAAO;YACN,SAAS,EAAE,MAAM,CAAC,UAAU,EAAE;YAC9B,QAAQ,EAAE,MAAM,CAAC,UAAU,EAAE;SAC7B,CAAC;IACH,CAAC,CAAC;IAEW,qBAAK,GAAG,CAAC,MAAqB,EAAE,GAAoB,EAAQ,EAAE;QAC1E,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAClC,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC,CAAC;IAEW,uBAAO,GAAG,CAAC,IAAqB,EAAE,IAAqB,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,KAAK,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,QAAQ,CAAC;AAC/I,CAAC,EAdgB,eAAe,+BAAf,eAAe,QAc/B;AAAA,CAAC","sourcesContent":["import { ContextReader } from '../../../context/context-reader';\nimport { ContextWriter } from '../../../context/context-writer';\n\nexport type ObjectReference = {\n\tlevelName: string;\n\tpathName: string;\n};\n\nexport namespace ObjectReference {\n\texport const read = (reader: ContextReader): ObjectReference => {\n\t\treturn {\n\t\t\tlevelName: reader.readString(),\n\t\t\tpathName: reader.readString()\n\t\t};\n\t};\n\n\texport const write = (writer: ContextWriter, ref: ObjectReference): void => {\n\t\twriter.writeString(ref.levelName);\n\t\twriter.writeString(ref.pathName);\n\t};\n\n\texport const IsEqual = (ref1: ObjectReference, ref2: ObjectReference) => ref1.levelName === ref2.levelName && ref1.pathName === ref2.pathName;\n};\n"]}
|