@etothepii/satisfactory-file-parser 2.1.2 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +125 -99
- package/LICENCE.md +1 -1
- package/README.md +36 -18
- package/build/index.d.ts +12 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +13 -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 +48 -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 +18 -0
- package/build/parser/satisfactory/edit/edit-constants.d.ts.map +1 -1
- package/build/parser/satisfactory/edit/edit-constants.js +18 -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.class.d.ts +17 -10
- package/build/parser/satisfactory/save/level.class.d.ts.map +1 -1
- package/build/parser/satisfactory/save/level.class.js +77 -21
- 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 +29 -33
- 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 +62 -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
package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuildableSubsystemSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,6CAA0C;AAC1C,mEAAgE;AAChE,uDAAoD;AAI7C,MAAM,qCAAqC,GAAG,CAAC,GAAQ,EAA8C,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,qCAAqC,CAAC;AAArJ,QAAA,qCAAqC,yCAAgH;AAUlK,IAAiB,mCAAmC,CA0Fn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AC,CAAC;oBACrD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;oBACpD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;oBAEjD,WAAI,CAAC,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;oBAClD,WAAI,CAAC,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;oBAEpD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;oBACxD,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;oBAC3C,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;oBACnD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;gBAC3D,CAAC;YACL,CAAC;QACL,CAAC;IACL,CAAC,CAAC;AACN,CAAC,EA1FgB,mCAAmC,mDAAnC,mCAAmC,QA0FnD","sourcesContent":["import { BinaryReadable } from '../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../byte/byte-writer.class';\nimport { col4 } from '../../structs/col4';\nimport { ObjectReference } from '../../structs/ObjectReference';\nimport { Transform } from '../../structs/Transform';\n\n\n\nexport const isBuildableSubsystemSpecialProperties = (obj: any): obj is BuildableSubsystemSpecialProperties => obj.type === 'BuildableSubsystemSpecialProperties';\n\nexport type BuildableSubsystemSpecialProperties = {\n type: 'BuildableSubsystemSpecialProperties';\n buildables: {\n typePath: string;\n instances: BuildableTypeInstance[];\n }[];\n};\n\nexport namespace BuildableSubsystemSpecialProperties {\n export const Parse = (reader: BinaryReadable): BuildableSubsystemSpecialProperties => {\n\n const property: BuildableSubsystemSpecialProperties = {\n type: 'BuildableSubsystemSpecialProperties',\n buildables: []\n };\n\n const entriesCount = reader.readInt32();\n if (entriesCount > 0) {\n\n for (let i = 0; i < entriesCount; i++) {\n reader.readInt32(); //0\n const typePath = reader.readString();\n const count = reader.readInt32();\n\n const instances = [];\n for (let j = 0; j < count; j++) {\n\n const transform = Transform.Parse(reader);\n\n const usedSwatchSlot = ObjectReference.read(reader);\n const usedMaterial = ObjectReference.read(reader);\n const usedPattern = ObjectReference.read(reader);\n const usedSkin = ObjectReference.read(reader);\n\n const primaryColor = col4.ParseRGBA(reader);\n const secondaryColor = col4.ParseRGBA(reader);\n\n const usedPaintFinish = ObjectReference.read(reader);\n const patternRotation = reader.readByte();\n const usedRecipe = ObjectReference.read(reader);\n const blueprintProxy = ObjectReference.read(reader);\n\n instances.push({\n transform,\n primaryColor,\n secondaryColor,\n usedSwatchSlot,\n usedMaterial,\n usedPattern,\n usedSkin,\n usedRecipe,\n usedPaintFinish,\n patternRotation,\n blueprintProxy\n } satisfies BuildableTypeInstance);\n }\n\n property.buildables.push({\n typePath,\n instances\n });\n }\n }\n\n return property;\n };\n\n export const Serialize = (writer: ByteWriter, property: BuildableSubsystemSpecialProperties) => {\n\n writer.writeInt32(property.buildables.length);\n\n if (property.buildables.length > 0) {\n\n for (const buildable of property.buildables) {\n writer.writeInt32(0);\n writer.writeString(buildable.typePath);\n writer.writeInt32(buildable.instances.length);\n\n for (const instance of buildable.instances) {\n\n Transform.Serialize(writer, instance.transform);\n\n ObjectReference.write(writer, instance.usedSwatchSlot);\n ObjectReference.write(writer, instance.usedMaterial);\n ObjectReference.write(writer, instance.usedPattern);\n ObjectReference.write(writer, instance.usedSkin);\n\n col4.SerializeRGBA(writer, instance.primaryColor);\n col4.SerializeRGBA(writer, instance.secondaryColor);\n\n ObjectReference.write(writer, instance.usedPaintFinish);\n writer.writeByte(instance.patternRotation);\n ObjectReference.write(writer, instance.usedRecipe);\n ObjectReference.write(writer, instance.blueprintProxy);\n }\n }\n }\n };\n}\nexport type BuildableTypeInstance = {\n transform: Transform;\n primaryColor: col4;\n secondaryColor: col4;\n usedSwatchSlot: ObjectReference;\n usedPattern: ObjectReference;\n usedMaterial: ObjectReference;\n usedSkin: ObjectReference;\n usedPaintFinish: ObjectReference;\n patternRotation: number;\n usedRecipe: ObjectReference;\n blueprintProxy: ObjectReference;\n};\n\n"]}
|
|
1
|
+
{"version":3,"file":"BuildableSubsystemSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,2EAAsE;AACtE,6CAA0C;AAC1C,mEAAgE;AAChE,mEAAgE;AAChE,uDAAoD;AACpD,uGAAgG;AAIzF,MAAM,qCAAqC,GAAG,CAAC,GAAQ,EAA8C,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,qCAAqC,CAAC;AAArJ,QAAA,qCAAqC,yCAAgH;AAWlK,IAAiB,mCAAmC,CAsDnD;AAtDD,WAAiB,mCAAmC;IACnC,yCAAK,GAAG,CAAC,MAAqB,EAAuC,EAAE;QAEhF,MAAM,QAAQ,GAAwC;YAClD,IAAI,EAAE,qCAAqC;YAC3C,UAAU,EAAE,EAAE;YACd,yBAAyB,EAAE,CAAC;SAC/B,CAAC;QAEF,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,IAAI,uCAAiB,CAAC,iDAAiD,EAAE,CAAC;YACpG,QAAQ,CAAC,yBAAyB,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAC5D,CAAC;QAED,MAAM,YAAY,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QACxC,IAAI,YAAY,GAAG,CAAC,EAAE,CAAC;YAEnB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,YAAY,EAAE,CAAC,EAAE,EAAE,CAAC;gBACpC,MAAM,aAAa,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBACnD,MAAM,KAAK,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;gBAEjC,MAAM,SAAS,GAA4B,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AoB;SACS,CAAC;IACtC,CAAC,CAAA;IAEY,+BAAS,GAAG,CAAC,MAAqB,EAAE,QAA+B,EAAE,kBAA0B,EAAE,EAAE;QAC5G,qBAAS,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC;QAEhD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;QACvD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;QACrD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;QACpD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAEjD,WAAI,CAAC,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;QAClD,WAAI,CAAC,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;QAEpD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;QACxD,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;QAC3C,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;QACnD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;QAEvD,IAAI,kBAAkB,IAAI,6EAAmC,CAAC,qBAAqB,EAAE,CAAC;YAClF,iCAAe,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,oBAAqB,CAAC,CAAC;QACtE,CAAC;IACL,CAAC,CAAA;AACL,CAAC,EA1DgB,qBAAqB,qCAArB,qBAAqB,QA0DrC;AAAA,CAAC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { SaveCustomVersion } from '../../../save/save-custom-version';\nimport { col4 } from '../../structs/col4';\nimport { FGDynamicStruct } from '../../structs/FGDynamicStruct';\nimport { ObjectReference } from '../../structs/ObjectReference';\nimport { Transform } from '../../structs/Transform';\nimport { RuntimeBuildableInstanceDataVersion } from './runtime-buildable-instance-data-version';\n\n\n\nexport const isBuildableSubsystemSpecialProperties = (obj: any): obj is BuildableSubsystemSpecialProperties => obj.type === 'BuildableSubsystemSpecialProperties';\n\nexport type BuildableSubsystemSpecialProperties = {\n type: 'BuildableSubsystemSpecialProperties';\n buildables: {\n typeReference: ObjectReference;\n instances: BuildableTypeInstance[];\n }[];\n currentLightweightVersion?: number;\n};\n\nexport namespace BuildableSubsystemSpecialProperties {\n export const Parse = (reader: ContextReader): BuildableSubsystemSpecialProperties => {\n\n const property: BuildableSubsystemSpecialProperties = {\n type: 'BuildableSubsystemSpecialProperties',\n buildables: [],\n currentLightweightVersion: 0\n };\n\n if (reader.context.saveVersion >= SaveCustomVersion.LightweightBuildableSubsystemWritesRuntimeVersion) {\n property.currentLightweightVersion = reader.readInt32();\n }\n\n const entriesCount = reader.readInt32();\n if (entriesCount > 0) {\n\n for (let i = 0; i < entriesCount; i++) {\n const typeReference = ObjectReference.read(reader);\n const count = reader.readInt32();\n\n const instances: BuildableTypeInstance[] = [];\n for (let j = 0; j < count; j++) {\n instances.push(BuildableTypeInstance.Parse(reader, property.currentLightweightVersion ?? 0));\n }\n\n property.buildables.push({\n typeReference,\n instances\n });\n }\n }\n\n return property;\n };\n\n export const Serialize = (writer: ContextWriter, property: BuildableSubsystemSpecialProperties) => {\n\n if (writer.context.saveVersion >= SaveCustomVersion.LightweightBuildableSubsystemWritesRuntimeVersion) {\n writer.writeInt32(property.currentLightweightVersion ?? 1);\n }\n\n writer.writeInt32(Object.keys(property.buildables).length);\n\n if (Object.keys(property.buildables).length > 0) {\n\n for (const buildable of property.buildables) {\n ObjectReference.write(writer, buildable.typeReference);\n writer.writeInt32(buildable.instances.length);\n for (const instance of buildable.instances) {\n BuildableTypeInstance.Serialize(writer, instance, property.currentLightweightVersion ?? 0);\n }\n }\n }\n };\n}\n\nexport type BuildableTypeInstance = {\n transform: Transform;\n primaryColor: col4;\n secondaryColor: col4;\n usedSwatchSlot: ObjectReference;\n usedPattern: ObjectReference;\n usedMaterial: ObjectReference;\n usedSkin: ObjectReference;\n usedPaintFinish: ObjectReference;\n patternRotation: number;\n usedRecipe: ObjectReference;\n blueprintProxy: ObjectReference;\n instanceSpecificData?: FGDynamicStruct;\n};\n\nexport namespace BuildableTypeInstance {\n export const Parse = (reader: ContextReader, lightWeightVersion: number) => {\n const transform = Transform.Parse(reader);\n\n const usedSwatchSlot = ObjectReference.read(reader);\n const usedMaterial = ObjectReference.read(reader);\n const usedPattern = ObjectReference.read(reader);\n const usedSkin = ObjectReference.read(reader);\n\n const primaryColor = col4.ParseRGBA(reader);\n const secondaryColor = col4.ParseRGBA(reader);\n\n const usedPaintFinish = ObjectReference.read(reader);\n const patternRotation = reader.readByte();\n const usedRecipe = ObjectReference.read(reader);\n const blueprintProxy = ObjectReference.read(reader);\n\n let instanceSpecificData;\n if (lightWeightVersion >= RuntimeBuildableInstanceDataVersion.AddedTypeSpecificData) {\n instanceSpecificData = FGDynamicStruct.Parse(reader);\n }\n\n return {\n transform,\n primaryColor,\n secondaryColor,\n usedSwatchSlot,\n usedMaterial,\n usedPattern,\n usedSkin,\n usedRecipe,\n usedPaintFinish,\n patternRotation,\n blueprintProxy,\n instanceSpecificData\n } satisfies BuildableTypeInstance;\n }\n\n export const Serialize = (writer: ContextWriter, instance: BuildableTypeInstance, lightweightVersion: number) => {\n Transform.Serialize(writer, instance.transform);\n\n ObjectReference.write(writer, instance.usedSwatchSlot);\n ObjectReference.write(writer, instance.usedMaterial);\n ObjectReference.write(writer, instance.usedPattern);\n ObjectReference.write(writer, instance.usedSkin);\n\n col4.SerializeRGBA(writer, instance.primaryColor);\n col4.SerializeRGBA(writer, instance.secondaryColor);\n\n ObjectReference.write(writer, instance.usedPaintFinish);\n writer.writeByte(instance.patternRotation);\n ObjectReference.write(writer, instance.usedRecipe);\n ObjectReference.write(writer, instance.blueprintProxy);\n\n if (lightweightVersion >= RuntimeBuildableInstanceDataVersion.AddedTypeSpecificData) {\n FGDynamicStruct.Serialize(writer, instance.instanceSpecificData!);\n }\n }\n};\n\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
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
4
|
export declare const isCircuitSpecialProperties: (obj: any) => obj is CircuitSpecialProperties;
|
|
5
5
|
export type CircuitSpecialProperties = {
|
|
@@ -10,7 +10,7 @@ export type CircuitSpecialProperties = {
|
|
|
10
10
|
}[];
|
|
11
11
|
};
|
|
12
12
|
export declare namespace CircuitSpecialProperties {
|
|
13
|
-
const Parse: (reader:
|
|
14
|
-
const Serialize: (writer:
|
|
13
|
+
const Parse: (reader: ContextReader) => CircuitSpecialProperties;
|
|
14
|
+
const Serialize: (writer: ContextWriter, property: CircuitSpecialProperties) => void;
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=CircuitSpecialProperties.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CircuitSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/CircuitSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CircuitSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/CircuitSpecialProperties.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;AAIhE,eAAO,MAAM,0BAA0B,QAAS,GAAG,KAAG,GAAG,IAAI,wBAAmE,CAAC;AAEjI,MAAM,MAAM,wBAAwB,GAAG;IACnC,IAAI,EAAE,0BAA0B,CAAC;IACjC,QAAQ,EAAE;QACN,EAAE,EAAE,MAAM,CAAC;QACX,eAAe,EAAE,eAAe,CAAC;KACpC,EAAE,CAAC;CACP,CAAC;AAEF,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,KAAK,WAAY,aAAa,KAAG,wBAc7C,CAAC;IAEK,MAAM,SAAS,WAAY,aAAa,YAAY,wBAAwB,SAMlF,CAAC;CACL"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CircuitSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/CircuitSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,mEAAgE;AAIzD,MAAM,0BAA0B,GAAG,CAAC,GAAQ,EAAmC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,0BAA0B,CAAC;AAApH,QAAA,0BAA0B,8BAA0F;AAUjI,IAAiB,wBAAwB,CAwBxC;AAxBD,WAAiB,wBAAwB;IACxB,8BAAK,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"CircuitSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/CircuitSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,mEAAgE;AAIzD,MAAM,0BAA0B,GAAG,CAAC,GAAQ,EAAmC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,0BAA0B,CAAC;AAApH,QAAA,0BAA0B,8BAA0F;AAUjI,IAAiB,wBAAwB,CAwBxC;AAxBD,WAAiB,wBAAwB;IACxB,8BAAK,GAAG,CAAC,MAAqB,EAA4B,EAAE;QACrE,MAAM,KAAK,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QACjC,MAAM,QAAQ,GAAG,EAAE,CAAC;QACpB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;YAC7B,QAAQ,CAAC,IAAI,CAAC;gBACV,EAAE,EAAE,MAAM,CAAC,SAAS,EAAE;gBACtB,eAAe,EAAE,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC;aAChD,CAAC,CAAC;QACP,CAAC;QAED,OAAO;YACH,IAAI,EAAE,0BAA0B;YAChC,QAAQ;SACX,CAAC;IACN,CAAC,CAAC;IAEW,kCAAS,GAAG,CAAC,MAAqB,EAAE,QAAkC,EAAE,EAAE;QACnF,MAAM,CAAC,UAAU,CAAE,QAAqC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAC1E,KAAK,MAAM,OAAO,IAAK,QAAqC,CAAC,QAAQ,EAAE,CAAC;YACpE,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;YAC9B,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;QAC3D,CAAC;IACL,CAAC,CAAC;AACN,CAAC,EAxBgB,wBAAwB,wCAAxB,wBAAwB,QAwBxC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { ObjectReference } from '../../structs/ObjectReference';\n\n\n\nexport const isCircuitSpecialProperties = (obj: any): obj is CircuitSpecialProperties => obj.type === 'CircuitSpecialProperties';\n\nexport type CircuitSpecialProperties = {\n type: 'CircuitSpecialProperties';\n circuits: {\n id: number;\n objectReference: ObjectReference;\n }[];\n};\n\nexport namespace CircuitSpecialProperties {\n export const Parse = (reader: ContextReader): CircuitSpecialProperties => {\n const count = reader.readInt32();\n const circuits = [];\n for (let i = 0; i < count; i++) {\n circuits.push({\n id: reader.readInt32(),\n objectReference: ObjectReference.read(reader)\n });\n }\n\n return {\n type: 'CircuitSpecialProperties',\n circuits\n };\n };\n\n export const Serialize = (writer: ContextWriter, property: CircuitSpecialProperties) => {\n writer.writeInt32((property as CircuitSpecialProperties).circuits.length);\n for (const circuit of (property as CircuitSpecialProperties).circuits) {\n writer.writeInt32(circuit.id);\n ObjectReference.write(writer, circuit.objectReference);\n }\n };\n}\n"]}
|
package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.d.ts
CHANGED
|
@@ -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 { ObjectReference } from '../../structs/ObjectReference';
|
|
4
4
|
import { vec3 } from '../../structs/vec3';
|
|
5
5
|
export declare const isConveyorChainActorSpecialProperties: (obj: any) => obj is ConveyorChainActorSpecialProperties;
|
|
@@ -15,8 +15,8 @@ export type ConveyorChainActorSpecialProperties = {
|
|
|
15
15
|
items: ConveyorItemSpecialProperties[];
|
|
16
16
|
};
|
|
17
17
|
export declare namespace ConveyorChainActorSpecialProperties {
|
|
18
|
-
const Parse: (reader:
|
|
19
|
-
const Serialize: (writer:
|
|
18
|
+
const Parse: (reader: ContextReader) => ConveyorChainActorSpecialProperties;
|
|
19
|
+
const Serialize: (writer: ContextWriter, property: ConveyorChainActorSpecialProperties) => void;
|
|
20
20
|
}
|
|
21
21
|
export type ConveyorChainSegmentSpecialProperties = {
|
|
22
22
|
chainActorRef: ObjectReference;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConveyorChainActorSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ConveyorChainActorSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OA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}
|
package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConveyorChainActorSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,mEAAgE;AAChE,6CAA0C;AAInC,MAAM,qCAAqC,GAAG,CAAC,GAAQ,EAA8C,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,qCAAqC,CAAC;AAArJ,QAAA,qCAAqC,yCAAgH;AAclK,IAAiB,mCAAmC,CA6GnD;AA7GD,WAAiB,mCAAmC;IACnC,yCAAK,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"ConveyorChainActorSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,mEAAgE;AAChE,6CAA0C;AAInC,MAAM,qCAAqC,GAAG,CAAC,GAAQ,EAA8C,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,qCAAqC,CAAC;AAArJ,QAAA,qCAAqC,yCAAgH;AAclK,IAAiB,mCAAmC,CA6GnD;AA7GD,WAAiB,mCAAmC;IACnC,yCAAK,GAAG,CAAC,MAAqB,EAAuC,EAAE;QAEhF,MAAM,QAAQ,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC9C,MAAM,SAAS,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC/C,MAAM,iBAAiB,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAE7C,MAAM,YAAY,GAA4C,EAAE,CAAC;QACjE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,iBAAiB,EAAE,CAAC,EAAE,EAAE,CAAC;YACzC,MAAM,aAAa,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACnD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AAC,EA7GgB,mCAAmC,mDAAnC,mCAAmC,QA6GnD","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { ObjectReference } from '../../structs/ObjectReference';\nimport { vec3 } from '../../structs/vec3';\n\n\n\nexport const isConveyorChainActorSpecialProperties = (obj: any): obj is ConveyorChainActorSpecialProperties => obj.type === 'ConveyorChainActorSpecialProperties';\n\nexport type ConveyorChainActorSpecialProperties = {\n type: 'ConveyorChainActorSpecialProperties';\n firstBelt: ObjectReference;\n lastBelt: ObjectReference;\n beltsInChain: ConveyorChainSegmentSpecialProperties[];\n totalLength: number;\n totalNumberItemsMaybe: number;\n firstChainItemIndex: number;\n lastChainItemIndex: number;\n items: ConveyorItemSpecialProperties[];\n};\n\nexport namespace ConveyorChainActorSpecialProperties {\n export const Parse = (reader: ContextReader): ConveyorChainActorSpecialProperties => {\n\n const lastBelt = ObjectReference.read(reader);\n const firstBelt = ObjectReference.read(reader);\n const countBeltsInChain = reader.readInt32();\n\n const beltsInChain: ConveyorChainSegmentSpecialProperties[] = [];\n for (let i = 0; i < countBeltsInChain; i++) {\n const chainActorRef = ObjectReference.read(reader);\n const beltRef = ObjectReference.read(reader);\n const splinePointsCount = reader.readInt32();\n\n const splinePoints: { location: vec3; arriveTangent: vec3; leaveTangent: vec3; }[] = [];\n for (let j = 0; j < splinePointsCount; j++) {\n splinePoints.push({\n location: vec3.Parse(reader),\n arriveTangent: vec3.Parse(reader),\n leaveTangent: vec3.Parse(reader),\n });\n }\n\n // indices which items of this chain are on this belt.\n const offsetAtStart = reader.readFloat32();\n const startsAtLength = reader.readFloat32();\n const endsAtLength = reader.readFloat32();\n const firstItemIndex = reader.readInt32();\n const lastItemIndex = reader.readInt32();\n const beltIndexInChain = reader.readInt32();\n\n beltsInChain.push({\n chainActorRef,\n beltRef,\n splinePoints,\n offsetAtStart,\n startsAtLength,\n endsAtLength,\n firstItemIndex,\n lastItemIndex,\n beltIndexInChain\n });\n }\n\n const totalLength = reader.readFloat32();\n const totalNumberItemsMaybe = reader.readInt32();\n\n const firstChainItemIndex = reader.readInt32();\n const lastChainItemIndex = reader.readInt32();\n const countItemsInChain = reader.readInt32();\n\n const items: ConveyorItemSpecialProperties[] = [];\n for (let n = 0; n < countItemsInChain; n++) {\n const item = ObjectReference.read(reader);\n reader.readInt32(); //0\n const position = reader.readInt32();\n items.push({ itemReference: item, position });\n }\n\n return {\n type: 'ConveyorChainActorSpecialProperties',\n firstBelt: firstBelt,\n lastBelt: lastBelt,\n beltsInChain,\n totalLength,\n totalNumberItemsMaybe,\n firstChainItemIndex,\n lastChainItemIndex,\n items\n };\n };\n\n export const Serialize = (writer: ContextWriter, property: ConveyorChainActorSpecialProperties) => {\n\n ObjectReference.write(writer, property.lastBelt);\n ObjectReference.write(writer, property.firstBelt);\n writer.writeInt32(property.beltsInChain.length);\n\n for (const belt of property.beltsInChain) {\n ObjectReference.write(writer, belt.chainActorRef);\n ObjectReference.write(writer, belt.beltRef);\n writer.writeInt32(belt.splinePoints.length);\n\n\n for (const splinepoint of belt.splinePoints) {\n vec3.Serialize(writer, splinepoint.location);\n vec3.Serialize(writer, splinepoint.arriveTangent);\n vec3.Serialize(writer, splinepoint.leaveTangent);\n }\n\n writer.writeFloat32(belt.offsetAtStart);\n writer.writeFloat32(belt.startsAtLength);\n writer.writeFloat32(belt.endsAtLength);\n writer.writeInt32(belt.firstItemIndex);\n writer.writeInt32(belt.lastItemIndex);\n writer.writeInt32(belt.beltIndexInChain);\n }\n\n writer.writeFloat32(property.totalLength);\n writer.writeInt32(property.totalNumberItemsMaybe);\n writer.writeInt32(property.firstChainItemIndex);\n writer.writeInt32(property.lastChainItemIndex);\n writer.writeInt32(property.items.length);\n\n for (const item of property.items) {\n ObjectReference.write(writer, item.itemReference);\n writer.writeInt32(0);\n writer.writeInt32(item.position);\n }\n };\n}\nexport type ConveyorChainSegmentSpecialProperties = {\n chainActorRef: ObjectReference;\n beltRef: ObjectReference;\n splinePoints: {\n location: vec3;\n arriveTangent: vec3;\n leaveTangent: vec3;\n }[];\n offsetAtStart: number;\n startsAtLength: number;\n endsAtLength: number;\n firstItemIndex: number;\n lastItemIndex: number;\n beltIndexInChain: number;\n};\nexport type ConveyorItemSpecialProperties = {\n position: number;\n itemReference: ObjectReference;\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 declare const isConveyorSpecialProperties: (obj: any) => obj is ConveyorSpecialProperties;
|
|
4
4
|
export type ConveyorSpecialProperties = {
|
|
5
5
|
type: 'ConveyorSpecialProperties';
|
|
6
6
|
};
|
|
7
7
|
export declare namespace ConveyorSpecialProperties {
|
|
8
|
-
const Parse: (reader:
|
|
9
|
-
const Serialize: (writer:
|
|
8
|
+
const Parse: (reader: ContextReader) => ConveyorSpecialProperties;
|
|
9
|
+
const Serialize: (writer: ContextWriter, property: ConveyorSpecialProperties) => void;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=ConveyorSpecialProperties.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConveyorSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ConveyorSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ConveyorSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ConveyorSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAInE,eAAO,MAAM,2BAA2B,QAAS,GAAG,KAAG,GAAG,IAAI,yBAAqE,CAAC;AAEpI,MAAM,MAAM,yBAAyB,GAAG;IACpC,IAAI,EAAE,2BAA2B,CAAC;CACrC,CAAC;AAEF,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,KAAK,WAAY,aAAa,KAAG,yBAK7C,CAAC;IAEK,MAAM,SAAS,WAAY,aAAa,YAAY,yBAAyB,SAEnF,CAAC;CACL"}
|
|
@@ -6,13 +6,13 @@ exports.isConveyorSpecialProperties = isConveyorSpecialProperties;
|
|
|
6
6
|
var ConveyorSpecialProperties;
|
|
7
7
|
(function (ConveyorSpecialProperties) {
|
|
8
8
|
ConveyorSpecialProperties.Parse = (reader) => {
|
|
9
|
-
reader.
|
|
9
|
+
reader.readInt32Zero();
|
|
10
10
|
return {
|
|
11
11
|
type: 'ConveyorSpecialProperties',
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
ConveyorSpecialProperties.Serialize = (writer, property) => {
|
|
15
|
-
writer.
|
|
15
|
+
writer.writeInt32Zero();
|
|
16
16
|
};
|
|
17
17
|
})(ConveyorSpecialProperties || (exports.ConveyorSpecialProperties = ConveyorSpecialProperties = {}));
|
|
18
18
|
//# sourceMappingURL=ConveyorSpecialProperties.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConveyorSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ConveyorSpecialProperties.ts"],"names":[],"mappings":";;;AAKO,MAAM,2BAA2B,GAAG,CAAC,GAAQ,EAAoC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,2BAA2B,CAAC;AAAvH,QAAA,2BAA2B,+BAA4F;AAMpI,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACzB,+BAAK,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"ConveyorSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ConveyorSpecialProperties.ts"],"names":[],"mappings":";;;AAKO,MAAM,2BAA2B,GAAG,CAAC,GAAQ,EAAoC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,2BAA2B,CAAC;AAAvH,QAAA,2BAA2B,+BAA4F;AAMpI,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACzB,+BAAK,GAAG,CAAC,MAAqB,EAA6B,EAAE;QACtE,MAAM,CAAC,aAAa,EAAE,CAAC;QACvB,OAAO;YACH,IAAI,EAAE,2BAA2B;SACpC,CAAC;IACN,CAAC,CAAC;IAEW,mCAAS,GAAG,CAAC,MAAqB,EAAE,QAAmC,EAAE,EAAE;QACpF,MAAM,CAAC,cAAc,EAAE,CAAC;IAC5B,CAAC,CAAC;AACN,CAAC,EAXgB,yBAAyB,yCAAzB,yBAAyB,QAWzC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\n\n\n\nexport const isConveyorSpecialProperties = (obj: any): obj is ConveyorSpecialProperties => obj.type === 'ConveyorSpecialProperties';\n\nexport type ConveyorSpecialProperties = {\n type: 'ConveyorSpecialProperties';\n};\n\nexport namespace ConveyorSpecialProperties {\n export const Parse = (reader: ContextReader): ConveyorSpecialProperties => {\n reader.readInt32Zero();\n return {\n type: 'ConveyorSpecialProperties',\n };\n };\n\n export const Serialize = (writer: ContextWriter, property: ConveyorSpecialProperties) => {\n writer.writeInt32Zero();\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 declare const isEmptySpecialProperties: (obj: any) => obj is EmptySpecialProperties;
|
|
4
4
|
export type EmptySpecialProperties = {
|
|
5
5
|
type: 'EmptySpecialProperties';
|
|
6
6
|
};
|
|
7
7
|
export declare namespace EmptySpecialProperties {
|
|
8
|
-
const Parse: (reader:
|
|
9
|
-
const Serialize: (writer:
|
|
8
|
+
const Parse: (reader: ContextReader) => EmptySpecialProperties;
|
|
9
|
+
const Serialize: (writer: ContextWriter, property: EmptySpecialProperties) => void;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=EmptySpecialProperties.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptySpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/EmptySpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"EmptySpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/EmptySpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAInE,eAAO,MAAM,wBAAwB,QAAS,GAAG,KAAG,GAAG,IAAI,sBAA+D,CAAC;AAE3H,MAAM,MAAM,sBAAsB,GAAG;IACjC,IAAI,EAAE,wBAAwB,CAAC;CAClC,CAAC;AAEF,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,KAAK,WAAY,aAAa,KAAG,sBAI7C,CAAC;IAEK,MAAM,SAAS,WAAY,aAAa,YAAY,sBAAsB,SAAQ,CAAC;CAC7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptySpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/EmptySpecialProperties.ts"],"names":[],"mappings":";;;AAKO,MAAM,wBAAwB,GAAG,CAAC,GAAQ,EAAiC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,wBAAwB,CAAC;AAA9G,QAAA,wBAAwB,4BAAsF;AAM3H,IAAiB,sBAAsB,CAQtC;AARD,WAAiB,sBAAsB;IACtB,4BAAK,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"EmptySpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/EmptySpecialProperties.ts"],"names":[],"mappings":";;;AAKO,MAAM,wBAAwB,GAAG,CAAC,GAAQ,EAAiC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,wBAAwB,CAAC;AAA9G,QAAA,wBAAwB,4BAAsF;AAM3H,IAAiB,sBAAsB,CAQtC;AARD,WAAiB,sBAAsB;IACtB,4BAAK,GAAG,CAAC,MAAqB,EAA0B,EAAE;QACnE,OAAO;YACH,IAAI,EAAE,wBAAwB;SACjC,CAAC;IACN,CAAC,CAAC;IAEW,gCAAS,GAAG,CAAC,MAAqB,EAAE,QAAgC,EAAE,EAAE,GAAG,CAAC,CAAC;AAC9F,CAAC,EARgB,sBAAsB,sCAAtB,sBAAsB,QAQtC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\n\n\n\nexport const isEmptySpecialProperties = (obj: any): obj is EmptySpecialProperties => obj.type === 'EmptySpecialProperties';\n\nexport type EmptySpecialProperties = {\n type: 'EmptySpecialProperties';\n};\n\nexport namespace EmptySpecialProperties {\n export const Parse = (reader: ContextReader): EmptySpecialProperties => {\n return {\n type: 'EmptySpecialProperties',\n };\n };\n\n export const Serialize = (writer: ContextWriter, property: EmptySpecialProperties) => { };\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 { ObjectReference } from '../../structs/ObjectReference';
|
|
4
4
|
export declare const isObjectsListSpecialProperties: (obj: any) => obj is ObjectsListSpecialProperties;
|
|
5
5
|
export type ObjectsListSpecialProperties = {
|
|
@@ -7,7 +7,7 @@ export type ObjectsListSpecialProperties = {
|
|
|
7
7
|
objects: ObjectReference[];
|
|
8
8
|
};
|
|
9
9
|
export declare namespace ObjectsListSpecialProperties {
|
|
10
|
-
const Parse: (reader:
|
|
11
|
-
const Serialize: (writer:
|
|
10
|
+
const Parse: (reader: ContextReader) => ObjectsListSpecialProperties;
|
|
11
|
+
const Serialize: (writer: ContextWriter, property: ObjectsListSpecialProperties) => void;
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=ObjectsListSpecialProperties.d.ts.map
|
package/build/parser/satisfactory/types/property/special/ObjectsListSpecialProperties.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectsListSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ObjectsListSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ObjectsListSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ObjectsListSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAIhE,eAAO,MAAM,8BAA8B,QAAS,GAAG,KAAG,GAAG,IAAI,4BAA2E,CAAC;AAE7I,MAAM,MAAM,4BAA4B,GAAG;IACvC,IAAI,EAAE,8BAA8B,CAAC;IACrC,OAAO,EAAE,eAAe,EAAE,CAAC;CAC9B,CAAC;AAEF,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,KAAK,WAAY,aAAa,KAAG,4BAM7C,CAAC;IAEK,MAAM,SAAS,WAAY,aAAa,YAAY,4BAA4B,SAEtF,CAAC;CACL"}
|
package/build/parser/satisfactory/types/property/special/ObjectsListSpecialProperties.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectsListSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ObjectsListSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,iFAA4E;AAKrE,MAAM,8BAA8B,GAAG,CAAC,GAAQ,EAAuC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,8BAA8B,CAAC;AAAhI,QAAA,8BAA8B,kCAAkG;AAO7I,IAAiB,4BAA4B,CAY5C;AAZD,WAAiB,4BAA4B;IAC5B,kCAAK,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"ObjectsListSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ObjectsListSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,iFAA4E;AAKrE,MAAM,8BAA8B,GAAG,CAAC,GAAQ,EAAuC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,8BAA8B,CAAC;AAAhI,QAAA,8BAA8B,kCAAkG;AAO7I,IAAiB,4BAA4B,CAY5C;AAZD,WAAiB,4BAA4B;IAC5B,kCAAK,GAAG,CAAC,MAAqB,EAAgC,EAAE;QACzE,MAAM,WAAW,GAAG,6CAAoB,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAC1D,OAAO;YACH,IAAI,EAAE,8BAA8B;YACpC,OAAO,EAAE,WAAW;SACvB,CAAC;IACN,CAAC,CAAC;IAEW,sCAAS,GAAG,CAAC,MAAqB,EAAE,QAAsC,EAAE,EAAE;QACvF,6CAAoB,CAAC,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IACjE,CAAC,CAAC;AACN,CAAC,EAZgB,4BAA4B,4CAA5B,4BAA4B,QAY5C","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { ObjectReferencesList } from '../../../save/object-references-list';\nimport { ObjectReference } from '../../structs/ObjectReference';\n\n\n\nexport const isObjectsListSpecialProperties = (obj: any): obj is ObjectsListSpecialProperties => obj.type === 'ObjectsListSpecialProperties';\n\nexport type ObjectsListSpecialProperties = {\n type: 'ObjectsListSpecialProperties';\n objects: ObjectReference[];\n};\n\nexport namespace ObjectsListSpecialProperties {\n export const Parse = (reader: ContextReader): ObjectsListSpecialProperties => {\n const objectsList = ObjectReferencesList.ReadList(reader);\n return {\n type: 'ObjectsListSpecialProperties',\n objects: objectsList\n };\n };\n\n export const Serialize = (writer: ContextWriter, property: ObjectsListSpecialProperties) => {\n ObjectReferencesList.SerializeList(writer, property.objects);\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
|
export declare const isPlayerSpecialProperties: (obj: any) => obj is PlayerSpecialProperties;
|
|
4
4
|
export type PlayerSpecialProperties = {
|
|
5
5
|
type: 'PlayerSpecialProperties';
|
|
@@ -8,7 +8,7 @@ export type PlayerSpecialProperties = {
|
|
|
8
8
|
steamPlayerData?: string;
|
|
9
9
|
};
|
|
10
10
|
export declare namespace PlayerSpecialProperties {
|
|
11
|
-
const Parse: (reader:
|
|
12
|
-
const Serialize: (writer:
|
|
11
|
+
const Parse: (reader: ContextReader) => PlayerSpecialProperties;
|
|
12
|
+
const Serialize: (writer: ContextWriter, property: PlayerSpecialProperties) => void;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=PlayerSpecialProperties.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayerSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/PlayerSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"PlayerSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/PlayerSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAInE,eAAO,MAAM,yBAAyB,QAAS,GAAG,KAAG,GAAG,IAAI,uBAAiE,CAAC;AAE9H,MAAM,MAAM,uBAAuB,GAAG;IAClC,IAAI,EAAE,yBAAyB,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,KAAK,WAAY,aAAa,KAAG,uBAwB7C,CAAC;IAEK,MAAM,SAAS,WAAY,aAAa,YAAY,uBAAuB,SAajF,CAAC;CACL"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayerSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/PlayerSpecialProperties.ts"],"names":[],"mappings":";;;AAKO,MAAM,yBAAyB,GAAG,CAAC,GAAQ,EAAkC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,yBAAyB,CAAC;AAAjH,QAAA,yBAAyB,6BAAwF;AAS9H,IAAiB,uBAAuB,CAyCvC;AAzCD,WAAiB,uBAAuB;IACvB,6BAAK,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"PlayerSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/PlayerSpecialProperties.ts"],"names":[],"mappings":";;;AAKO,MAAM,yBAAyB,GAAG,CAAC,GAAQ,EAAkC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,yBAAyB,CAAC;AAAjH,QAAA,yBAAyB,6BAAwF;AAS9H,IAAiB,uBAAuB,CAyCvC;AAzCD,WAAiB,uBAAuB;IACvB,6BAAK,GAAG,CAAC,MAAqB,EAA2B,EAAE;QAEpE,MAAM,IAAI,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;QAI/B,MAAM,QAAQ,GAA4B;YACtC,IAAI,EAAE,yBAAyB;YAC/B,IAAI;SACP,CAAC;QAGF,QAAQ,QAAQ,CAAC,IAAI,EAAE,CAAC;YACpB,KAAK,GAAG;gBACJ,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;gBAChC,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;gBACvC,MAAM;YACV,KAAK,EAAE;gBACH,MAAM;YACV;gBACI,MAAM;QACd,CAAC;QAED,OAAO,QAAQ,CAAC;IACpB,CAAC,CAAC;IAEW,iCAAS,GAAG,CAAC,MAAqB,EAAE,QAAiC,EAAE,EAAE;QAClF,MAAM,CAAC,SAAS,CAAE,QAAoC,CAAC,IAAI,CAAC,CAAC;QAC7D,QAAS,QAAoC,CAAC,IAAI,EAAE,CAAC;YACjD,KAAK,GAAG;gBACJ,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;gBAC1B,MAAM,CAAC,WAAW,CAAE,QAAoC,CAAC,OAAQ,CAAC,CAAC;gBACnE,MAAM;YACV,KAAK,EAAE;gBACH,MAAM;YACV;gBACI,MAAM;QAEd,CAAC;IACL,CAAC,CAAC;AACN,CAAC,EAzCgB,uBAAuB,uCAAvB,uBAAuB,QAyCvC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\n\n\n\nexport const isPlayerSpecialProperties = (obj: any): obj is PlayerSpecialProperties => obj.type === 'PlayerSpecialProperties';\n\nexport type PlayerSpecialProperties = {\n type: 'PlayerSpecialProperties';\n flag: number;\n eosData?: string;\n steamPlayerData?: string;\n};\n\nexport namespace PlayerSpecialProperties {\n export const Parse = (reader: ContextReader): PlayerSpecialProperties => {\n\n const flag = reader.readByte(); // 241?\n\n\n // TODO - i don't know enough about player state yet. need more players.\n const property: PlayerSpecialProperties = {\n type: 'PlayerSpecialProperties',\n flag\n };\n\n // 241 = byte, byte, length? flag, id with length bytes\n switch (property.flag) {\n case 248: // default EOS\n const eos = reader.readString();\n property.eosData = reader.readString();\n break;\n case 25: // steam!?\n break;\n default:\n break;\n }\n\n return property;\n };\n\n export const Serialize = (writer: ContextWriter, property: PlayerSpecialProperties) => {\n writer.writeByte((property as PlayerSpecialProperties).flag);\n switch ((property as PlayerSpecialProperties).flag) {\n case 248: // default EOS\n writer.writeString('EOS');\n writer.writeString((property as PlayerSpecialProperties).eosData!);\n break;\n case 25: // steam!?\n break;\n default:\n break;\n\n }\n };\n}\n"]}
|
|
@@ -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 { ObjectReference } from '../../structs/ObjectReference';
|
|
4
4
|
import { vec3 } from '../../structs/vec3';
|
|
5
5
|
export declare const isPowerLineSpecialProperties: (obj: any) => obj is PowerLineSpecialProperties;
|
|
@@ -11,7 +11,7 @@ export type PowerLineSpecialProperties = {
|
|
|
11
11
|
targetTranslation?: vec3;
|
|
12
12
|
};
|
|
13
13
|
export declare namespace PowerLineSpecialProperties {
|
|
14
|
-
const Parse: (reader:
|
|
15
|
-
const Serialize: (writer:
|
|
14
|
+
const Parse: (reader: ContextReader, remainingLen: number) => PowerLineSpecialProperties;
|
|
15
|
+
const Serialize: (writer: ContextWriter, property: PowerLineSpecialProperties) => void;
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=PowerLineSpecialProperties.d.ts.map
|
package/build/parser/satisfactory/types/property/special/PowerLineSpecialProperties.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PowerLineSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/PowerLineSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"PowerLineSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/PowerLineSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAI1C,eAAO,MAAM,4BAA4B,QAAS,GAAG,KAAG,GAAG,IAAI,0BAAuE,CAAC;AAEvI,MAAM,MAAM,0BAA0B,GAAG;IACrC,IAAI,EAAE,4BAA4B,CAAC;IACnC,MAAM,EAAE,eAAe,CAAC;IACxB,MAAM,EAAE,eAAe,CAAC;IACxB,iBAAiB,CAAC,EAAE,IAAI,CAAC;IACzB,iBAAiB,CAAC,EAAE,IAAI,CAAC;CAC5B,CAAC;AAEF,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,KAAK,WAAY,aAAa,gBAAgB,MAAM,KAAG,0BAiBnE,CAAC;IAEK,MAAM,SAAS,WAAY,aAAa,YAAY,0BAA0B,SASpF,CAAC;CACL"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PowerLineSpecialProperties = exports.isPowerLineSpecialProperties = void 0;
|
|
4
|
+
const save_custom_version_1 = require("../../../save/save-custom-version");
|
|
4
5
|
const ObjectReference_1 = require("../../structs/ObjectReference");
|
|
5
6
|
const vec3_1 = require("../../structs/vec3");
|
|
6
7
|
const isPowerLineSpecialProperties = (obj) => obj.type === 'PowerLineSpecialProperties';
|
|
@@ -14,15 +15,23 @@ var PowerLineSpecialProperties;
|
|
|
14
15
|
source: ObjectReference_1.ObjectReference.read(reader),
|
|
15
16
|
target: ObjectReference_1.ObjectReference.read(reader)
|
|
16
17
|
};
|
|
17
|
-
if (
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
if (reader.context.blueprintConfigVersion !== undefined && reader.context.saveVersion >= save_custom_version_1.SaveCustomVersion.AddedCachedLocationsForWire) {
|
|
19
|
+
if (remainingLen - (reader.getBufferPosition() - start) >= 24) {
|
|
20
|
+
property.sourceTranslation = vec3_1.vec3.ParseF(reader);
|
|
21
|
+
property.targetTranslation = vec3_1.vec3.ParseF(reader);
|
|
22
|
+
}
|
|
20
23
|
}
|
|
21
24
|
return property;
|
|
22
25
|
};
|
|
23
26
|
PowerLineSpecialProperties.Serialize = (writer, property) => {
|
|
24
27
|
ObjectReference_1.ObjectReference.write(writer, property.source);
|
|
25
28
|
ObjectReference_1.ObjectReference.write(writer, property.target);
|
|
29
|
+
if (writer.context.blueprintConfigVersion !== undefined && writer.context.saveVersion >= save_custom_version_1.SaveCustomVersion.AddedCachedLocationsForWire) {
|
|
30
|
+
if (property.sourceTranslation && property.targetTranslation) {
|
|
31
|
+
vec3_1.vec3.SerializeF(writer, property.sourceTranslation);
|
|
32
|
+
vec3_1.vec3.SerializeF(writer, property.targetTranslation);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
26
35
|
};
|
|
27
36
|
})(PowerLineSpecialProperties || (exports.PowerLineSpecialProperties = PowerLineSpecialProperties = {}));
|
|
28
37
|
//# sourceMappingURL=PowerLineSpecialProperties.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PowerLineSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/PowerLineSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,mEAAgE;AAChE,6CAA0C;AAInC,MAAM,4BAA4B,GAAG,CAAC,GAAQ,EAAqC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,4BAA4B,CAAC;AAA1H,QAAA,4BAA4B,gCAA8F;AAUvI,IAAiB,0BAA0B,
|
|
1
|
+
{"version":3,"file":"PowerLineSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/PowerLineSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,2EAAsE;AACtE,mEAAgE;AAChE,6CAA0C;AAInC,MAAM,4BAA4B,GAAG,CAAC,GAAQ,EAAqC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,4BAA4B,CA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AAiB,EAAE,CAAC;gBAC3D,WAAI,CAAC,UAAU,CAAC,MAAM,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;gBACpD,WAAI,CAAC,UAAU,CAAC,MAAM,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;YACxD,CAAC;QACL,CAAC;IACL,CAAC,CAAC;AACN,CAAC,EA9BgB,0BAA0B,0CAA1B,0BAA0B,QA8B1C","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { SaveCustomVersion } from '../../../save/save-custom-version';\nimport { ObjectReference } from '../../structs/ObjectReference';\nimport { vec3 } from '../../structs/vec3';\n\n\n\nexport const isPowerLineSpecialProperties = (obj: any): obj is PowerLineSpecialProperties => obj.type === 'PowerLineSpecialProperties';\n\nexport type PowerLineSpecialProperties = {\n type: 'PowerLineSpecialProperties';\n source: ObjectReference;\n target: ObjectReference;\n sourceTranslation?: vec3;\n targetTranslation?: vec3;\n};\n\nexport namespace PowerLineSpecialProperties {\n export const Parse = (reader: ContextReader, remainingLen: number): PowerLineSpecialProperties => {\n const start = reader.getBufferPosition();\n const property: PowerLineSpecialProperties = {\n type: 'PowerLineSpecialProperties',\n source: ObjectReference.read(reader),\n target: ObjectReference.read(reader)\n };\n\n // seems to be, that for blueprints the cached position is stored.\n if (reader.context.blueprintConfigVersion !== undefined && reader.context.saveVersion >= SaveCustomVersion.AddedCachedLocationsForWire) {\n if (remainingLen - (reader.getBufferPosition() - start) >= 24) {\n property.sourceTranslation = vec3.ParseF(reader);\n property.targetTranslation = vec3.ParseF(reader);\n }\n }\n\n return property;\n };\n\n export const Serialize = (writer: ContextWriter, property: PowerLineSpecialProperties) => {\n ObjectReference.write(writer, property.source);\n ObjectReference.write(writer, property.target);\n if (writer.context.blueprintConfigVersion !== undefined && writer.context.saveVersion >= SaveCustomVersion.AddedCachedLocationsForWire) {\n if (property.sourceTranslation && property.targetTranslation) {\n vec3.SerializeF(writer, property.sourceTranslation);\n vec3.SerializeF(writer, property.targetTranslation);\n }\n }\n };\n}\n"]}
|
|
@@ -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,EAA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AAM,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"}
|