@etothepii/satisfactory-file-parser 3.3.1 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/GUIDE.md +11 -7
- package/README.md +4 -4
- package/build/index.d.ts +112 -102
- package/build/index.d.ts.map +1 -1
- package/build/index.js +42 -40
- package/build/index.js.map +1 -1
- package/build/parser/byte/binary-readable.interface.d.ts +1 -0
- package/build/parser/byte/binary-readable.interface.d.ts.map +1 -1
- package/build/parser/byte/binary-readable.interface.js.map +1 -1
- package/build/parser/byte/byte-reader.class.d.ts +1 -0
- package/build/parser/byte/byte-reader.class.d.ts.map +1 -1
- package/build/parser/byte/byte-reader.class.js +6 -2
- package/build/parser/byte/byte-reader.class.js.map +1 -1
- package/build/parser/byte/byte-writer.class.d.ts +1 -0
- package/build/parser/byte/byte-writer.class.d.ts.map +1 -1
- package/build/parser/byte/byte-writer.class.js +6 -0
- package/build/parser/byte/byte-writer.class.js.map +1 -1
- package/build/parser/context/context-reader.d.ts +1 -1
- package/build/parser/context/context-reader.d.ts.map +1 -1
- package/build/parser/context/context-reader.js.map +1 -1
- package/build/parser/context/context-writer.d.ts +1 -1
- package/build/parser/context/context-writer.d.ts.map +1 -1
- package/build/parser/context/context-writer.js.map +1 -1
- package/build/parser/context/hierarchical-version-context.d.ts +11 -0
- package/build/parser/context/hierarchical-version-context.d.ts.map +1 -0
- package/build/parser/context/hierarchical-version-context.js +24 -0
- package/build/parser/context/hierarchical-version-context.js.map +1 -0
- package/build/parser/context/{context.d.ts → reader-writer-context.d.ts} +5 -3
- package/build/parser/context/reader-writer-context.d.ts.map +1 -0
- package/build/parser/context/{context.js → reader-writer-context.js} +1 -1
- package/build/parser/context/reader-writer-context.js.map +1 -0
- package/build/parser/parser.d.ts.map +1 -1
- package/build/parser/parser.js +29 -15
- package/build/parser/parser.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-config-version.d.ts +4 -2
- package/build/parser/satisfactory/blueprint/blueprint-config-version.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-config-version.js +4 -2
- package/build/parser/satisfactory/blueprint/blueprint-config-version.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-config.d.ts +4 -5
- package/build/parser/satisfactory/blueprint/blueprint-config.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-config.js +16 -14
- package/build/parser/satisfactory/blueprint/blueprint-config.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-header.d.ts +2 -0
- package/build/parser/satisfactory/blueprint/blueprint-header.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-header.js +18 -2
- package/build/parser/satisfactory/blueprint/blueprint-header.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-reader.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-reader.js +6 -2
- package/build/parser/satisfactory/blueprint/blueprint-reader.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-writer.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-writer.js +5 -2
- package/build/parser/satisfactory/blueprint/blueprint-writer.js.map +1 -1
- package/build/parser/satisfactory/save/data-blob.d.ts +17 -0
- package/build/parser/satisfactory/save/data-blob.d.ts.map +1 -0
- package/build/parser/satisfactory/save/data-blob.js +137 -0
- package/build/parser/satisfactory/save/data-blob.js.map +1 -0
- package/build/parser/satisfactory/save/level.d.ts +5 -10
- package/build/parser/satisfactory/save/level.d.ts.map +1 -1
- package/build/parser/satisfactory/save/level.js +52 -180
- package/build/parser/satisfactory/save/level.js.map +1 -1
- package/build/parser/satisfactory/save/satisfactory-save-header.d.ts.map +1 -1
- package/build/parser/satisfactory/save/satisfactory-save-header.js +5 -3
- package/build/parser/satisfactory/save/satisfactory-save-header.js.map +1 -1
- package/build/parser/satisfactory/save/satisfactory-save.d.ts +3 -1
- package/build/parser/satisfactory/save/satisfactory-save.d.ts.map +1 -1
- package/build/parser/satisfactory/save/satisfactory-save.js.map +1 -1
- package/build/parser/satisfactory/save/save-body-chunks.js +2 -2
- package/build/parser/satisfactory/save/save-body-chunks.js.map +1 -1
- package/build/parser/satisfactory/save/save-custom-version.d.ts +8 -2
- package/build/parser/satisfactory/save/save-custom-version.d.ts.map +1 -1
- package/build/parser/satisfactory/save/save-custom-version.js +8 -2
- package/build/parser/satisfactory/save/save-custom-version.js.map +1 -1
- package/build/parser/satisfactory/save/save-reader.d.ts +2 -2
- package/build/parser/satisfactory/save/save-reader.d.ts.map +1 -1
- package/build/parser/satisfactory/save/save-reader.js +16 -13
- package/build/parser/satisfactory/save/save-reader.js.map +1 -1
- package/build/parser/satisfactory/save/save-writer.d.ts.map +1 -1
- package/build/parser/satisfactory/save/save-writer.js +4 -1
- package/build/parser/satisfactory/save/save-writer.js.map +1 -1
- package/build/parser/satisfactory/save/save.types.d.ts +1 -1
- package/build/parser/satisfactory/save/save.types.d.ts.map +1 -1
- package/build/parser/satisfactory/save/save.types.js.map +1 -1
- package/build/parser/satisfactory/save/toc-blob.d.ts +18 -0
- package/build/parser/satisfactory/save/toc-blob.d.ts.map +1 -0
- package/build/parser/satisfactory/save/toc-blob.js +97 -0
- package/build/parser/satisfactory/save/toc-blob.js.map +1 -0
- package/build/parser/satisfactory/types/objects/SaveComponent.js +1 -1
- package/build/parser/satisfactory/types/objects/SaveComponent.js.map +1 -1
- package/build/parser/satisfactory/types/objects/SaveEntity.js +1 -1
- package/build/parser/satisfactory/types/objects/SaveEntity.js.map +1 -1
- package/build/parser/satisfactory/types/objects/SaveObject.d.ts +4 -0
- package/build/parser/satisfactory/types/objects/SaveObject.d.ts.map +1 -1
- package/build/parser/satisfactory/types/objects/SaveObject.js +19 -5
- package/build/parser/satisfactory/types/objects/SaveObject.js.map +1 -1
- package/build/parser/satisfactory/types/property/PropertiesList.d.ts +4 -4
- package/build/parser/satisfactory/types/property/PropertiesList.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/PropertiesList.js +73 -114
- package/build/parser/satisfactory/types/property/PropertiesList.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.d.ts +9 -12
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.js +12 -7
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts +10 -5
- package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/BoolProperty.js +20 -23
- package/build/parser/satisfactory/types/property/generic/BoolProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts +7 -7
- package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ByteProperty.js +52 -35
- package/build/parser/satisfactory/types/property/generic/ByteProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.js +15 -23
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts +10 -5
- package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/EnumProperty.js +17 -23
- package/build/parser/satisfactory/types/property/generic/EnumProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/FloatProperty.js +15 -23
- package/build/parser/satisfactory/types/property/generic/FloatProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int64Property.js +15 -23
- package/build/parser/satisfactory/types/property/generic/Int64Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts +8 -4
- package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int8Property.js +11 -20
- package/build/parser/satisfactory/types/property/generic/Int8Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/IntProperty.d.ts +20 -0
- package/build/parser/satisfactory/types/property/generic/IntProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/IntProperty.js +25 -0
- package/build/parser/satisfactory/types/property/generic/IntProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/InterfaceProperty.d.ts +21 -0
- package/build/parser/satisfactory/types/property/generic/InterfaceProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/InterfaceProperty.js +26 -0
- package/build/parser/satisfactory/types/property/generic/InterfaceProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/NameProperty.d.ts +20 -0
- package/build/parser/satisfactory/types/property/generic/NameProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/NameProperty.js +25 -0
- package/build/parser/satisfactory/types/property/generic/NameProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.js +15 -23
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SingleProperty.d.ts +20 -0
- package/build/parser/satisfactory/types/property/generic/SingleProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SingleProperty.js +25 -0
- package/build/parser/satisfactory/types/property/generic/SingleProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js +15 -23
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StrProperty.js +15 -23
- package/build/parser/satisfactory/types/property/generic/StrProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/TextProperty.js +38 -45
- package/build/parser/satisfactory/types/property/generic/TextProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint32Property.js +15 -23
- package/build/parser/satisfactory/types/property/generic/Uint32Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint64Property.js +14 -22
- package/build/parser/satisfactory/types/property/generic/Uint64Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts +9 -5
- package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint8Property.js +14 -22
- package/build/parser/satisfactory/types/property/generic/Uint8Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.d.ts +15 -0
- package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.js +129 -0
- package/build/parser/satisfactory/types/property/generic/containers/ArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.d.ts +55 -0
- package/build/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.js +24 -0
- package/build/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/MapProperty.d.ts +20 -0
- package/build/parser/satisfactory/types/property/generic/containers/MapProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/{MapProperty.js → containers/MapProperty.js} +52 -61
- package/build/parser/satisfactory/types/property/generic/containers/MapProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetProperty.d.ts +14 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetProperty.js +90 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes.d.ts +34 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes.js +17 -0
- package/build/parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/containers/StructProperty.d.ts +59 -0
- package/build/parser/satisfactory/types/property/generic/containers/StructProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/{StructProperty.js → containers/StructProperty.js} +61 -84
- package/build/parser/satisfactory/types/property/generic/containers/StructProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.d.ts +2 -0
- package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.js +14 -5
- package/build/parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/PlayerSpecialProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/PlayerSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/PowerLineSpecialProperties.js +2 -2
- package/build/parser/satisfactory/types/property/special/PowerLineSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.d.ts +4 -2
- package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.js +4 -2
- package/build/parser/satisfactory/types/property/special/runtime-buildable-instance-data-version.js.map +1 -1
- package/build/parser/satisfactory/types/structs/GUIDInfo.d.ts +4 -4
- package/build/parser/satisfactory/types/structs/GUIDInfo.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/GUIDInfo.js +6 -6
- package/build/parser/satisfactory/types/structs/GUIDInfo.js.map +1 -1
- package/build/parser/satisfactory/types/structs/SaveBodyValidation.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/SaveBodyValidation.js +0 -2
- package/build/parser/satisfactory/types/structs/SaveBodyValidation.js.map +1 -1
- package/build/parser/satisfactory/types/structs/SoftObjectReference.d.ts +1 -1
- package/build/parser/satisfactory/types/structs/SoftObjectReference.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/SoftObjectReference.js +2 -2
- package/build/parser/satisfactory/types/structs/SoftObjectReference.js.map +1 -1
- package/build/parser/satisfactory/types/structs/binary/FCustomVersion.d.ts +12 -0
- package/build/parser/satisfactory/types/structs/binary/FCustomVersion.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FCustomVersion.js +21 -0
- package/build/parser/satisfactory/types/structs/binary/FCustomVersion.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FCustomVersionContainer.d.ts +11 -0
- package/build/parser/satisfactory/types/structs/binary/FCustomVersionContainer.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FCustomVersionContainer.js +22 -0
- package/build/parser/satisfactory/types/structs/binary/FCustomVersionContainer.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FEngineVersion.d.ts +14 -0
- package/build/parser/satisfactory/types/structs/binary/FEngineVersion.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FEngineVersion.js +24 -0
- package/build/parser/satisfactory/types/structs/binary/FEngineVersion.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle.d.ts +12 -0
- package/build/parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle.js +22 -0
- package/build/parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPackageFileVersion.d.ts +11 -0
- package/build/parser/satisfactory/types/structs/binary/FPackageFileVersion.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPackageFileVersion.js +18 -0
- package/build/parser/satisfactory/types/structs/binary/FPackageFileVersion.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPlayerInfoHandle.d.ts +11 -0
- package/build/parser/satisfactory/types/structs/binary/FPlayerInfoHandle.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPlayerInfoHandle.js +38 -0
- package/build/parser/satisfactory/types/structs/binary/FPlayerInfoHandle.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTag.d.ts +30 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTag.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTag.js +182 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTag.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTagNode.d.ts +11 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTagNode.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTagNode.js +26 -0
- package/build/parser/satisfactory/types/structs/binary/FPropertyTagNode.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FSaveObjectVersionData.d.ts +17 -0
- package/build/parser/satisfactory/types/structs/binary/FSaveObjectVersionData.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FSaveObjectVersionData.js +27 -0
- package/build/parser/satisfactory/types/structs/binary/FSaveObjectVersionData.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FUniqueNetIdRepl.d.ts +11 -0
- package/build/parser/satisfactory/types/structs/binary/FUniqueNetIdRepl.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FUniqueNetIdRepl.js +21 -0
- package/build/parser/satisfactory/types/structs/binary/FUniqueNetIdRepl.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/LBBalancerIndexing.d.ts +12 -0
- package/build/parser/satisfactory/types/structs/binary/LBBalancerIndexing.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/LBBalancerIndexing.js +22 -0
- package/build/parser/satisfactory/types/structs/binary/LBBalancerIndexing.js.map +1 -0
- package/build/parser/stream/reworked/readable-stream-parser.d.ts +2 -3
- package/build/parser/stream/reworked/readable-stream-parser.d.ts.map +1 -1
- package/build/parser/stream/reworked/readable-stream-parser.js +82 -44
- package/build/parser/stream/reworked/readable-stream-parser.js.map +1 -1
- package/build/parser/unreal-engine/ETextHistoryType.d.ts +17 -0
- package/build/parser/unreal-engine/ETextHistoryType.d.ts.map +1 -0
- package/build/parser/unreal-engine/ETextHistoryType.js +21 -0
- package/build/parser/unreal-engine/ETextHistoryType.js.map +1 -0
- package/build/parser/unreal-engine/EUnrealEngineObjectUE5Version.d.ts +24 -0
- package/build/parser/unreal-engine/EUnrealEngineObjectUE5Version.d.ts.map +1 -0
- package/build/parser/unreal-engine/EUnrealEngineObjectUE5Version.js +29 -0
- package/build/parser/unreal-engine/EUnrealEngineObjectUE5Version.js.map +1 -0
- package/docs/assets/hierarchy.js +1 -0
- package/docs/assets/icons.js +1 -1
- package/docs/assets/icons.svg +1 -1
- package/docs/assets/main.js +5 -5
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +1428 -1288
- package/docs/classes/BlueprintConfigReader.html +37 -36
- package/docs/classes/BlueprintConfigWriter.html +42 -0
- package/docs/classes/BlueprintReader.html +39 -38
- package/docs/classes/BlueprintWriter.html +45 -0
- package/docs/classes/ByteReader.html +37 -0
- package/docs/classes/ByteWriter.html +41 -0
- package/docs/classes/CompressionLibraryError.html +11 -11
- package/docs/classes/ContextReader.html +36 -35
- package/docs/classes/ContextWriter.html +41 -40
- package/docs/classes/CorruptBlueprintError.html +11 -11
- package/docs/classes/CorruptSaveError.html +11 -11
- package/docs/classes/Parser.html +23 -23
- package/docs/classes/ParserError.html +11 -11
- package/docs/classes/ReadableStreamParser.html +7 -7
- package/docs/classes/SatisfactorySave.html +9 -8
- package/docs/classes/SaveComponent.html +20 -18
- package/docs/classes/SaveEntity.html +25 -23
- package/docs/classes/SaveObject.html +17 -15
- package/docs/classes/SaveReader.html +46 -45
- package/docs/classes/SaveWriter.html +44 -43
- package/docs/classes/TimeoutError.html +11 -11
- package/docs/classes/UnimplementedError.html +11 -11
- package/docs/classes/UnsupportedVersionError.html +11 -11
- package/docs/enums/Alignment.html +3 -3
- package/docs/enums/BlueprintConfigVersion.html +11 -9
- package/docs/enums/BlueprintHeaderVersion.html +7 -7
- package/docs/enums/CompressionAlgorithmCode.html +2 -2
- package/docs/enums/ETextHistoryType.html +15 -0
- package/docs/enums/EUnrealEngineObjectUE5Version.html +23 -0
- package/docs/enums/FactoryGameCustomVersion.html +33 -33
- package/docs/enums/RuntimeBuildableInstanceDataVersion.html +9 -7
- package/docs/enums/SaveCustomVersion.html +71 -65
- package/docs/enums/SaveHeaderType.html +19 -19
- package/docs/functions/AbstractBaseProperty.CreateFromTag.html +2 -0
- package/docs/functions/ArrayProperty.Parse.html +1 -1
- package/docs/functions/ArrayProperty.Serialize.html +1 -1
- package/docs/functions/BlueprintConfig.Parse.html +1 -1
- package/docs/functions/BlueprintConfig.Serialize.html +1 -1
- package/docs/functions/BlueprintHeader.Parse.html +1 -1
- package/docs/functions/BlueprintHeader.Serialize.html +1 -1
- package/docs/functions/BoolProperty.Parse.html +1 -1
- package/docs/functions/BoolProperty.ReadValue.html +1 -1
- package/docs/functions/BoolProperty.Serialize.html +1 -1
- package/docs/functions/BoolProperty.SerializeValue.html +1 -1
- package/docs/functions/BuildableSubsystemSpecialProperties.Parse.html +1 -1
- package/docs/functions/BuildableSubsystemSpecialProperties.Serialize.html +1 -1
- package/docs/functions/BuildableTypeInstance.Parse.html +1 -1
- package/docs/functions/BuildableTypeInstance.Serialize.html +1 -1
- package/docs/functions/ByteProperty.Parse.html +1 -1
- package/docs/functions/ByteProperty.ReadValue.html +1 -1
- package/docs/functions/ByteProperty.Serialize.html +1 -1
- package/docs/functions/ByteProperty.SerializeValue.html +1 -1
- package/docs/functions/CircuitSpecialProperties.Parse.html +1 -1
- package/docs/functions/CircuitSpecialProperties.Serialize.html +1 -1
- package/docs/functions/ConveyorChainActorSpecialProperties.Parse.html +1 -1
- package/docs/functions/ConveyorChainActorSpecialProperties.Serialize.html +1 -1
- package/docs/functions/ConveyorSpecialProperties.Parse.html +1 -1
- package/docs/functions/ConveyorSpecialProperties.Serialize.html +1 -1
- package/docs/functions/DataBlob.Read.html +1 -0
- package/docs/functions/DataBlob.ReadNObjectContents.html +1 -0
- package/docs/functions/DataBlob.SkipOver.html +1 -0
- package/docs/functions/DataBlob.Write.html +1 -0
- package/docs/functions/DoubleProperty.Parse.html +1 -1
- package/docs/functions/DoubleProperty.ReadValue.html +1 -1
- package/docs/functions/DoubleProperty.Serialize.html +1 -1
- package/docs/functions/DoubleProperty.SerializeValue.html +1 -1
- package/docs/functions/DynamicStructPropertyValue.read.html +1 -1
- package/docs/functions/DynamicStructPropertyValue.write.html +1 -1
- package/docs/functions/EmptySpecialProperties.Parse.html +1 -1
- package/docs/functions/EmptySpecialProperties.Serialize.html +1 -1
- package/docs/functions/EnumProperty.Parse.html +1 -1
- package/docs/functions/EnumProperty.ReadValue.html +1 -1
- package/docs/functions/EnumProperty.Serialize.html +1 -1
- package/docs/functions/EnumProperty.SerializeValue.html +1 -1
- package/docs/functions/FClientIdentityInfo.read.html +1 -1
- package/docs/functions/FClientIdentityInfo.write.html +1 -1
- package/docs/functions/FColor.read.html +1 -1
- package/docs/functions/FColor.write.html +1 -1
- package/docs/functions/FCustomVersion.read.html +1 -0
- package/docs/functions/FCustomVersion.write.html +1 -0
- package/docs/functions/FCustomVersionContainer.read.html +1 -0
- package/docs/functions/FCustomVersionContainer.write.html +1 -0
- package/docs/functions/FEngineVersion.read.html +1 -0
- package/docs/functions/FEngineVersion.write.html +1 -0
- package/docs/functions/FGDynamicStruct.Parse.html +1 -1
- package/docs/functions/FGDynamicStruct.Serialize.html +1 -1
- package/docs/functions/FICFrameRange.read.html +1 -1
- package/docs/functions/FICFrameRange.write.html +1 -1
- package/docs/functions/FINGPUT1BufferPixel.read.html +1 -1
- package/docs/functions/FINGPUT1BufferPixel.write.html +1 -1
- package/docs/functions/FINItemStateFileSystem.IsFINItemStateFileSystem.html +1 -1
- package/docs/functions/FINItemStateFileSystem.read.html +1 -1
- package/docs/functions/FINItemStateFileSystem.write.html +1 -1
- package/docs/functions/FINLuaRuntimePersistenceState.read.html +1 -0
- package/docs/functions/FINLuaRuntimePersistenceState.write.html +1 -0
- package/docs/functions/FINNetworkTrace.read.html +1 -1
- package/docs/functions/FINNetworkTrace.write.html +1 -1
- package/docs/functions/FLBBalancerIndexing.read.html +1 -1
- package/docs/functions/FLBBalancerIndexing.write.html +1 -1
- package/docs/functions/FLinearColor.read.html +1 -1
- package/docs/functions/FLinearColor.write.html +1 -1
- package/docs/functions/FLocalUserNetIdBundle.read.html +1 -0
- package/docs/functions/FLocalUserNetIdBundle.write.html +1 -0
- package/docs/functions/FPackageFileVersion.read.html +1 -0
- package/docs/functions/FPackageFileVersion.write.html +1 -0
- package/docs/functions/FPlayerInfoHandle.read.html +1 -0
- package/docs/functions/FPlayerInfoHandle.write.html +1 -0
- package/docs/functions/FPropertyTag.IsCompletePropertyTagType.html +1 -0
- package/docs/functions/FPropertyTag.read.html +2 -0
- package/docs/functions/FPropertyTag.write.html +1 -0
- package/docs/functions/FPropertyTag.writeFromProperty.html +2 -0
- package/docs/functions/FPropertyTagNode.read.html +1 -0
- package/docs/functions/FPropertyTagNode.write.html +1 -0
- package/docs/functions/FSaveObjectVersionData.read.html +1 -0
- package/docs/functions/FSaveObjectVersionData.write.html +1 -0
- package/docs/functions/FUniqueNetIdRepl.read.html +1 -0
- package/docs/functions/FUniqueNetIdRepl.write.html +1 -0
- package/docs/functions/FloatProperty.Parse.html +1 -1
- package/docs/functions/FloatProperty.ReadValue.html +1 -1
- package/docs/functions/FloatProperty.Serialize.html +1 -1
- package/docs/functions/FloatProperty.SerializeValue.html +1 -1
- package/docs/functions/GUID.read.html +1 -1
- package/docs/functions/GUID.write.html +1 -1
- package/docs/functions/HierarchyVersion.CreateOnHeader.html +1 -0
- package/docs/functions/HierarchyVersion.SetOnLevel.html +1 -0
- package/docs/functions/HierarchyVersion.SetOnObject.html +1 -0
- package/docs/functions/Int64Property.Parse.html +1 -1
- package/docs/functions/Int64Property.ReadValue.html +1 -1
- package/docs/functions/Int64Property.Serialize.html +1 -1
- package/docs/functions/Int64Property.SerializeValue.html +1 -1
- package/docs/functions/Int8Property.Parse.html +1 -1
- package/docs/functions/Int8Property.ReadValue.html +1 -1
- package/docs/functions/Int8Property.Serialize.html +1 -1
- package/docs/functions/Int8Property.SerializeValue.html +1 -1
- package/docs/functions/IntProperty.Parse.html +1 -0
- package/docs/functions/IntProperty.ReadValue.html +1 -0
- package/docs/functions/IntProperty.Serialize.html +1 -0
- package/docs/functions/IntProperty.SerializeValue.html +1 -0
- package/docs/functions/InterfaceProperty.Parse.html +1 -0
- package/docs/functions/InterfaceProperty.ReadValue.html +1 -0
- package/docs/functions/InterfaceProperty.Serialize.html +1 -0
- package/docs/functions/InterfaceProperty.SerializeValue.html +1 -0
- package/docs/functions/LBBalancerIndexing.read.html +1 -0
- package/docs/functions/LBBalancerIndexing.write.html +1 -0
- package/docs/functions/Level.Read.html +1 -0
- package/docs/functions/Level.Serialize.html +1 -0
- package/docs/functions/LevelToDestroyedActorsMap.read.html +1 -1
- package/docs/functions/LevelToDestroyedActorsMap.write.html +1 -1
- package/docs/functions/MD5Hash.read.html +1 -1
- package/docs/functions/MD5Hash.write.html +1 -1
- package/docs/functions/MapProperty.Parse.html +1 -1
- package/docs/functions/MapProperty.Serialize.html +1 -1
- package/docs/functions/NameProperty.Parse.html +1 -0
- package/docs/functions/NameProperty.ReadValue.html +1 -0
- package/docs/functions/NameProperty.Serialize.html +1 -0
- package/docs/functions/NameProperty.SerializeValue.html +1 -0
- package/docs/functions/ObjectProperty.Parse.html +1 -1
- package/docs/functions/ObjectProperty.ReadValue.html +1 -1
- package/docs/functions/ObjectProperty.Serialize.html +1 -1
- package/docs/functions/ObjectProperty.SerializeValue.html +1 -1
- package/docs/functions/ObjectReference.IsEqual.html +1 -1
- package/docs/functions/ObjectReference.read.html +1 -1
- package/docs/functions/ObjectReference.write.html +1 -1
- package/docs/functions/ObjectReferencesList.ReadList.html +1 -0
- package/docs/functions/ObjectReferencesList.SerializeList.html +1 -0
- package/docs/functions/ObjectsListSpecialProperties.Parse.html +1 -1
- package/docs/functions/ObjectsListSpecialProperties.Serialize.html +1 -1
- package/docs/functions/OptionalGUID.read.html +1 -0
- package/docs/functions/OptionalGUID.write.html +1 -0
- package/docs/functions/PlayerSpecialProperties.Parse.html +1 -1
- package/docs/functions/PlayerSpecialProperties.Serialize.html +1 -1
- package/docs/functions/PowerLineSpecialProperties.Parse.html +1 -1
- package/docs/functions/PowerLineSpecialProperties.Serialize.html +1 -1
- package/docs/functions/PropertiesList.ParseList.html +1 -1
- package/docs/functions/PropertiesList.ParseSingleProperty.html +1 -1
- package/docs/functions/PropertiesList.SerializeList.html +1 -1
- package/docs/functions/PropertiesList.SerializeSingleProperty.html +1 -1
- package/docs/functions/SatisfactorySaveHeader.Parse.html +1 -1
- package/docs/functions/SatisfactorySaveHeader.Serialize.html +1 -1
- package/docs/functions/SaveBodyChunks.CompressDataIntoChunks.html +1 -1
- package/docs/functions/SaveBodyChunks.DecompressChunks.html +1 -1
- package/docs/functions/SaveBodyValidation.Parse.html +1 -1
- package/docs/functions/SaveBodyValidation.Serialize.html +1 -1
- package/docs/functions/SetProperty.Parse.html +1 -1
- package/docs/functions/SetProperty.Serialize.html +1 -1
- package/docs/functions/SingleProperty.Parse.html +1 -0
- package/docs/functions/SingleProperty.ReadValue.html +1 -0
- package/docs/functions/SingleProperty.Serialize.html +1 -0
- package/docs/functions/SingleProperty.SerializeValue.html +1 -0
- package/docs/functions/SoftObjectProperty.Parse.html +1 -1
- package/docs/functions/SoftObjectProperty.ReadValue.html +1 -1
- package/docs/functions/SoftObjectProperty.Serialize.html +1 -1
- package/docs/functions/SoftObjectProperty.SerializeValue.html +1 -1
- package/docs/functions/SoftObjectReference.read.html +1 -1
- package/docs/functions/SoftObjectReference.write.html +1 -1
- package/docs/functions/SpecialDroneActionProperties.Parse.html +1 -1
- package/docs/functions/SpecialDroneActionProperties.Serialize.html +1 -1
- package/docs/functions/SpecialProperties.ParseClassSpecificSpecialProperties.html +1 -1
- package/docs/functions/SpecialProperties.SerializeClassSpecificSpecialProperties.html +1 -1
- package/docs/functions/StrProperty.Parse.html +1 -1
- package/docs/functions/StrProperty.ReadValue.html +1 -1
- package/docs/functions/StrProperty.Serialize.html +1 -1
- package/docs/functions/StrProperty.SerializeValue.html +1 -1
- package/docs/functions/StructProperty.Parse.html +1 -1
- package/docs/functions/StructProperty.ParseValue.html +1 -1
- package/docs/functions/StructProperty.Serialize.html +1 -1
- package/docs/functions/StructProperty.SerializeValue.html +1 -1
- package/docs/functions/TOCBlob.Read.html +1 -0
- package/docs/functions/TOCBlob.ReadNObjectHeaders.html +1 -0
- package/docs/functions/TOCBlob.SerializeAllObjectHeaders.html +1 -0
- package/docs/functions/TOCBlob.SkipOver.html +1 -0
- package/docs/functions/TOCBlob.Write.html +1 -0
- package/docs/functions/TextProperty.Parse.html +1 -1
- package/docs/functions/TextProperty.ReadValue.html +1 -1
- package/docs/functions/TextProperty.Serialize.html +1 -1
- package/docs/functions/TextProperty.SerializeValue.html +1 -1
- package/docs/functions/Transform.Parse.html +1 -1
- package/docs/functions/Transform.ParseF.html +1 -1
- package/docs/functions/Transform.Serialize.html +1 -1
- package/docs/functions/Transform.SerializeF.html +1 -1
- package/docs/functions/Uint32Property.Parse.html +1 -1
- package/docs/functions/Uint32Property.ReadValue.html +1 -1
- package/docs/functions/Uint32Property.Serialize.html +1 -1
- package/docs/functions/Uint32Property.SerializeValue.html +1 -1
- package/docs/functions/Uint64Property.Parse.html +1 -1
- package/docs/functions/Uint64Property.ReadValue.html +1 -1
- package/docs/functions/Uint64Property.Serialize.html +1 -1
- package/docs/functions/Uint64Property.SerializeValue.html +1 -1
- package/docs/functions/Uint8Property.Parse.html +1 -1
- package/docs/functions/Uint8Property.ReadValue.html +1 -1
- package/docs/functions/Uint8Property.Serialize.html +1 -1
- package/docs/functions/Uint8Property.SerializeValue.html +1 -1
- package/docs/functions/VehiclePhysicsData.Parse.html +1 -1
- package/docs/functions/VehiclePhysicsData.Serialize.html +1 -1
- package/docs/functions/VehicleSpecialProperties.Parse.html +1 -1
- package/docs/functions/VehicleSpecialProperties.Serialize.html +1 -1
- package/docs/functions/col4.ParseBGRA.html +1 -1
- package/docs/functions/col4.ParseRGBA.html +1 -1
- package/docs/functions/col4.SerializeBGRA.html +1 -1
- package/docs/functions/col4.SerializeRGBA.html +1 -1
- package/docs/functions/isArrayProperty.html +1 -1
- package/docs/functions/isBoolProperty.html +1 -1
- package/docs/functions/isBuildableSubsystemSpecialProperties.html +1 -1
- package/docs/functions/isByteProperty.html +1 -1
- package/docs/functions/isCircuitSpecialProperties.html +1 -1
- package/docs/functions/isConveyorChainActorSpecialProperties.html +1 -1
- package/docs/functions/isConveyorSpecialProperties.html +1 -1
- package/docs/functions/isDoubleProperty.html +1 -1
- package/docs/functions/isEmptySpecialProperties.html +1 -1
- package/docs/functions/isEnumProperty.html +1 -1
- package/docs/functions/isFloatProperty.html +1 -1
- package/docs/functions/isInt64Property.html +1 -1
- package/docs/functions/isInt8Property.html +1 -1
- package/docs/functions/isIntProperty.html +1 -0
- package/docs/functions/isInterfaceProperty.html +1 -0
- package/docs/functions/isMapProperty.html +1 -1
- package/docs/functions/isNameProperty.html +1 -0
- package/docs/functions/isObjectProperty.html +1 -1
- package/docs/functions/isObjectsListSpecialProperties.html +1 -1
- package/docs/functions/isPlayerSpecialProperties.html +1 -1
- package/docs/functions/isPowerLineSpecialProperties.html +1 -1
- package/docs/functions/isSaveComponent.html +1 -1
- package/docs/functions/isSaveEntity.html +1 -1
- package/docs/functions/isSetProperty.html +1 -1
- package/docs/functions/isSingleProperty.html +1 -0
- package/docs/functions/isSoftObjectProperty.html +1 -1
- package/docs/functions/isSpecialDroneActionProperties.html +1 -1
- package/docs/functions/isStrProperty.html +1 -1
- package/docs/functions/isStructProperty.html +1 -1
- package/docs/functions/isTextProperty.html +1 -1
- package/docs/functions/isUInt64Property.html +1 -1
- package/docs/functions/isUint32Property.html +1 -1
- package/docs/functions/isUint8Property.html +1 -1
- package/docs/functions/isVehicleSpecialProperties.html +1 -1
- package/docs/functions/vec2.Parse.html +1 -1
- package/docs/functions/vec2.ParseF.html +1 -1
- package/docs/functions/vec2.Serialize.html +1 -1
- package/docs/functions/vec2.SerializeF.html +1 -1
- package/docs/functions/vec3.Parse.html +1 -1
- package/docs/functions/vec3.ParseF.html +1 -1
- package/docs/functions/vec3.ParseInt.html +1 -1
- package/docs/functions/vec3.Serialize.html +1 -1
- package/docs/functions/vec3.SerializeF.html +1 -1
- package/docs/functions/vec3.SerializeInt.html +1 -1
- package/docs/functions/vec3.add.html +1 -1
- package/docs/functions/vec3.length.html +1 -1
- package/docs/functions/vec3.mult.html +1 -1
- package/docs/functions/vec3.norm.html +1 -1
- package/docs/functions/vec3.sub.html +1 -1
- package/docs/functions/vec4.Parse.html +1 -1
- package/docs/functions/vec4.ParseF.html +1 -1
- package/docs/functions/vec4.Serialize.html +1 -1
- package/docs/functions/vec4.SerializeF.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +47 -21
- package/docs/interfaces/BinaryOperable.html +5 -0
- package/docs/interfaces/BinaryReadable.html +22 -0
- package/docs/interfaces/BinaryWritable.html +22 -0
- package/docs/interfaces/Blueprint.html +6 -6
- package/docs/interfaces/BlueprintConfig.html +13 -0
- package/docs/interfaces/SaveComponentHeader.html +6 -6
- package/docs/interfaces/SaveEntityHeader.html +8 -8
- package/docs/interfaces/SaveObjectHeader.html +5 -5
- package/docs/modules/AbstractBaseProperty.html +1 -2
- package/docs/modules/ArrayProperty.html +1 -5
- package/docs/modules/BlueprintConfig.html +1 -3
- package/docs/modules/BlueprintHeader.html +1 -3
- package/docs/modules/BoolProperty.html +1 -6
- package/docs/modules/BuildableSubsystemSpecialProperties.html +1 -3
- package/docs/modules/BuildableTypeInstance.html +1 -3
- package/docs/modules/ByteProperty.html +1 -6
- package/docs/modules/CircuitSpecialProperties.html +1 -3
- package/docs/modules/ConveyorChainActorSpecialProperties.html +1 -3
- package/docs/modules/ConveyorSpecialProperties.html +1 -3
- package/docs/modules/DataBlob.html +2 -0
- package/docs/modules/DoubleProperty.html +1 -6
- package/docs/modules/DynamicStructPropertyValue.html +1 -3
- package/docs/modules/EmptySpecialProperties.html +1 -3
- package/docs/modules/EnumProperty.html +1 -6
- package/docs/modules/FClientIdentityInfo.html +1 -3
- package/docs/modules/FColor.html +1 -3
- package/docs/modules/FCustomVersion.html +1 -0
- package/docs/modules/FCustomVersionContainer.html +1 -0
- package/docs/modules/FEngineVersion.html +1 -0
- package/docs/modules/FGDynamicStruct.html +1 -3
- package/docs/modules/FICFrameRange.html +2 -4
- package/docs/modules/FINGPUT1BufferPixel.html +2 -4
- package/docs/modules/FINItemStateFileSystem.html +1 -5
- package/docs/modules/FINLuaRuntimePersistenceState.html +2 -0
- package/docs/modules/FINNetworkTrace.html +2 -4
- package/docs/modules/FLBBalancerIndexing.html +1 -3
- package/docs/modules/FLinearColor.html +1 -3
- package/docs/modules/FLocalUserNetIdBundle.html +1 -0
- package/docs/modules/FPackageFileVersion.html +1 -0
- package/docs/modules/FPlayerInfoHandle.html +1 -0
- package/docs/modules/FPropertyTag.html +1 -0
- package/docs/modules/FPropertyTagNode.html +1 -0
- package/docs/modules/FSaveObjectVersionData.html +1 -0
- package/docs/modules/FUniqueNetIdRepl.html +1 -0
- package/docs/modules/FloatProperty.html +1 -6
- package/docs/modules/GUID.html +1 -3
- package/docs/modules/HierarchyVersion.html +1 -0
- package/docs/modules/Int64Property.html +1 -6
- package/docs/modules/Int8Property.html +1 -6
- package/docs/modules/IntProperty.html +1 -0
- package/docs/modules/InterfaceProperty.html +1 -0
- package/docs/modules/LBBalancerIndexing.html +1 -0
- package/docs/modules/Level.html +1 -9
- package/docs/modules/LevelToDestroyedActorsMap.html +1 -3
- package/docs/modules/MD5Hash.html +1 -3
- package/docs/modules/MapProperty.html +1 -4
- package/docs/modules/NameProperty.html +1 -0
- package/docs/modules/ObjectProperty.html +1 -6
- package/docs/modules/ObjectReference.html +1 -4
- package/docs/modules/ObjectReferencesList.html +1 -0
- package/docs/modules/ObjectsListSpecialProperties.html +1 -3
- package/docs/modules/OptionalGUID.html +1 -0
- package/docs/modules/PlayerSpecialProperties.html +1 -3
- package/docs/modules/PowerLineSpecialProperties.html +1 -3
- package/docs/modules/PropertiesList.html +1 -5
- package/docs/modules/SatisfactorySaveHeader.html +1 -3
- package/docs/modules/SaveBodyChunks.html +1 -5
- package/docs/modules/SaveBodyValidation.html +2 -4
- package/docs/modules/SetProperty.html +1 -5
- package/docs/modules/SingleProperty.html +1 -0
- package/docs/modules/SoftObjectProperty.html +1 -6
- package/docs/modules/SoftObjectReference.html +1 -3
- package/docs/modules/SpecialDroneActionProperties.html +1 -3
- package/docs/modules/SpecialProperties.html +1 -4
- package/docs/modules/StrProperty.html +1 -6
- package/docs/modules/StructProperty.html +1 -6
- package/docs/modules/TOCBlob.html +2 -0
- package/docs/modules/TextProperty.html +1 -6
- package/docs/modules/Transform.html +2 -6
- package/docs/modules/Uint32Property.html +1 -6
- package/docs/modules/Uint64Property.html +1 -6
- package/docs/modules/Uint8Property.html +1 -6
- package/docs/modules/VehiclePhysicsData.html +1 -3
- package/docs/modules/VehicleSpecialProperties.html +1 -3
- package/docs/modules/col4.html +1 -5
- package/docs/modules/vec2.html +1 -5
- package/docs/modules/vec3.html +1 -12
- package/docs/modules/vec4.html +1 -5
- package/docs/modules.html +1 -263
- package/docs/types/AbstractBaseProperty.html +14 -0
- package/docs/types/ArrayProperty.html +1 -0
- package/docs/types/BasicMultipleStructPropertyValue.html +2 -1
- package/docs/types/BasicStructPropertyValue.html +2 -1
- package/docs/types/BlueprintHeader.html +8 -0
- package/docs/types/BlueprintReaderWriterContext.html +7 -2
- package/docs/types/BoolArrayProperty.html +1 -0
- package/docs/types/BoolProperty.html +1 -0
- package/docs/types/BoxStructPropertyValue.html +4 -1
- package/docs/types/BuildableSubsystemSpecialProperties.html +4 -0
- package/docs/types/BuildableTypeInstance.html +14 -0
- package/docs/types/ByteArrayProperty.html +1 -0
- package/docs/types/ByteProperty.html +1 -0
- package/docs/types/BytePropertyValue.html +3 -1
- package/docs/types/ChunkCompressionInfo.html +5 -1
- package/docs/types/ChunkSummary.html +3 -1
- package/docs/types/CircuitSpecialProperties.html +3 -0
- package/docs/types/ConveyorChainActorSpecialProperties.html +10 -0
- package/docs/types/ConveyorChainSegmentSpecialProperties.html +10 -1
- package/docs/types/ConveyorItemSpecialProperties.html +3 -1
- package/docs/types/ConveyorSpecialProperties.html +2 -0
- package/docs/types/DoubleArrayProperty.html +1 -0
- package/docs/types/DoubleProperty.html +1 -0
- package/docs/types/DynamicStructPropertyValue.html +3 -0
- package/docs/types/EmptySpecialProperties.html +2 -0
- package/docs/types/EnumArrayProperty.html +1 -0
- package/docs/types/EnumProperty.html +1 -0
- package/docs/types/FClientIdentityInfo.html +4 -0
- package/docs/types/FColor.html +2 -0
- package/docs/types/FCustomVersion.html +3 -0
- package/docs/types/FCustomVersionContainer.html +2 -0
- package/docs/types/FEngineVersion.html +6 -0
- package/docs/types/FGDynamicStruct.html +10 -0
- package/docs/types/FICFrameRange.html +3 -0
- package/docs/types/FICFrameRangeStructPropertyValue.html +3 -1
- package/docs/types/FINGPUT1BufferPixel.html +4 -0
- package/docs/types/FINItemStateFileSystem.html +2 -0
- package/docs/types/FINLuaRuntimePersistenceState.html +7 -0
- package/docs/types/FINNetworkTrace.html +4 -0
- package/docs/types/FIRInstancedStruct.html +1 -0
- package/docs/types/FLBBalancerIndexing.html +5 -0
- package/docs/types/FLinearColor.html +2 -0
- package/docs/types/FLocalUserNetIdBundle.html +4 -0
- package/docs/types/FPackageFileVersion.html +3 -0
- package/docs/types/FPlayerInfoHandle.html +3 -0
- package/docs/types/FPropertyTag.html +16 -0
- package/docs/types/FPropertyTagNode.html +3 -0
- package/docs/types/FSaveObjectVersionData.html +6 -0
- package/docs/types/FUniqueNetIdRepl.html +3 -0
- package/docs/types/FloatArrayProperty.html +1 -0
- package/docs/types/FloatProperty.html +1 -0
- package/docs/types/GENERIC_MAP_KEY_TYPE.html +1 -1
- package/docs/types/GENERIC_MAP_VALUE_TYPE.html +1 -1
- package/docs/types/GENERIC_STRUCT_PROPERTY_VALUE.html +1 -1
- package/docs/types/GUID.html +2 -0
- package/docs/types/Grids.html +1 -1
- package/docs/types/HierarchyVersion.html +5 -0
- package/docs/types/Int64ArrayProperty.html +1 -0
- package/docs/types/Int64Property.html +1 -0
- package/docs/types/Int8Property.html +1 -0
- package/docs/types/IntArrayProperty.html +1 -0
- package/docs/types/IntProperty.html +1 -0
- package/docs/types/IntSetProperty.html +1 -0
- package/docs/types/InterfaceArrayProperty.html +1 -0
- package/docs/types/InterfaceProperty.html +1 -0
- package/docs/types/InventoryItemStructPropertyValue.html +4 -1
- package/docs/types/LBBalancerIndexing.html +4 -0
- package/docs/types/Level.html +9 -0
- package/docs/types/LevelToDestroyedActorsMap.html +1 -0
- package/docs/types/Levels.html +1 -1
- package/docs/types/MD5Hash.html +4 -0
- package/docs/types/MapProperty.html +1 -0
- package/docs/types/ModData.html +4 -1
- package/docs/types/NameProperty.html +1 -0
- package/docs/types/NameSetProperty.html +1 -0
- package/docs/types/ObjectArrayProperty.html +1 -0
- package/docs/types/ObjectProperty.html +1 -0
- package/docs/types/ObjectReference.html +4 -0
- package/docs/types/ObjectSetProperty.html +1 -0
- package/docs/types/ObjectsListSpecialProperties.html +3 -0
- package/docs/types/OptionalGUID.html +2 -0
- package/docs/types/PlayerSpecialProperties.html +5 -0
- package/docs/types/PowerLineSpecialProperties.html +6 -0
- package/docs/types/PropertiesMap.html +1 -1
- package/docs/types/RailroadTrackPositionStructPropertyValue.html +5 -1
- package/docs/types/ReaderWriterContext.html +2 -2
- package/docs/types/RoughSaveVersion.html +1 -1
- package/docs/types/SatisfactoryModMetadata.html +4 -1
- package/docs/types/SatisfactorySaveHeader.html +19 -0
- package/docs/types/SaveBodyChunks.html +3 -0
- package/docs/types/SaveBodyValidation.html +2 -0
- package/docs/types/SaveReaderWriterContext.html +11 -3
- package/docs/types/SetProperty.html +1 -0
- package/docs/types/SingleProperty.html +1 -0
- package/docs/types/SoftObjectArrayProperty.html +1 -0
- package/docs/types/SoftObjectProperty.html +1 -0
- package/docs/types/SoftObjectReference.html +4 -0
- package/docs/types/SpecialDroneAction.html +3 -1
- package/docs/types/SpecialDroneActionProperties.html +4 -0
- package/docs/types/SpecialProperties.AvailableSpecialPropertiesTypes.html +1 -1
- package/docs/types/StrArrayProperty.html +1 -0
- package/docs/types/StrProperty.html +1 -0
- package/docs/types/StrSetProperty.html +1 -0
- package/docs/types/StructArrayProperty.html +1 -0
- package/docs/types/StructProperty.html +1 -0
- package/docs/types/StructSetProperty.html +1 -0
- package/docs/types/TextArrayProperty.html +1 -0
- package/docs/types/TextProperty.html +1 -0
- package/docs/types/TextPropertyValue.html +13 -1
- package/docs/types/Transform.html +5 -0
- package/docs/types/Uint32Property.html +1 -0
- package/docs/types/Uint32SetProperty.html +1 -0
- package/docs/types/Uint64Property.html +1 -0
- package/docs/types/Uint8Property.html +1 -0
- package/docs/types/VehiclePhysicsData.html +7 -0
- package/docs/types/VehicleSpecialProperties.html +5 -0
- package/docs/types/col4.html +6 -0
- package/docs/types/vec2.html +4 -0
- package/docs/types/vec3.html +2 -0
- package/docs/types/vec4.html +2 -0
- package/docs/variables/DEFAULT_SATISFACTORY_CHUNK_HEADER_SIZE.html +1 -1
- package/docs/variables/EDIT.html +2 -2
- package/docs/variables/FINItemStateFileSystem.ExactStructReference.html +1 -1
- package/docs/variables/SaveBodyChunks.HEADER_V1.html +1 -1
- package/docs/variables/SaveBodyChunks.HEADER_V2.html +1 -1
- package/docs/variables/isBoolArrayProperty.html +1 -0
- package/docs/variables/isByteArrayProperty.html +1 -0
- package/docs/variables/isDoubleArrayProperty.html +1 -0
- package/docs/variables/isEnumArrayProperty.html +1 -0
- package/docs/variables/isFloatArrayProperty.html +1 -0
- package/docs/variables/isInt64ArrayProperty.html +1 -0
- package/docs/variables/isIntArrayProperty.html +1 -0
- package/docs/variables/isIntSetProperty.html +1 -0
- package/docs/variables/isInterfaceArrayProperty.html +1 -0
- package/docs/variables/isNameSetProperty.html +1 -0
- package/docs/variables/isObjectArrayProperty.html +1 -0
- package/docs/variables/isObjectSetProperty.html +1 -0
- package/docs/variables/isSoftObjectArrayProperty.html +1 -0
- package/docs/variables/isStrArrayProperty.html +1 -0
- package/docs/variables/isStrSetProperty.html +1 -0
- package/docs/variables/isStructArrayPRoperty.html +1 -0
- package/docs/variables/isStructSetProperty.html +1 -0
- package/docs/variables/isTextArrayProperty.html +1 -0
- package/docs/variables/isUint32SetProperty.html +1 -0
- package/package.json +3 -3
- package/build/parser/context/context.d.ts.map +0 -1
- package/build/parser/context/context.js.map +0 -1
- package/build/parser/file.types.d.ts +0 -14
- package/build/parser/file.types.d.ts.map +0 -1
- package/build/parser/file.types.js +0 -8
- package/build/parser/file.types.js.map +0 -1
- package/build/parser/satisfactory/save/level.class.d.ts +0 -29
- package/build/parser/satisfactory/save/level.class.d.ts.map +0 -1
- package/build/parser/satisfactory/save/level.class.js +0 -204
- package/build/parser/satisfactory/save/level.class.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.d.ts +0 -22
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.js +0 -127
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.d.ts +0 -15
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.d.ts +0 -15
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.d.ts +0 -26
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.js +0 -75
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.d.ts +0 -15
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts +0 -16
- package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/Int32Property.js +0 -33
- package/build/parser/satisfactory/types/property/generic/Int32Property.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts +0 -25
- package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/MapProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.d.ts +0 -15
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.d.ts +0 -15
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.js +0 -75
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js +0 -42
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.d.ts +0 -14
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.js +0 -23
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts +0 -60
- package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/StructProperty.js.map +0 -1
- package/build/parser/satisfactory/types/structs/GUID.d.ts +0 -8
- package/build/parser/satisfactory/types/structs/GUID.d.ts.map +0 -1
- package/build/parser/satisfactory/types/structs/GUID.js +0 -22
- package/build/parser/satisfactory/types/structs/GUID.js.map +0 -1
- package/build/parser/stream/reworked/save-stream-json-stringifier.d.ts +0 -6
- package/build/parser/stream/reworked/save-stream-json-stringifier.d.ts.map +0 -1
- package/build/parser/stream/reworked/save-stream-json-stringifier.js +0 -35
- package/build/parser/stream/reworked/save-stream-json-stringifier.js.map +0 -1
- package/build/parser/stream/reworked/save-stream-writer.class.d.ts +0 -28
- package/build/parser/stream/reworked/save-stream-writer.class.d.ts.map +0 -1
- package/build/parser/stream/reworked/save-stream-writer.class.js +0 -84
- package/build/parser/stream/reworked/save-stream-writer.class.js.map +0 -1
- package/docs/classes/SaveStreamJsonStringifier.html +0 -5
- package/docs/classes/SaveStreamWriter.html +0 -16
- package/docs/functions/AbstractBaseProperty.Create.html +0 -1
- package/docs/functions/ArrayProperty.CalcOverhead.html +0 -1
- package/docs/functions/BoolArrayProperty.Parse.html +0 -1
- package/docs/functions/BoolArrayProperty.Serialize.html +0 -1
- package/docs/functions/BoolProperty.CalcOverhead.html +0 -1
- package/docs/functions/ByteArrayProperty.Parse.html +0 -1
- package/docs/functions/ByteArrayProperty.Serialize.html +0 -1
- package/docs/functions/ByteProperty.CalcOverhead.html +0 -1
- package/docs/functions/DoubleArrayProperty.Parse.html +0 -1
- package/docs/functions/DoubleArrayProperty.Serialize.html +0 -1
- package/docs/functions/DoubleProperty.CalcOverhead.html +0 -1
- package/docs/functions/EnumArrayProperty.Parse.html +0 -1
- package/docs/functions/EnumArrayProperty.Serialize.html +0 -1
- package/docs/functions/EnumProperty.CalcOverhead.html +0 -1
- package/docs/functions/FloatArrayProperty.Parse.html +0 -1
- package/docs/functions/FloatArrayProperty.Serialize.html +0 -1
- package/docs/functions/FloatProperty.CalcOverhead.html +0 -1
- package/docs/functions/GUIDInfo.read.html +0 -1
- package/docs/functions/GUIDInfo.write.html +0 -1
- package/docs/functions/Int32ArrayProperty.Parse.html +0 -1
- package/docs/functions/Int32ArrayProperty.Serialize.html +0 -1
- package/docs/functions/Int32Property.CalcOverhead.html +0 -1
- package/docs/functions/Int32Property.Parse.html +0 -1
- package/docs/functions/Int32Property.ReadValue.html +0 -1
- package/docs/functions/Int32Property.Serialize.html +0 -1
- package/docs/functions/Int32Property.SerializeValue.html +0 -1
- package/docs/functions/Int32SetProperty.Parse.html +0 -1
- package/docs/functions/Int32SetProperty.Serialize.html +0 -1
- package/docs/functions/Int64ArrayProperty.Parse.html +0 -1
- package/docs/functions/Int64ArrayProperty.Serialize.html +0 -1
- package/docs/functions/Int64Property.CalcOverhead.html +0 -1
- package/docs/functions/Int8Property.CalcOverhead.html +0 -1
- package/docs/functions/Level.ReadAllObjectContents.html +0 -1
- package/docs/functions/Level.ReadAllObjectHeaders.html +0 -1
- package/docs/functions/Level.ReadLevel.html +0 -1
- package/docs/functions/Level.ReadNObjectContents.html +0 -1
- package/docs/functions/Level.ReadNObjectHeaders.html +0 -1
- package/docs/functions/Level.SerializeAllObjectContents.html +0 -1
- package/docs/functions/Level.SerializeAllObjectHeaders.html +0 -1
- package/docs/functions/Level.SerializeLevel.html +0 -1
- package/docs/functions/MapProperty.CalcOverhead.html +0 -1
- package/docs/functions/ObjectArrayProperty.Parse.html +0 -1
- package/docs/functions/ObjectArrayProperty.Serialize.html +0 -1
- package/docs/functions/ObjectProperty.CalcOverhead.html +0 -1
- package/docs/functions/ObjectSetProperty.Parse.html +0 -1
- package/docs/functions/ObjectSetProperty.Serialize.html +0 -1
- package/docs/functions/SetProperty.CalcOverhead.html +0 -1
- package/docs/functions/SoftObjectArrayProperty.Parse.html +0 -1
- package/docs/functions/SoftObjectArrayProperty.Serialize.html +0 -1
- package/docs/functions/SoftObjectProperty.CalcOverhead.html +0 -1
- package/docs/functions/StrArrayProperty.Parse.html +0 -1
- package/docs/functions/StrArrayProperty.Serialize.html +0 -1
- package/docs/functions/StrProperty.CalcOverhead.html +0 -1
- package/docs/functions/StrSetProperty.Parse.html +0 -1
- package/docs/functions/StrSetProperty.Serialize.html +0 -1
- package/docs/functions/StructArrayProperty.Parse.html +0 -1
- package/docs/functions/StructArrayProperty.Serialize.html +0 -1
- package/docs/functions/StructProperty.CalcOverhead.html +0 -1
- package/docs/functions/StructSetProperty.Parse.html +0 -1
- package/docs/functions/StructSetProperty.Serialize.html +0 -1
- package/docs/functions/TextArrayProperty.Parse.html +0 -1
- package/docs/functions/TextArrayProperty.Serialize.html +0 -1
- package/docs/functions/TextProperty.CalcOverhead.html +0 -1
- package/docs/functions/Uint32Property.CalcOverhead.html +0 -1
- package/docs/functions/Uint32SetProperty.Parse.html +0 -1
- package/docs/functions/Uint32SetProperty.Serialize.html +0 -1
- package/docs/functions/Uint64Property.CalcOverhead.html +0 -1
- package/docs/functions/Uint8Property.CalcOverhead.html +0 -1
- package/docs/functions/isBoolArrayProperty.html +0 -1
- package/docs/functions/isByteArrayProperty.html +0 -1
- package/docs/functions/isDoubleArrayProperty.html +0 -1
- package/docs/functions/isEnumArrayProperty.html +0 -1
- package/docs/functions/isFloatArrayProperty.html +0 -1
- package/docs/functions/isInt32ArrayProperty.html +0 -1
- package/docs/functions/isInt32Property.html +0 -1
- package/docs/functions/isInt32SetProperty.html +0 -1
- package/docs/functions/isInt64ArrayProperty.html +0 -1
- package/docs/functions/isObjectArrayProperty.html +0 -1
- package/docs/functions/isObjectSetProperty.html +0 -1
- package/docs/functions/isSoftObjectArrayProperty.html +0 -1
- package/docs/functions/isStrArrayProperty.html +0 -1
- package/docs/functions/isStrSetProperty.html +0 -1
- package/docs/functions/isStructArrayProperty.html +0 -1
- package/docs/functions/isStructSetProperty.html +0 -1
- package/docs/functions/isTextArrayProperty.html +0 -1
- package/docs/functions/isUint32SetProperty.html +0 -1
- package/docs/interfaces/BlueprintConfig-1.html +0 -8
- package/docs/modules/BoolArrayProperty.html +0 -3
- package/docs/modules/ByteArrayProperty.html +0 -3
- package/docs/modules/DoubleArrayProperty.html +0 -3
- package/docs/modules/EnumArrayProperty.html +0 -3
- package/docs/modules/FloatArrayProperty.html +0 -3
- package/docs/modules/GUIDInfo.html +0 -3
- package/docs/modules/Int32ArrayProperty.html +0 -3
- package/docs/modules/Int32Property.html +0 -6
- package/docs/modules/Int32SetProperty.html +0 -3
- package/docs/modules/Int64ArrayProperty.html +0 -3
- package/docs/modules/ObjectArrayProperty.html +0 -3
- package/docs/modules/ObjectSetProperty.html +0 -3
- package/docs/modules/SoftObjectArrayProperty.html +0 -3
- package/docs/modules/StrArrayProperty.html +0 -3
- package/docs/modules/StrSetProperty.html +0 -3
- package/docs/modules/StructArrayProperty.html +0 -3
- package/docs/modules/StructSetProperty.html +0 -3
- package/docs/modules/TextArrayProperty.html +0 -3
- package/docs/modules/Uint32SetProperty.html +0 -3
- package/docs/types/AbstractBaseProperty-1.html +0 -7
- package/docs/types/ArrayProperty.AvailableArrayPropertyTypes.html +0 -1
- package/docs/types/ArrayPropertyStructValueFields.html +0 -1
- package/docs/types/BlueprintHeader-1.html +0 -1
- package/docs/types/BoolArrayProperty-1.html +0 -1
- package/docs/types/BoolProperty-1.html +0 -1
- package/docs/types/BuildableSubsystemSpecialProperties-1.html +0 -1
- package/docs/types/BuildableTypeInstance-1.html +0 -1
- package/docs/types/ByteArrayProperty-1.html +0 -1
- package/docs/types/ByteProperty-1.html +0 -1
- package/docs/types/CircuitSpecialProperties-1.html +0 -1
- package/docs/types/ConveyorChainActorSpecialProperties-1.html +0 -1
- package/docs/types/ConveyorSpecialProperties-1.html +0 -1
- package/docs/types/DoubleArrayProperty-1.html +0 -1
- package/docs/types/DoubleProperty-1.html +0 -1
- package/docs/types/DynamicStructPropertyValue-1.html +0 -1
- package/docs/types/EmptySpecialProperties-1.html +0 -1
- package/docs/types/EnumArrayProperty-1.html +0 -1
- package/docs/types/EnumProperty-1.html +0 -1
- package/docs/types/FClientIdentityInfo-1.html +0 -2
- package/docs/types/FColor-1.html +0 -2
- package/docs/types/FGDynamicStruct-1.html +0 -6
- package/docs/types/FICFrameRange-1.html +0 -1
- package/docs/types/FINGPUT1BufferPixel-1.html +0 -1
- package/docs/types/FINItemStateFileSystem-1.html +0 -2
- package/docs/types/FINNetworkTrace-1.html +0 -1
- package/docs/types/FLBBalancerIndexing-1.html +0 -2
- package/docs/types/FLinearColor-1.html +0 -2
- package/docs/types/FloatArrayProperty-1.html +0 -1
- package/docs/types/FloatProperty-1.html +0 -1
- package/docs/types/GUID-1.html +0 -2
- package/docs/types/GUIDInfo-1.html +0 -2
- package/docs/types/Int32ArrayProperty-1.html +0 -1
- package/docs/types/Int32Property-1.html +0 -1
- package/docs/types/Int32SetProperty-1.html +0 -1
- package/docs/types/Int64ArrayProperty-1.html +0 -1
- package/docs/types/Int64Property-1.html +0 -1
- package/docs/types/Int8Property-1.html +0 -1
- package/docs/types/Level-1.html +0 -2
- package/docs/types/LevelToDestroyedActorsMap-1.html +0 -1
- package/docs/types/MAP_STRUCT_PROXY.html +0 -1
- package/docs/types/MD5Hash-1.html +0 -2
- package/docs/types/MapProperty-1.html +0 -1
- package/docs/types/ObjectArrayProperty-1.html +0 -1
- package/docs/types/ObjectProperty-1.html +0 -1
- package/docs/types/ObjectReference-1.html +0 -2
- package/docs/types/ObjectSetProperty-1.html +0 -1
- package/docs/types/ObjectsListSpecialProperties-1.html +0 -1
- package/docs/types/PlayerSpecialProperties-1.html +0 -1
- package/docs/types/PowerLineSpecialProperties-1.html +0 -1
- package/docs/types/SatisfactorySaveHeader-1.html +0 -1
- package/docs/types/SaveBodyChunks-1.html +0 -1
- package/docs/types/SaveBodyValidation-1.html +0 -1
- package/docs/types/SetProperty.AvailableSetPropertyTypes.html +0 -1
- package/docs/types/SoftObjectArrayProperty-1.html +0 -1
- package/docs/types/SoftObjectProperty-1.html +0 -1
- package/docs/types/SoftObjectReference-1.html +0 -1
- package/docs/types/SpecialDroneActionProperties-1.html +0 -1
- package/docs/types/StrArrayProperty-1.html +0 -1
- package/docs/types/StrProperty-1.html +0 -1
- package/docs/types/StrSetProperty-1.html +0 -1
- package/docs/types/StructArrayProperty-1.html +0 -1
- package/docs/types/StructProperty-1.html +0 -1
- package/docs/types/StructSetProperty-1.html +0 -1
- package/docs/types/TextArrayProperty-1.html +0 -1
- package/docs/types/TextProperty-1.html +0 -1
- package/docs/types/Transform-1.html +0 -2
- package/docs/types/Uint32Property-1.html +0 -1
- package/docs/types/Uint32SetProperty-1.html +0 -1
- package/docs/types/Uint64Property-1.html +0 -1
- package/docs/types/Uint8Property-1.html +0 -1
- package/docs/types/VehiclePhysicsData-1.html +0 -1
- package/docs/types/VehicleSpecialProperties-1.html +0 -1
- package/docs/types/col4-1.html +0 -2
- package/docs/types/vec2-1.html +0 -2
- package/docs/types/vec3-1.html +0 -2
- package/docs/types/vec4-1.html +0 -2
|
@@ -1,33 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Uint64Property = exports.isUInt64Property = void 0;
|
|
4
|
-
const
|
|
5
|
-
const AbstractBaseProperty_1 = require("./AbstractBaseProperty");
|
|
6
|
-
const isUInt64Property = (property) => !Array.isArray(property) && property.type === 'UInt64Property';
|
|
4
|
+
const isUInt64Property = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'UInt64Property';
|
|
7
5
|
exports.isUInt64Property = isUInt64Property;
|
|
8
6
|
var Uint64Property;
|
|
9
7
|
(function (Uint64Property) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
type: 'Uint64Property',
|
|
16
|
-
value,
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
Uint64Property.ReadValue = (reader) => {
|
|
8
|
+
function Parse(reader, property) {
|
|
9
|
+
property.value = Uint64Property.ReadValue(reader);
|
|
10
|
+
}
|
|
11
|
+
Uint64Property.Parse = Parse;
|
|
12
|
+
function ReadValue(reader) {
|
|
20
13
|
return reader.readUint64().toString();
|
|
21
|
-
}
|
|
22
|
-
Uint64Property.
|
|
23
|
-
|
|
24
|
-
};
|
|
25
|
-
Uint64Property.Serialize = (writer, property) => {
|
|
26
|
-
GUIDInfo_1.GUIDInfo.write(writer, property.guidInfo);
|
|
14
|
+
}
|
|
15
|
+
Uint64Property.ReadValue = ReadValue;
|
|
16
|
+
function Serialize(writer, property) {
|
|
27
17
|
Uint64Property.SerializeValue(writer, property.value);
|
|
28
|
-
}
|
|
29
|
-
Uint64Property.
|
|
18
|
+
}
|
|
19
|
+
Uint64Property.Serialize = Serialize;
|
|
20
|
+
function SerializeValue(writer, value) {
|
|
30
21
|
writer.writeUint64(BigInt(value));
|
|
31
|
-
}
|
|
22
|
+
}
|
|
23
|
+
Uint64Property.SerializeValue = SerializeValue;
|
|
32
24
|
})(Uint64Property || (exports.Uint64Property = Uint64Property = {}));
|
|
33
25
|
//# sourceMappingURL=Uint64Property.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Uint64Property.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Uint64Property.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Uint64Property.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Uint64Property.ts"],"names":[],"mappings":";;;AAKO,MAAM,gBAAgB,GAAG,CAAC,QAAa,EAA8B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,gBAAgB,CAAC;AAAvK,QAAA,gBAAgB,oBAAuJ;AAQpL,IAAiB,cAAc,CAiB9B;AAjBD,WAAiB,cAAc;IAE3B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAwB;QACjE,QAAQ,CAAC,KAAK,GAAG,cAAc,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;IAFe,oBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE,CAAC;IAC1C,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAwB;QACrE,cAAc,CAAC,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC1D,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IACtC,CAAC;IAFe,6BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,cAAc,8BAAd,cAAc,QAiB9B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isUInt64Property = (property: any): property is Uint64Property => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'UInt64Property';\n\nexport type Uint64Property = AbstractBaseProperty & {\n type: 'Uint64Property';\n propertyTagType: { name: 'Uint64Property', children: FPropertyTagNode[] };\n value: string;\n};\n\nexport namespace Uint64Property {\n\n export function Parse(reader: ContextReader, property: Uint64Property): void {\n property.value = Uint64Property.ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): string {\n return reader.readUint64().toString();\n }\n\n export function Serialize(writer: ContextWriter, property: Uint64Property): void {\n Uint64Property.SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: string): void {\n writer.writeUint64(BigInt(value));\n }\n}\n"]}
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { ContextReader } from '../../../../context/context-reader';
|
|
2
2
|
import { ContextWriter } from '../../../../context/context-writer';
|
|
3
|
+
import { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';
|
|
3
4
|
import { AbstractBaseProperty } from './AbstractBaseProperty';
|
|
4
5
|
export declare const isUint8Property: (property: any) => property is Uint8Property;
|
|
5
6
|
export type Uint8Property = AbstractBaseProperty & {
|
|
6
7
|
type: 'Uint8Property';
|
|
8
|
+
propertyTagType: {
|
|
9
|
+
name: 'Uint8Property';
|
|
10
|
+
children: FPropertyTagNode[];
|
|
11
|
+
};
|
|
7
12
|
value: number;
|
|
8
13
|
};
|
|
9
14
|
export declare namespace Uint8Property {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const SerializeValue: (writer: ContextWriter, value: number) => void;
|
|
15
|
+
function Parse(reader: ContextReader, property: Uint8Property): void;
|
|
16
|
+
function ReadValue(reader: ContextReader): number;
|
|
17
|
+
function Serialize(writer: ContextWriter, property: Uint8Property): void;
|
|
18
|
+
function SerializeValue(writer: ContextWriter, value: number): void;
|
|
15
19
|
}
|
|
16
20
|
//# sourceMappingURL=Uint8Property.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Uint8Property.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Uint8Property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"Uint8Property.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Uint8Property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,eAAe,aAAc,GAAG,KAAG,QAAQ,IAAI,aAAoH,CAAC;AAEjL,MAAM,MAAM,aAAa,GAAG,oBAAoB,GAAG;IAC/C,IAAI,EAAE,eAAe,CAAC;IACtB,eAAe,EAAE;QAAE,IAAI,EAAE,eAAe,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACzE,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,aAAa,CAAC;IAE3B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAE1E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAE9E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
|
|
@@ -1,33 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Uint8Property = exports.isUint8Property = void 0;
|
|
4
|
-
const
|
|
5
|
-
const AbstractBaseProperty_1 = require("./AbstractBaseProperty");
|
|
6
|
-
const isUint8Property = (property) => !Array.isArray(property) && property.type === 'UInt8Property';
|
|
4
|
+
const isUint8Property = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'UInt8Property';
|
|
7
5
|
exports.isUint8Property = isUint8Property;
|
|
8
6
|
var Uint8Property;
|
|
9
7
|
(function (Uint8Property) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
type: 'Uint8Property',
|
|
16
|
-
value,
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
Uint8Property.ReadValue = (reader) => {
|
|
8
|
+
function Parse(reader, property) {
|
|
9
|
+
property.value = Uint8Property.ReadValue(reader);
|
|
10
|
+
}
|
|
11
|
+
Uint8Property.Parse = Parse;
|
|
12
|
+
function ReadValue(reader) {
|
|
20
13
|
return reader.readUint8();
|
|
21
|
-
}
|
|
22
|
-
Uint8Property.
|
|
23
|
-
|
|
24
|
-
};
|
|
25
|
-
Uint8Property.Serialize = (writer, property) => {
|
|
26
|
-
GUIDInfo_1.GUIDInfo.write(writer, property.guidInfo);
|
|
14
|
+
}
|
|
15
|
+
Uint8Property.ReadValue = ReadValue;
|
|
16
|
+
function Serialize(writer, property) {
|
|
27
17
|
Uint8Property.SerializeValue(writer, property.value);
|
|
28
|
-
}
|
|
29
|
-
Uint8Property.
|
|
18
|
+
}
|
|
19
|
+
Uint8Property.Serialize = Serialize;
|
|
20
|
+
function SerializeValue(writer, value) {
|
|
30
21
|
writer.writeUint8(value);
|
|
31
|
-
}
|
|
22
|
+
}
|
|
23
|
+
Uint8Property.SerializeValue = SerializeValue;
|
|
32
24
|
})(Uint8Property || (exports.Uint8Property = Uint8Property = {}));
|
|
33
25
|
//# sourceMappingURL=Uint8Property.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Uint8Property.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Uint8Property.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Uint8Property.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Uint8Property.ts"],"names":[],"mappings":";;;AAKO,MAAM,eAAe,GAAG,CAAC,QAAa,EAA6B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,eAAe,CAAC;AAApK,QAAA,eAAe,mBAAqJ;AAQjL,IAAiB,aAAa,CAiB7B;AAjBD,WAAiB,aAAa;IAE1B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAuB;QAChE,QAAQ,CAAC,KAAK,GAAG,aAAa,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IACrD,CAAC;IAFe,mBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,SAAS,EAAE,CAAC;IAC9B,CAAC;IAFe,uBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAuB;QACpE,aAAa,CAAC,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IACzD,CAAC;IAFe,uBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAFe,4BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,aAAa,6BAAb,aAAa,QAiB7B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isUint8Property = (property: any): property is Uint8Property => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'UInt8Property';\n\nexport type Uint8Property = AbstractBaseProperty & {\n type: 'Uint8Property';\n propertyTagType: { name: 'Uint8Property', children: FPropertyTagNode[] };\n value: number;\n};\n\nexport namespace Uint8Property {\n\n export function Parse(reader: ContextReader, property: Uint8Property): void {\n property.value = Uint8Property.ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): number {\n return reader.readUint8();\n }\n\n export function Serialize(writer: ContextWriter, property: Uint8Property): void {\n Uint8Property.SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: number): void {\n writer.writeUint8(value);\n }\n}\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ContextReader } from '../../../../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../../../../context/context-writer';
|
|
3
|
+
import { FPropertyTag } from '../../../structs/binary/FPropertyTag';
|
|
4
|
+
import { AbstractBaseProperty } from '../AbstractBaseProperty';
|
|
5
|
+
export declare const isArrayProperty: (property: any) => property is ArrayProperty;
|
|
6
|
+
export type ArrayProperty = AbstractBaseProperty & {
|
|
7
|
+
type: 'ArrayProperty';
|
|
8
|
+
structTag?: FPropertyTag;
|
|
9
|
+
values: any[];
|
|
10
|
+
};
|
|
11
|
+
export declare namespace ArrayProperty {
|
|
12
|
+
function Parse(reader: ContextReader, tag: FPropertyTag, property: ArrayProperty): void;
|
|
13
|
+
function Serialize(writer: ContextWriter, property: ArrayProperty): void;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=ArrayProperty.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArrayProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/containers/ArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAGtE,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAe/D,eAAO,MAAM,eAAe,aAAc,GAAG,KAAG,QAAQ,IAAI,aAAoH,CAAC;AAEjL,MAAM,MAAM,aAAa,GAAG,oBAAoB,GAAG;IAC/C,IAAI,EAAE,eAAe,CAAC;IACtB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,MAAM,EAAE,GAAG,EAAE,CAAC;CACjB,CAAA;AAED,yBAAiB,aAAa,CAAC;IAE3B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAyE7F;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAsE9E;CACJ"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ArrayProperty = exports.isArrayProperty = void 0;
|
|
4
|
+
const parser_error_1 = require("../../../../../error/parser.error");
|
|
5
|
+
const save_custom_version_1 = require("../../../../save/save-custom-version");
|
|
6
|
+
const FPropertyTag_1 = require("../../../structs/binary/FPropertyTag");
|
|
7
|
+
const BoolProperty_1 = require("../BoolProperty");
|
|
8
|
+
const ByteProperty_1 = require("../ByteProperty");
|
|
9
|
+
const DoubleProperty_1 = require("../DoubleProperty");
|
|
10
|
+
const EnumProperty_1 = require("../EnumProperty");
|
|
11
|
+
const FloatProperty_1 = require("../FloatProperty");
|
|
12
|
+
const Int64Property_1 = require("../Int64Property");
|
|
13
|
+
const InterfaceProperty_1 = require("../InterfaceProperty");
|
|
14
|
+
const IntProperty_1 = require("../IntProperty");
|
|
15
|
+
const ObjectProperty_1 = require("../ObjectProperty");
|
|
16
|
+
const SoftObjectProperty_1 = require("../SoftObjectProperty");
|
|
17
|
+
const StrProperty_1 = require("../StrProperty");
|
|
18
|
+
const TextProperty_1 = require("../TextProperty");
|
|
19
|
+
const StructProperty_1 = require("./StructProperty");
|
|
20
|
+
const isArrayProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'ArrayProperty';
|
|
21
|
+
exports.isArrayProperty = isArrayProperty;
|
|
22
|
+
var ArrayProperty;
|
|
23
|
+
(function (ArrayProperty) {
|
|
24
|
+
function Parse(reader, tag, property) {
|
|
25
|
+
const elementCount = reader.readInt32();
|
|
26
|
+
switch (property.propertyTagType.children[0].name) {
|
|
27
|
+
case "FloatProperty":
|
|
28
|
+
property.values = new Array(elementCount).fill(0).map(() => FloatProperty_1.FloatProperty.ReadValue(reader));
|
|
29
|
+
break;
|
|
30
|
+
case "BoolProperty":
|
|
31
|
+
property.values = new Array(elementCount).fill(0).map(() => BoolProperty_1.BoolProperty.ReadValue(reader));
|
|
32
|
+
break;
|
|
33
|
+
case "IntProperty":
|
|
34
|
+
property.values = new Array(elementCount).fill(0).map(() => IntProperty_1.IntProperty.ReadValue(reader));
|
|
35
|
+
break;
|
|
36
|
+
case "Int64Property":
|
|
37
|
+
property.values = new Array(elementCount).fill(0).map(() => Int64Property_1.Int64Property.ReadValue(reader));
|
|
38
|
+
break;
|
|
39
|
+
case "DoubleProperty":
|
|
40
|
+
property.values = new Array(elementCount).fill(0).map(() => DoubleProperty_1.DoubleProperty.ReadValue(reader));
|
|
41
|
+
break;
|
|
42
|
+
case "ByteProperty":
|
|
43
|
+
property.values = new Array(elementCount).fill(0).map(() => ByteProperty_1.ByteProperty.ReadValue(reader));
|
|
44
|
+
break;
|
|
45
|
+
case "StrProperty":
|
|
46
|
+
property.values = new Array(elementCount).fill(0).map(() => StrProperty_1.StrProperty.ReadValue(reader));
|
|
47
|
+
break;
|
|
48
|
+
case "EnumProperty":
|
|
49
|
+
property.values = new Array(elementCount).fill(0).map(() => EnumProperty_1.EnumProperty.ReadValue(reader));
|
|
50
|
+
break;
|
|
51
|
+
case "TextProperty":
|
|
52
|
+
property.values = new Array(elementCount).fill(0).map(() => TextProperty_1.TextProperty.ReadValue(reader));
|
|
53
|
+
break;
|
|
54
|
+
case "InterfaceProperty":
|
|
55
|
+
property.values = new Array(elementCount).fill(0).map(() => InterfaceProperty_1.InterfaceProperty.ReadValue(reader));
|
|
56
|
+
break;
|
|
57
|
+
case "ObjectProperty":
|
|
58
|
+
property.values = new Array(elementCount).fill(0).map(() => ObjectProperty_1.ObjectProperty.ReadValue(reader));
|
|
59
|
+
break;
|
|
60
|
+
case "SoftObjectProperty":
|
|
61
|
+
property.values = new Array(elementCount).fill(0).map(() => SoftObjectProperty_1.SoftObjectProperty.ReadValue(reader));
|
|
62
|
+
break;
|
|
63
|
+
case "StructProperty":
|
|
64
|
+
let binarySizeToCheck = tag.binarySize - 4;
|
|
65
|
+
if (reader.context.saveVersion.object < save_custom_version_1.SaveCustomVersion.SerializeDataPackageVersionAndCustomVersions) {
|
|
66
|
+
const innerTag = FPropertyTag_1.FPropertyTag.read(reader);
|
|
67
|
+
property.structTag = innerTag;
|
|
68
|
+
property.propertyTagType.children[0] = innerTag.propertyTagType;
|
|
69
|
+
binarySizeToCheck = property.structTag.binarySize;
|
|
70
|
+
}
|
|
71
|
+
property.values = new Array(elementCount).fill(0).map(() => StructProperty_1.StructProperty.ParseValue(reader, tag.propertyTagType.children[0].children[0], binarySizeToCheck));
|
|
72
|
+
break;
|
|
73
|
+
default:
|
|
74
|
+
throw new parser_error_1.UnimplementedError(`Unknown array property subtype ${JSON.stringify(property.propertyTagType.children[0].name)} for ${property.propertyTagType.name}. Not implemented.`);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
ArrayProperty.Parse = Parse;
|
|
78
|
+
function Serialize(writer, property) {
|
|
79
|
+
writer.writeInt32(property.values.length);
|
|
80
|
+
switch (property.propertyTagType.children[0].name) {
|
|
81
|
+
case "FloatProperty":
|
|
82
|
+
property.values.forEach(value => FloatProperty_1.FloatProperty.SerializeValue(writer, value));
|
|
83
|
+
break;
|
|
84
|
+
case "BoolProperty":
|
|
85
|
+
property.values.forEach(value => BoolProperty_1.BoolProperty.SerializeValue(writer, value));
|
|
86
|
+
break;
|
|
87
|
+
case "IntProperty":
|
|
88
|
+
property.values.forEach(value => IntProperty_1.IntProperty.SerializeValue(writer, value));
|
|
89
|
+
break;
|
|
90
|
+
case "Int64Property":
|
|
91
|
+
property.values.forEach(value => Int64Property_1.Int64Property.SerializeValue(writer, value));
|
|
92
|
+
break;
|
|
93
|
+
case "DoubleProperty":
|
|
94
|
+
property.values.forEach(value => DoubleProperty_1.DoubleProperty.SerializeValue(writer, value));
|
|
95
|
+
break;
|
|
96
|
+
case "ByteProperty":
|
|
97
|
+
property.values.forEach(value => ByteProperty_1.ByteProperty.SerializeValue(writer, value));
|
|
98
|
+
break;
|
|
99
|
+
case "StrProperty":
|
|
100
|
+
property.values.forEach(value => StrProperty_1.StrProperty.SerializeValue(writer, value));
|
|
101
|
+
break;
|
|
102
|
+
case "EnumProperty":
|
|
103
|
+
property.values.forEach(value => EnumProperty_1.EnumProperty.SerializeValue(writer, value));
|
|
104
|
+
break;
|
|
105
|
+
case "TextProperty":
|
|
106
|
+
property.values.forEach(value => TextProperty_1.TextProperty.SerializeValue(writer, value));
|
|
107
|
+
break;
|
|
108
|
+
case "InterfaceProperty":
|
|
109
|
+
property.values.forEach(value => InterfaceProperty_1.InterfaceProperty.SerializeValue(writer, value));
|
|
110
|
+
break;
|
|
111
|
+
case "ObjectProperty":
|
|
112
|
+
property.values.forEach(value => ObjectProperty_1.ObjectProperty.SerializeValue(writer, value));
|
|
113
|
+
break;
|
|
114
|
+
case "SoftObjectProperty":
|
|
115
|
+
property.values.forEach(value => SoftObjectProperty_1.SoftObjectProperty.SerializeValue(writer, value));
|
|
116
|
+
break;
|
|
117
|
+
case "StructProperty":
|
|
118
|
+
if (writer.context.saveVersion.object < save_custom_version_1.SaveCustomVersion.SerializeDataPackageVersionAndCustomVersions) {
|
|
119
|
+
FPropertyTag_1.FPropertyTag.write(writer, property.structTag);
|
|
120
|
+
}
|
|
121
|
+
property.values.forEach(value => StructProperty_1.StructProperty.SerializeValue(writer, property.propertyTagType.children[0].children[0].name, value));
|
|
122
|
+
break;
|
|
123
|
+
default:
|
|
124
|
+
throw new parser_error_1.UnimplementedError(`Unknown array property to serialize. ${property.type ?? ''}, ${property.subtype ?? ''}`);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
ArrayProperty.Serialize = Serialize;
|
|
128
|
+
})(ArrayProperty || (exports.ArrayProperty = ArrayProperty = {}));
|
|
129
|
+
//# sourceMappingURL=ArrayProperty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArrayProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/containers/ArrayProperty.ts"],"names":[],"mappings":";;;AAEA,oEAAuE;AACvE,8EAAyE;AACzE,uEAAoE;AAEpE,kDAA+C;AAC/C,kDAA+C;AAC/C,sDAAmD;AACnD,kDAA+C;AAC/C,oDAAiD;AACjD,oDAAiD;AACjD,4DAAyD;AACzD,gDAA6C;AAC7C,sDAAmD;AACnD,8DAA2D;AAC3D,gDAA6C;AAC7C,kDAA+C;AAC/C,qDAAkD;AAE3C,MAAM,eAAe,GAAG,CAAC,QAAa,EAA6B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,eAAe,CAAC;AAApK,QAAA,eAAe,mBAAqJ;AAQjL,IAAiB,aAAa,CAoJ7B;AApJD,WAAiB,aAAa;IAE1B,SAAgB,KAAK,CAAC,MAAqB,EAAE,GAAiB,EAAE,QAAuB;QAEnF,MAAM,YAAY,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QACxC,QAAQ,QAAQ,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;YAChD,KAAK,eAAe;gBAChB,QAAQ,CAAC,MAAM,GAAG,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,6BAAa,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC7F,MAAM;YAEV,KAAK,cAAc;gBACf,QAAQ,CAAC,MAAM,GAA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{ ContextWriter } from '../../../../../context/context-writer';\nimport { UnimplementedError } from '../../../../../error/parser.error';\nimport { SaveCustomVersion } from '../../../../save/save-custom-version';\nimport { FPropertyTag } from '../../../structs/binary/FPropertyTag';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\nimport { BoolProperty } from '../BoolProperty';\nimport { ByteProperty } from '../ByteProperty';\nimport { DoubleProperty } from '../DoubleProperty';\nimport { EnumProperty } from '../EnumProperty';\nimport { FloatProperty } from '../FloatProperty';\nimport { Int64Property } from '../Int64Property';\nimport { InterfaceProperty } from '../InterfaceProperty';\nimport { IntProperty } from '../IntProperty';\nimport { ObjectProperty } from '../ObjectProperty';\nimport { SoftObjectProperty } from '../SoftObjectProperty';\nimport { StrProperty } from '../StrProperty';\nimport { TextProperty } from '../TextProperty';\nimport { StructProperty } from './StructProperty';\n\nexport const isArrayProperty = (property: any): property is ArrayProperty => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'ArrayProperty';\n\nexport type ArrayProperty = AbstractBaseProperty & {\n type: 'ArrayProperty';\n structTag?: FPropertyTag;\n values: any[];\n}\n\nexport namespace ArrayProperty {\n\n export function Parse(reader: ContextReader, tag: FPropertyTag, property: ArrayProperty): void {\n\n const elementCount = reader.readInt32();\n switch (property.propertyTagType.children[0].name) {\n case \"FloatProperty\":\n property.values = new Array(elementCount).fill(0).map(() => FloatProperty.ReadValue(reader));\n break;\n\n case \"BoolProperty\":\n property.values = new Array(elementCount).fill(0).map(() => BoolProperty.ReadValue(reader));\n break;\n\n case \"IntProperty\":\n property.values = new Array(elementCount).fill(0).map(() => IntProperty.ReadValue(reader));\n break;\n\n case \"Int64Property\":\n property.values = new Array(elementCount).fill(0).map(() => Int64Property.ReadValue(reader));\n break;\n\n case \"DoubleProperty\":\n property.values = new Array(elementCount).fill(0).map(() => DoubleProperty.ReadValue(reader));\n break;\n\n case \"ByteProperty\":\n property.values = new Array(elementCount).fill(0).map(() => ByteProperty.ReadValue(reader));\n break;\n\n case \"StrProperty\":\n property.values = new Array(elementCount).fill(0).map(() => StrProperty.ReadValue(reader));\n break;\n\n case \"EnumProperty\":\n property.values = new Array(elementCount).fill(0).map(() => EnumProperty.ReadValue(reader));\n break;\n\n case \"TextProperty\":\n property.values = new Array(elementCount).fill(0).map(() => TextProperty.ReadValue(reader));\n break;\n\n case \"InterfaceProperty\":\n property.values = new Array(elementCount).fill(0).map(() => InterfaceProperty.ReadValue(reader));\n break;\n\n case \"ObjectProperty\":\n property.values = new Array(elementCount).fill(0).map(() => ObjectProperty.ReadValue(reader));\n break;\n\n case \"SoftObjectProperty\":\n property.values = new Array(elementCount).fill(0).map(() => SoftObjectProperty.ReadValue(reader));\n break;\n\n case \"StructProperty\":\n\n // we already read elementCount. so - 4.\n //TODO: check?\n let binarySizeToCheck = tag.binarySize - 4;\n\n // saveVersion 53 is late 1.1\n if (reader.context.saveVersion.object < SaveCustomVersion.SerializeDataPackageVersionAndCustomVersions) {\n const innerTag = FPropertyTag.read(reader);\n property.structTag = innerTag;\n property.propertyTagType.children[0] = innerTag.propertyTagType;\n binarySizeToCheck = property.structTag!.binarySize;\n }\n\n property.values = new Array(elementCount).fill(0).map(() => StructProperty.ParseValue(reader, tag.propertyTagType.children[0].children[0], binarySizeToCheck));\n break;\n\n default:\n throw new UnimplementedError(`Unknown array property subtype ${JSON.stringify(property.propertyTagType.children[0].name)} for ${property.propertyTagType.name}. Not implemented.`);\n\n }\n }\n\n export function Serialize(writer: ContextWriter, property: ArrayProperty): void {\n\n writer.writeInt32(property.values.length);\n\n switch (property.propertyTagType.children[0].name) {\n case \"FloatProperty\":\n property.values.forEach(value => FloatProperty.SerializeValue(writer, value));\n break;\n\n case \"BoolProperty\":\n property.values.forEach(value => BoolProperty.SerializeValue(writer, value));\n break;\n\n case \"IntProperty\":\n property.values.forEach(value => IntProperty.SerializeValue(writer, value));\n break;\n\n case \"Int64Property\":\n property.values.forEach(value => Int64Property.SerializeValue(writer, value));\n break;\n\n case \"DoubleProperty\":\n property.values.forEach(value => DoubleProperty.SerializeValue(writer, value));\n break;\n\n case \"ByteProperty\":\n property.values.forEach(value => ByteProperty.SerializeValue(writer, value));\n break;\n\n case \"StrProperty\":\n property.values.forEach(value => StrProperty.SerializeValue(writer, value));\n break;\n\n case \"EnumProperty\":\n property.values.forEach(value => EnumProperty.SerializeValue(writer, value));\n break;\n\n case \"TextProperty\":\n property.values.forEach(value => TextProperty.SerializeValue(writer, value));\n break;\n\n case \"InterfaceProperty\":\n property.values.forEach(value => InterfaceProperty.SerializeValue(writer, value));\n break;\n\n case \"ObjectProperty\":\n property.values.forEach(value => ObjectProperty.SerializeValue(writer, value));\n break;\n\n case \"SoftObjectProperty\":\n property.values.forEach(value => SoftObjectProperty.SerializeValue(writer, value));\n break;\n\n case \"StructProperty\":\n\n // saveVersion 53 is late 1.1\n if (writer.context.saveVersion.object < SaveCustomVersion.SerializeDataPackageVersionAndCustomVersions) {\n FPropertyTag.write(writer, property.structTag!);\n }\n\n property.values.forEach(value => StructProperty.SerializeValue(writer, property.propertyTagType.children[0].children[0].name, value));\n\n //writer.writeBinarySizeFromPosition(lenIndicator, before);\n // TODO: write binary value ?\n\n break;\n\n default:\n throw new UnimplementedError(`Unknown array property to serialize. ${(property as any).type ?? ''}, ${(property as any).subtype ?? ''}`);\n }\n }\n}\n"]}
|
package/build/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.d.ts
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { FPropertyTagNode } from "../../../structs/binary/FPropertyTagNode";
|
|
2
|
+
import { AbstractBaseProperty } from "../AbstractBaseProperty";
|
|
3
|
+
import { BoolProperty } from "../BoolProperty";
|
|
4
|
+
import { ByteProperty } from "../ByteProperty";
|
|
5
|
+
import { DoubleProperty } from "../DoubleProperty";
|
|
6
|
+
import { EnumProperty } from "../EnumProperty";
|
|
7
|
+
import { FloatProperty } from "../FloatProperty";
|
|
8
|
+
import { Int64Property } from "../Int64Property";
|
|
9
|
+
import { InterfaceProperty } from "../InterfaceProperty";
|
|
10
|
+
import { IntProperty } from "../IntProperty";
|
|
11
|
+
import { ObjectProperty } from "../ObjectProperty";
|
|
12
|
+
import { SoftObjectProperty } from "../SoftObjectProperty";
|
|
13
|
+
import { StrProperty } from "../StrProperty";
|
|
14
|
+
import { TextProperty } from "../TextProperty";
|
|
15
|
+
import { StructProperty } from "./StructProperty";
|
|
16
|
+
type SpecificArrayPropertyType<TSubtype extends AbstractBaseProperty, TSubtypevalue = TSubtype['value']> = AbstractBaseProperty & {
|
|
17
|
+
propertyTagType: {
|
|
18
|
+
name: 'ArrayProperty';
|
|
19
|
+
children: [
|
|
20
|
+
{
|
|
21
|
+
name: TSubtype['type'];
|
|
22
|
+
children: FPropertyTagNode[];
|
|
23
|
+
}
|
|
24
|
+
];
|
|
25
|
+
};
|
|
26
|
+
values: TSubtypevalue[];
|
|
27
|
+
};
|
|
28
|
+
export type BoolArrayProperty = SpecificArrayPropertyType<BoolProperty, number>;
|
|
29
|
+
export declare const isBoolArrayProperty: (property: AbstractBaseProperty) => property is BoolArrayProperty;
|
|
30
|
+
export type Int64ArrayProperty = SpecificArrayPropertyType<Int64Property>;
|
|
31
|
+
export declare const isInt64ArrayProperty: (property: AbstractBaseProperty) => property is Int64ArrayProperty;
|
|
32
|
+
export type ByteArrayProperty = SpecificArrayPropertyType<ByteProperty, number>;
|
|
33
|
+
export declare const isByteArrayProperty: (property: AbstractBaseProperty) => property is ByteArrayProperty;
|
|
34
|
+
export type DoubleArrayProperty = SpecificArrayPropertyType<DoubleProperty>;
|
|
35
|
+
export declare const isDoubleArrayProperty: (property: AbstractBaseProperty) => property is DoubleArrayProperty;
|
|
36
|
+
export type EnumArrayProperty = SpecificArrayPropertyType<EnumProperty>;
|
|
37
|
+
export declare const isEnumArrayProperty: (property: AbstractBaseProperty) => property is EnumArrayProperty;
|
|
38
|
+
export type FloatArrayProperty = SpecificArrayPropertyType<FloatProperty>;
|
|
39
|
+
export declare const isFloatArrayProperty: (property: AbstractBaseProperty) => property is FloatArrayProperty;
|
|
40
|
+
export type IntArrayProperty = SpecificArrayPropertyType<IntProperty>;
|
|
41
|
+
export declare const isIntArrayProperty: (property: AbstractBaseProperty) => property is IntArrayProperty;
|
|
42
|
+
export type ObjectArrayProperty = SpecificArrayPropertyType<ObjectProperty>;
|
|
43
|
+
export declare const isObjectArrayProperty: (property: AbstractBaseProperty) => property is ObjectArrayProperty;
|
|
44
|
+
export type InterfaceArrayProperty = SpecificArrayPropertyType<InterfaceProperty>;
|
|
45
|
+
export declare const isInterfaceArrayProperty: (property: AbstractBaseProperty) => property is InterfaceArrayProperty;
|
|
46
|
+
export type SoftObjectArrayProperty = SpecificArrayPropertyType<SoftObjectProperty>;
|
|
47
|
+
export declare const isSoftObjectArrayProperty: (property: AbstractBaseProperty) => property is SoftObjectArrayProperty;
|
|
48
|
+
export type StrArrayProperty = SpecificArrayPropertyType<StrProperty>;
|
|
49
|
+
export declare const isStrArrayProperty: (property: AbstractBaseProperty) => property is StrArrayProperty;
|
|
50
|
+
export type StructArrayProperty = SpecificArrayPropertyType<StructProperty>;
|
|
51
|
+
export declare const isStructArrayPRoperty: (property: AbstractBaseProperty) => property is StructArrayProperty;
|
|
52
|
+
export type TextArrayProperty = SpecificArrayPropertyType<TextProperty>;
|
|
53
|
+
export declare const isTextArrayProperty: (property: AbstractBaseProperty) => property is TextArrayProperty;
|
|
54
|
+
export {};
|
|
55
|
+
//# sourceMappingURL=ArrayPropertySpecificTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArrayPropertySpecificTypes.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,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AM,kBAAkB,aAxCb,oBAAoB,KAC/B,QAAQ,oBAuC+E,CAAC;AAE/F,MAAM,MAAM,mBAAmB,GAAG,yBAAyB,CAAC,cAAc,CAAC,CAAC;AAC5E,eAAO,MAAM,qBAAqB,aA3ChB,oBAAoB,KAC/B,QAAQ,uBA0CwF,CAAC;AAExG,MAAM,MAAM,iBAAiB,GAAG,yBAAyB,CAAC,YAAY,CAAC,CAAC;AACxE,eAAO,MAAM,mBAAmB,aA9Cd,oBAAoB,KAC/B,QAAQ,qBA6CkF,CAAC"}
|
package/build/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isTextArrayProperty = exports.isStructArrayPRoperty = exports.isStrArrayProperty = exports.isSoftObjectArrayProperty = exports.isInterfaceArrayProperty = exports.isObjectArrayProperty = exports.isIntArrayProperty = exports.isFloatArrayProperty = exports.isEnumArrayProperty = exports.isDoubleArrayProperty = exports.isByteArrayProperty = exports.isInt64ArrayProperty = exports.isBoolArrayProperty = void 0;
|
|
4
|
+
const ArrayProperty_1 = require("./ArrayProperty");
|
|
5
|
+
function createArrayPropertyGuardFor(typeName) {
|
|
6
|
+
return (property) => {
|
|
7
|
+
return ((0, ArrayProperty_1.isArrayProperty)(property) &&
|
|
8
|
+
property.propertyTagType?.children[0]?.name === typeName);
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
exports.isBoolArrayProperty = createArrayPropertyGuardFor('BoolProperty');
|
|
12
|
+
exports.isInt64ArrayProperty = createArrayPropertyGuardFor('Int64Property');
|
|
13
|
+
exports.isByteArrayProperty = createArrayPropertyGuardFor('ByteProperty');
|
|
14
|
+
exports.isDoubleArrayProperty = createArrayPropertyGuardFor('DoubleProperty');
|
|
15
|
+
exports.isEnumArrayProperty = createArrayPropertyGuardFor('EnumProperty');
|
|
16
|
+
exports.isFloatArrayProperty = createArrayPropertyGuardFor('FloatProperty');
|
|
17
|
+
exports.isIntArrayProperty = createArrayPropertyGuardFor('IntProperty');
|
|
18
|
+
exports.isObjectArrayProperty = createArrayPropertyGuardFor('ObjectProperty');
|
|
19
|
+
exports.isInterfaceArrayProperty = createArrayPropertyGuardFor('InterfaceProperty');
|
|
20
|
+
exports.isSoftObjectArrayProperty = createArrayPropertyGuardFor('SoftObjectProperty');
|
|
21
|
+
exports.isStrArrayProperty = createArrayPropertyGuardFor('StrProperty');
|
|
22
|
+
exports.isStructArrayPRoperty = createArrayPropertyGuardFor('StructProperty');
|
|
23
|
+
exports.isTextArrayProperty = createArrayPropertyGuardFor('TextProperty');
|
|
24
|
+
//# sourceMappingURL=ArrayPropertySpecificTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArrayPropertySpecificTypes.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes.ts"],"names":[],"mappings":";;;AAcA,mDAAkD;AAgBlD,SAAS,2BAA2B,CAChC,QAAgD;IAEhD,OAAO,CACH,QAA8B,EACJ,EAAE;QAC5B,OAAO,CACH,IAAA,+BAAe,EAAC,QAAQ,CAAC;YACzB,QAAQ,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,IAAI,KAAK,QAAQ,CAC3D,CAAC;IACN,CAAC,CAAC;AACN,CAAC;AAGY,QAAA,mBAAmB,GAAG,2BAA2B,CAAoB,cAAc,CAAC,CAAC;AAGrF,QAAA,oBAAoB,GAAG,2BAA2B,CAAqB,eAAe,CAAC,CAAC;AAGxF,QAAA,mBAAmB,GAAG,2BAA2B,CAAoB,cAAc,CAAC,CAAC;AAGrF,QAAA,qBAAqB,GAAG,2BAA2B,CAAsB,gBAAgB,CAAC,CAAC;AAG3F,QAAA,mBAAmB,GAAG,2BAA2B,CAAoB,cAAc,CAAC,CAAC;AAGrF,QAAA,oBAAoB,GAAG,2BAA2B,CAAqB,eAAe,CAAC,CAAC;AAGxF,QAAA,kBAAkB,GAAG,2BAA2B,CAAmB,aAAa,CAAC,CAAC;AAGlF,QAAA,qBAAqB,GAAG,2BAA2B,CAAsB,gBAAgB,CAAC,CAAC;AAG3F,QAAA,wBAAwB,GAAG,2BAA2B,CAAyB,mBAAmB,CAAC,CAAC;AAGpG,QAAA,yBAAyB,GAAG,2BAA2B,CAA0B,oBAAoB,CAAC,CAAC;AAGvG,QAAA,kBAAkB,GAAG,2BAA2B,CAAmB,aAAa,CAAC,CAAC;AAGlF,QAAA,qBAAqB,GAAG,2BAA2B,CAAsB,gBAAgB,CAAC,CAAC;AAG3F,QAAA,mBAAmB,GAAG,2BAA2B,CAAoB,cAAc,CAAC,CAAC","sourcesContent":["import { FPropertyTagNode } from \"../../../structs/binary/FPropertyTagNode\";\nimport { AbstractBaseProperty } from \"../AbstractBaseProperty\";\nimport { BoolProperty } from \"../BoolProperty\";\nimport { ByteProperty } from \"../ByteProperty\";\nimport { DoubleProperty } from \"../DoubleProperty\";\nimport { EnumProperty } from \"../EnumProperty\";\nimport { FloatProperty } from \"../FloatProperty\";\nimport { Int64Property } from \"../Int64Property\";\nimport { InterfaceProperty } from \"../InterfaceProperty\";\nimport { IntProperty } from \"../IntProperty\";\nimport { ObjectProperty } from \"../ObjectProperty\";\nimport { SoftObjectProperty } from \"../SoftObjectProperty\";\nimport { StrProperty } from \"../StrProperty\";\nimport { TextProperty } from \"../TextProperty\";\nimport { isArrayProperty } from \"./ArrayProperty\";\nimport { StructProperty } from \"./StructProperty\";\n\n// Helpers to create type guards.\n// Not necessarily needed, but checking for a \"StrArrayProperty\" can be useful i guess.\ntype SpecificArrayPropertyType<TSubtype extends AbstractBaseProperty, TSubtypevalue = TSubtype['value']> = AbstractBaseProperty & {\n propertyTagType: {\n name: 'ArrayProperty';\n children: [{\n name: TSubtype['type'];\n children: FPropertyTagNode[];\n }];\n };\n values: TSubtypevalue[];\n};\ntype ExtractSubtype<T> = T extends SpecificArrayPropertyType<infer U> ? U : never;\nfunction createArrayPropertyGuardFor<TArrayProperty extends SpecificArrayPropertyType<AbstractBaseProperty>>(\n typeName: ExtractSubtype<TArrayProperty>['type']\n) {\n return (\n property: AbstractBaseProperty\n ): property is TArrayProperty => {\n return (\n isArrayProperty(property) &&\n property.propertyTagType?.children[0]?.name === typeName\n );\n };\n}\n\nexport type BoolArrayProperty = SpecificArrayPropertyType<BoolProperty, number>;\nexport const isBoolArrayProperty = createArrayPropertyGuardFor<BoolArrayProperty>('BoolProperty');\n\nexport type Int64ArrayProperty = SpecificArrayPropertyType<Int64Property>;\nexport const isInt64ArrayProperty = createArrayPropertyGuardFor<Int64ArrayProperty>('Int64Property');\n\nexport type ByteArrayProperty = SpecificArrayPropertyType<ByteProperty, number>;\nexport const isByteArrayProperty = createArrayPropertyGuardFor<ByteArrayProperty>('ByteProperty');\n\nexport type DoubleArrayProperty = SpecificArrayPropertyType<DoubleProperty>;\nexport const isDoubleArrayProperty = createArrayPropertyGuardFor<DoubleArrayProperty>('DoubleProperty');\n\nexport type EnumArrayProperty = SpecificArrayPropertyType<EnumProperty>;\nexport const isEnumArrayProperty = createArrayPropertyGuardFor<EnumArrayProperty>('EnumProperty');\n\nexport type FloatArrayProperty = SpecificArrayPropertyType<FloatProperty>;\nexport const isFloatArrayProperty = createArrayPropertyGuardFor<FloatArrayProperty>('FloatProperty');\n\nexport type IntArrayProperty = SpecificArrayPropertyType<IntProperty>;\nexport const isIntArrayProperty = createArrayPropertyGuardFor<IntArrayProperty>('IntProperty');\n\nexport type ObjectArrayProperty = SpecificArrayPropertyType<ObjectProperty>;\nexport const isObjectArrayProperty = createArrayPropertyGuardFor<ObjectArrayProperty>('ObjectProperty');\n\nexport type InterfaceArrayProperty = SpecificArrayPropertyType<InterfaceProperty>;\nexport const isInterfaceArrayProperty = createArrayPropertyGuardFor<InterfaceArrayProperty>('InterfaceProperty');\n\nexport type SoftObjectArrayProperty = SpecificArrayPropertyType<SoftObjectProperty>;\nexport const isSoftObjectArrayProperty = createArrayPropertyGuardFor<SoftObjectArrayProperty>('SoftObjectProperty');\n\nexport type StrArrayProperty = SpecificArrayPropertyType<StrProperty>;\nexport const isStrArrayProperty = createArrayPropertyGuardFor<StrArrayProperty>('StrProperty');\n\nexport type StructArrayProperty = SpecificArrayPropertyType<StructProperty>;\nexport const isStructArrayPRoperty = createArrayPropertyGuardFor<StructArrayProperty>('StructProperty');\n\nexport type TextArrayProperty = SpecificArrayPropertyType<TextProperty>;\nexport const isTextArrayProperty = createArrayPropertyGuardFor<TextArrayProperty>('TextProperty');"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ContextReader } from '../../../../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../../../../context/context-writer';
|
|
3
|
+
import { LBBalancerIndexing } from '../../../structs/binary/LBBalancerIndexing';
|
|
4
|
+
import { ObjectReference } from '../../../structs/ObjectReference';
|
|
5
|
+
import { vec3 } from '../../../structs/vec3';
|
|
6
|
+
import { AbstractBaseProperty } from '../AbstractBaseProperty';
|
|
7
|
+
import { GENERIC_STRUCT_PROPERTY_VALUE } from './StructProperty';
|
|
8
|
+
export type GENERIC_MAP_KEY_TYPE = number | ObjectReference | boolean | GENERIC_STRUCT_PROPERTY_VALUE | vec3;
|
|
9
|
+
export type GENERIC_MAP_VALUE_TYPE = number | ObjectReference | boolean | GENERIC_STRUCT_PROPERTY_VALUE | LBBalancerIndexing;
|
|
10
|
+
export declare const isMapProperty: (property: any) => property is MapProperty;
|
|
11
|
+
export type MapProperty = AbstractBaseProperty & {
|
|
12
|
+
type: 'MapProperty';
|
|
13
|
+
numElementsToRemove?: number;
|
|
14
|
+
values: [key: GENERIC_MAP_KEY_TYPE, value: GENERIC_MAP_VALUE_TYPE][];
|
|
15
|
+
};
|
|
16
|
+
export declare namespace MapProperty {
|
|
17
|
+
function Parse(reader: ContextReader, property: MapProperty): void;
|
|
18
|
+
function Serialize(writer: ContextWriter, property: MapProperty): void;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=MapProperty.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MapProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/containers/MapProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAEtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAEhF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAO/D,OAAO,EAAE,6BAA6B,EAAE,MAAM,kBAAkB,CAAC;AAGjE,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,eAAe,GAAG,OAAO,GAAG,6BAA6B,GAAG,IAAI,CAAC;AAC7G,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,eAAe,GAAG,OAAO,GAAG,6BAA6B,GAAG,kBAAkB,CAAC;AAE7H,eAAO,MAAM,aAAa,aAAc,GAAG,KAAG,QAAQ,IAAI,WAAgH,CAAC;AAE3K,MAAM,MAAM,WAAW,GAAG,oBAAoB,GAAG;IAC7C,IAAI,EAAE,aAAa,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,MAAM,EAAE,CAAC,GAAG,EAAE,oBAAoB,EAAE,KAAK,EAAE,sBAAsB,CAAC,EAAE,CAAC;CACxE,CAAC;AAGF,yBAAiB,WAAW,CAAC;IAEzB,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,GAAG,IAAI,CAwFxE;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,GAAG,IAAI,CA6E5E;CACJ"}
|