@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SoftObjectProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/SoftObjectProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"SoftObjectProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/SoftObjectProperty.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,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,oBAAoB,aAAc,GAAG,KAAG,QAAQ,IAAI,kBAA8H,CAAC;AAEhM,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG;IACpD,IAAI,EAAE,oBAAoB,CAAC;IAC3B,eAAe,EAAE;QAAE,IAAI,EAAE,oBAAoB,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IAC9E,KAAK,EAAE,mBAAmB,CAAC;CAC9B,CAAC;AAEF,yBAAiB,kBAAkB,CAAC;IAGhC,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,kBAAkB,GAAG,IAAI,CAE/E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,mBAAmB,CAEpE;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,kBAAkB,GAAG,IAAI,CAEnF;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,mBAAmB,GAAG,IAAI,CAEtF;CACJ"}
|
|
@@ -1,34 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SoftObjectProperty = exports.isSoftObjectProperty = void 0;
|
|
4
|
-
const GUIDInfo_1 = require("../../structs/GUIDInfo");
|
|
5
4
|
const SoftObjectReference_1 = require("../../structs/SoftObjectReference");
|
|
6
|
-
const
|
|
7
|
-
const isSoftObjectProperty = (property) => !Array.isArray(property) && property.type === 'SoftObjectProperty';
|
|
5
|
+
const isSoftObjectProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'SoftObjectProperty';
|
|
8
6
|
exports.isSoftObjectProperty = isSoftObjectProperty;
|
|
9
7
|
var SoftObjectProperty;
|
|
10
8
|
(function (SoftObjectProperty) {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
type: 'SoftObjectProperty',
|
|
17
|
-
value,
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
SoftObjectProperty.ReadValue = (reader) => {
|
|
9
|
+
function Parse(reader, property) {
|
|
10
|
+
property.value = ReadValue(reader);
|
|
11
|
+
}
|
|
12
|
+
SoftObjectProperty.Parse = Parse;
|
|
13
|
+
function ReadValue(reader) {
|
|
21
14
|
return SoftObjectReference_1.SoftObjectReference.read(reader);
|
|
22
|
-
}
|
|
23
|
-
SoftObjectProperty.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
};
|
|
30
|
-
SoftObjectProperty.SerializeValue = (writer, value) => {
|
|
15
|
+
}
|
|
16
|
+
SoftObjectProperty.ReadValue = ReadValue;
|
|
17
|
+
function Serialize(writer, property) {
|
|
18
|
+
SerializeValue(writer, property.value);
|
|
19
|
+
}
|
|
20
|
+
SoftObjectProperty.Serialize = Serialize;
|
|
21
|
+
function SerializeValue(writer, value) {
|
|
31
22
|
SoftObjectReference_1.SoftObjectReference.write(writer, value);
|
|
32
|
-
}
|
|
23
|
+
}
|
|
24
|
+
SoftObjectProperty.SerializeValue = SerializeValue;
|
|
33
25
|
})(SoftObjectProperty || (exports.SoftObjectProperty = SoftObjectProperty = {}));
|
|
34
26
|
//# sourceMappingURL=SoftObjectProperty.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SoftObjectProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/SoftObjectProperty.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"SoftObjectProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/SoftObjectProperty.ts"],"names":[],"mappings":";;;AAGA,2EAAwE;AAGjE,MAAM,oBAAoB,GAAG,CAAC,QAAa,EAAkC,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,oBAAoB,CAAC;AAAnL,QAAA,oBAAoB,wBAA+J;AAQhM,IAAiB,kBAAkB,CAkBlC;AAlBD,WAAiB,kBAAkB;IAG/B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAA4B;QACrE,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,wBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,yCAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC5C,CAAC;IAFe,4BAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAA4B;QACzE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,4BAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAA0B;QAC5E,yCAAmB,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAC7C,CAAC;IAFe,iCAAc,iBAE7B,CAAA;AACL,CAAC,EAlBgB,kBAAkB,kCAAlB,kBAAkB,QAkBlC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { SoftObjectReference } from '../../structs/SoftObjectReference';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isSoftObjectProperty = (property: any): property is SoftObjectProperty => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'SoftObjectProperty';\n\nexport type SoftObjectProperty = AbstractBaseProperty & {\n type: 'SoftObjectProperty';\n propertyTagType: { name: 'SoftObjectProperty', children: FPropertyTagNode[] };\n value: SoftObjectReference;\n};\n\nexport namespace SoftObjectProperty {\n\n\n export function Parse(reader: ContextReader, property: SoftObjectProperty): void {\n property.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): SoftObjectReference {\n return SoftObjectReference.read(reader);\n }\n\n export function Serialize(writer: ContextWriter, property: SoftObjectProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: SoftObjectReference): void {\n SoftObjectReference.write(writer, 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 isStrProperty: (property: any) => property is StrProperty;
|
|
5
6
|
export type StrProperty = AbstractBaseProperty & {
|
|
6
7
|
type: 'StrProperty';
|
|
8
|
+
propertyTagType: {
|
|
9
|
+
name: 'StrProperty';
|
|
10
|
+
children: FPropertyTagNode[];
|
|
11
|
+
};
|
|
7
12
|
value: string;
|
|
8
13
|
};
|
|
9
14
|
export declare namespace StrProperty {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const SerializeValue: (writer: ContextWriter, value: string) => void;
|
|
15
|
+
function Parse(reader: ContextReader, currentProperty: StrProperty): void;
|
|
16
|
+
function ReadValue(reader: ContextReader): string;
|
|
17
|
+
function Serialize(writer: ContextWriter, property: StrProperty): void;
|
|
18
|
+
function SerializeValue(writer: ContextWriter, value: string): void;
|
|
15
19
|
}
|
|
16
20
|
//# sourceMappingURL=StrProperty.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StrProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/StrProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"StrProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/StrProperty.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,aAAa,aAAc,GAAG,KAAG,QAAQ,IAAI,WAAgH,CAAC;AAE3K,MAAM,MAAM,WAAW,GAAG,oBAAoB,GAAG;IAC7C,IAAI,EAAE,aAAa,CAAC;IACpB,eAAe,EAAE;QAAE,IAAI,EAAE,aAAa,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACvE,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,WAAW,CAAC;IAEzB,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,WAAW,GAAG,IAAI,CAE/E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,GAAG,IAAI,CAE5E;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.StrProperty = exports.isStrProperty = void 0;
|
|
4
|
-
const
|
|
5
|
-
const AbstractBaseProperty_1 = require("./AbstractBaseProperty");
|
|
6
|
-
const isStrProperty = (property) => !Array.isArray(property) && property.type === 'StrProperty';
|
|
4
|
+
const isStrProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'StrProperty';
|
|
7
5
|
exports.isStrProperty = isStrProperty;
|
|
8
6
|
var StrProperty;
|
|
9
7
|
(function (StrProperty) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
type: 'StrProperty',
|
|
16
|
-
value,
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
StrProperty.ReadValue = (reader) => {
|
|
8
|
+
function Parse(reader, currentProperty) {
|
|
9
|
+
currentProperty.value = ReadValue(reader);
|
|
10
|
+
}
|
|
11
|
+
StrProperty.Parse = Parse;
|
|
12
|
+
function ReadValue(reader) {
|
|
20
13
|
return reader.readString();
|
|
21
|
-
}
|
|
22
|
-
StrProperty.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
29
|
-
StrProperty.SerializeValue = (writer, value) => {
|
|
14
|
+
}
|
|
15
|
+
StrProperty.ReadValue = ReadValue;
|
|
16
|
+
function Serialize(writer, property) {
|
|
17
|
+
SerializeValue(writer, property.value);
|
|
18
|
+
}
|
|
19
|
+
StrProperty.Serialize = Serialize;
|
|
20
|
+
function SerializeValue(writer, value) {
|
|
30
21
|
writer.writeString(value);
|
|
31
|
-
}
|
|
22
|
+
}
|
|
23
|
+
StrProperty.SerializeValue = SerializeValue;
|
|
32
24
|
})(StrProperty || (exports.StrProperty = StrProperty = {}));
|
|
33
25
|
//# sourceMappingURL=StrProperty.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StrProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/StrProperty.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"StrProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/StrProperty.ts"],"names":[],"mappings":";;;AAKO,MAAM,aAAa,GAAG,CAAC,QAAa,EAA2B,EAAE,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,EAAE,IAAI,KAAK,aAAa,CAAC;AAA9J,QAAA,aAAa,iBAAiJ;AAQ3K,IAAiB,WAAW,CAiB3B;AAjBD,WAAiB,WAAW;IAExB,SAAgB,KAAK,CAAC,MAAqB,EAAE,eAA4B;QACrE,eAAe,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;IAFe,iBAAK,QAEpB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC;IAFe,qBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAqB;QAClE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,qBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAFe,0BAAc,iBAE7B,CAAA;AACL,CAAC,EAjBgB,WAAW,2BAAX,WAAW,QAiB3B","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 isStrProperty = (property: any): property is StrProperty => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'StrProperty';\n\nexport type StrProperty = AbstractBaseProperty & {\n type: 'StrProperty';\n propertyTagType: { name: 'StrProperty', children: FPropertyTagNode[] };\n value: string;\n};\n\nexport namespace StrProperty {\n\n export function Parse(reader: ContextReader, currentProperty: StrProperty): void {\n currentProperty.value = ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): string {\n return reader.readString();\n }\n\n export function Serialize(writer: ContextWriter, property: StrProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: string): void {\n writer.writeString(value);\n }\n}\n"]}
|
|
@@ -1,17 +1,21 @@
|
|
|
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 isTextProperty: (property: any) => property is TextProperty;
|
|
5
6
|
export type TextProperty = AbstractBaseProperty & {
|
|
6
7
|
type: 'TextProperty';
|
|
8
|
+
propertyTagType: {
|
|
9
|
+
name: 'TextProperty';
|
|
10
|
+
children: FPropertyTagNode[];
|
|
11
|
+
};
|
|
7
12
|
value: TextPropertyValue;
|
|
8
13
|
};
|
|
9
14
|
export declare namespace TextProperty {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const SerializeValue: (writer: ContextWriter, value: TextPropertyValue) => void;
|
|
15
|
+
function Parse(reader: ContextReader, property: TextProperty): void;
|
|
16
|
+
function ReadValue(reader: ContextReader): TextPropertyValue;
|
|
17
|
+
function Serialize(writer: ContextWriter, property: TextProperty): void;
|
|
18
|
+
function SerializeValue(writer: ContextWriter, value: TextPropertyValue): void;
|
|
15
19
|
}
|
|
16
20
|
export type TextPropertyValue = {
|
|
17
21
|
flags: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/TextProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,
|
|
1
|
+
{"version":3,"file":"TextProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/TextProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,cAAc,aAAc,GAAG,KAAG,QAAQ,IAAI,YAAkH,CAAC;AAE9K,MAAM,MAAM,YAAY,GAAG,oBAAoB,GAAG;IAC9C,IAAI,EAAE,cAAc,CAAC;IACrB,eAAe,EAAE;QAAE,IAAI,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IACxE,KAAK,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF,yBAAiB,YAAY,CAAC;IAE1B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,CAEzE;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,iBAAiB,CA6DlE;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,CAE7E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAwDpF;CACJ;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IAGpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,SAAS,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,iBAAiB,CAAC;KAAE,EAAE,CAAC;IAGrF,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACvC,CAAC"}
|
|
@@ -1,35 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TextProperty = exports.isTextProperty = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const isTextProperty = (property) => !Array.isArray(property) && property.type === 'TextProperty';
|
|
4
|
+
const ETextHistoryType_1 = require("../../../../unreal-engine/ETextHistoryType");
|
|
5
|
+
const isTextProperty = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'TextProperty';
|
|
7
6
|
exports.isTextProperty = isTextProperty;
|
|
8
7
|
var TextProperty;
|
|
9
8
|
(function (TextProperty) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
type: 'TextProperty',
|
|
16
|
-
value,
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
TextProperty.ReadValue = (reader) => {
|
|
9
|
+
function Parse(reader, property) {
|
|
10
|
+
property.value = TextProperty.ReadValue(reader);
|
|
11
|
+
}
|
|
12
|
+
TextProperty.Parse = Parse;
|
|
13
|
+
function ReadValue(reader) {
|
|
20
14
|
const prop = {
|
|
21
|
-
flags: reader.
|
|
22
|
-
historyType: reader.
|
|
15
|
+
flags: reader.readUint32(),
|
|
16
|
+
historyType: reader.readInt8()
|
|
23
17
|
};
|
|
24
18
|
switch (prop.historyType) {
|
|
25
|
-
case
|
|
19
|
+
case ETextHistoryType_1.ETextHistoryType.Base:
|
|
26
20
|
prop.namespace = reader.readString();
|
|
27
21
|
prop.key = reader.readString();
|
|
28
22
|
prop.value = reader.readString();
|
|
29
23
|
break;
|
|
30
|
-
case
|
|
31
|
-
case
|
|
32
|
-
prop.sourceFmt =
|
|
24
|
+
case ETextHistoryType_1.ETextHistoryType.NamedFormat:
|
|
25
|
+
case ETextHistoryType_1.ETextHistoryType.ArgumentFormat:
|
|
26
|
+
prop.sourceFmt = ReadValue(reader);
|
|
33
27
|
const argumentsCount = reader.readInt32();
|
|
34
28
|
prop.arguments = [];
|
|
35
29
|
for (let i = 0; i < argumentsCount; i++) {
|
|
@@ -38,7 +32,7 @@ var TextProperty;
|
|
|
38
32
|
currentArgumentsData.valueType = reader.readByte();
|
|
39
33
|
switch (currentArgumentsData.valueType) {
|
|
40
34
|
case 4:
|
|
41
|
-
currentArgumentsData.argumentValue =
|
|
35
|
+
currentArgumentsData.argumentValue = ReadValue(reader);
|
|
42
36
|
break;
|
|
43
37
|
default:
|
|
44
38
|
throw new Error('Unimplemented FormatArgumentType `' + currentArgumentsData.valueType);
|
|
@@ -46,15 +40,15 @@ var TextProperty;
|
|
|
46
40
|
prop.arguments.push(currentArgumentsData);
|
|
47
41
|
}
|
|
48
42
|
break;
|
|
49
|
-
case
|
|
50
|
-
prop.sourceText =
|
|
43
|
+
case ETextHistoryType_1.ETextHistoryType.Transform:
|
|
44
|
+
prop.sourceText = ReadValue(reader);
|
|
51
45
|
prop.transformType = reader.readByte();
|
|
52
46
|
break;
|
|
53
|
-
case
|
|
47
|
+
case ETextHistoryType_1.ETextHistoryType.StringTableEntry:
|
|
54
48
|
prop.tableId = reader.readString();
|
|
55
49
|
prop.textKey = reader.readString();
|
|
56
50
|
break;
|
|
57
|
-
case
|
|
51
|
+
case ETextHistoryType_1.ETextHistoryType.None:
|
|
58
52
|
prop.hasCultureInvariantString = reader.readInt32() === 1;
|
|
59
53
|
if (prop.hasCultureInvariantString) {
|
|
60
54
|
prop.value = reader.readString();
|
|
@@ -64,26 +58,24 @@ var TextProperty;
|
|
|
64
58
|
throw new Error('Unimplemented TextProperty historyType ' + prop.historyType);
|
|
65
59
|
}
|
|
66
60
|
return prop;
|
|
67
|
-
}
|
|
68
|
-
TextProperty.
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
writer.writeInt32(value.flags);
|
|
77
|
-
writer.writeByte(value.historyType);
|
|
61
|
+
}
|
|
62
|
+
TextProperty.ReadValue = ReadValue;
|
|
63
|
+
function Serialize(writer, property) {
|
|
64
|
+
SerializeValue(writer, property.value);
|
|
65
|
+
}
|
|
66
|
+
TextProperty.Serialize = Serialize;
|
|
67
|
+
function SerializeValue(writer, value) {
|
|
68
|
+
writer.writeUint32(value.flags);
|
|
69
|
+
writer.writeInt8(value.historyType);
|
|
78
70
|
switch (value.historyType) {
|
|
79
|
-
case
|
|
71
|
+
case ETextHistoryType_1.ETextHistoryType.Base:
|
|
80
72
|
writer.writeString(value.namespace);
|
|
81
73
|
writer.writeString(value.key);
|
|
82
74
|
writer.writeString(value.value);
|
|
83
75
|
break;
|
|
84
|
-
case
|
|
85
|
-
case
|
|
86
|
-
|
|
76
|
+
case ETextHistoryType_1.ETextHistoryType.NamedFormat:
|
|
77
|
+
case ETextHistoryType_1.ETextHistoryType.ArgumentFormat:
|
|
78
|
+
SerializeValue(writer, value.sourceFmt);
|
|
87
79
|
writer.writeInt32(value.arguments.length);
|
|
88
80
|
for (const arg of value.arguments) {
|
|
89
81
|
let currentArgumentsData = {};
|
|
@@ -91,22 +83,22 @@ var TextProperty;
|
|
|
91
83
|
writer.writeByte(arg.valueType);
|
|
92
84
|
switch (arg.valueType) {
|
|
93
85
|
case 4:
|
|
94
|
-
|
|
86
|
+
SerializeValue(writer, arg.argumentValue);
|
|
95
87
|
break;
|
|
96
88
|
default:
|
|
97
89
|
throw new Error('Unimplemented FormatArgumentType `' + currentArgumentsData.valueType);
|
|
98
90
|
}
|
|
99
91
|
}
|
|
100
92
|
break;
|
|
101
|
-
case
|
|
102
|
-
|
|
93
|
+
case ETextHistoryType_1.ETextHistoryType.Transform:
|
|
94
|
+
SerializeValue(writer, value.sourceText);
|
|
103
95
|
writer.writeByte(value.transformType);
|
|
104
96
|
break;
|
|
105
|
-
case
|
|
97
|
+
case ETextHistoryType_1.ETextHistoryType.StringTableEntry:
|
|
106
98
|
writer.writeString(value.tableId);
|
|
107
99
|
writer.writeString(value.textKey);
|
|
108
100
|
break;
|
|
109
|
-
case
|
|
101
|
+
case ETextHistoryType_1.ETextHistoryType.None:
|
|
110
102
|
writer.writeInt32(value.hasCultureInvariantString ? 1 : 0);
|
|
111
103
|
if (value.hasCultureInvariantString) {
|
|
112
104
|
writer.writeString(value.value);
|
|
@@ -115,6 +107,7 @@ var TextProperty;
|
|
|
115
107
|
default:
|
|
116
108
|
throw new Error('Unimplemented historyType `' + value.historyType);
|
|
117
109
|
}
|
|
118
|
-
}
|
|
110
|
+
}
|
|
111
|
+
TextProperty.SerializeValue = SerializeValue;
|
|
119
112
|
})(TextProperty || (exports.TextProperty = TextProperty = {}));
|
|
120
113
|
//# sourceMappingURL=TextProperty.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/TextProperty.ts"],"names":[],"mappings":"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","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { GUIDInfo } from '../../structs/GUIDInfo';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isTextProperty = (property: any): property is TextProperty => !Array.isArray(property) && property.type === 'TextProperty';\n\nexport type TextProperty = AbstractBaseProperty & {\n type: 'TextProperty';\n value: TextPropertyValue;\n};\n\nexport namespace TextProperty {\n\n export const Parse = (reader: ContextReader, ueType: string, index: number = 0): TextProperty => {\n const guidInfo = GUIDInfo.read(reader);\n const value = TextProperty.ReadValue(reader);\n\n return {\n ...AbstractBaseProperty.Create({ index, ueType, guidInfo, type: '' }),\n type: 'TextProperty',\n value,\n } satisfies TextProperty;\n }\n\n export const ReadValue = (reader: ContextReader): TextPropertyValue => {\n const prop: TextPropertyValue = {\n flags: reader.readInt32(),\n historyType: reader.readByte()\n };\n\n switch (prop.historyType) {\n // HISTORYTYPE_BASE\n case 0:\n prop.namespace = reader.readString();\n prop.key = reader.readString();\n prop.value = reader.readString();\n break;\n // HISTORYTYPE_NAMEDFORMAT\n case 1:\n // HISTORYTYPE_ARGUMENTFORMAT\n case 3:\n prop.sourceFmt = ReadValue(reader);\n\n const argumentsCount = reader.readInt32();\n prop.arguments = [];\n\n for (let i = 0; i < argumentsCount; i++) {\n let currentArgumentsData: any = {};\n currentArgumentsData.name = reader.readString();\n currentArgumentsData.valueType = reader.readByte();\n\n switch (currentArgumentsData.valueType) {\n case 4:\n currentArgumentsData.argumentValue = ReadValue(reader);\n break;\n default:\n\n throw new Error('Unimplemented FormatArgumentType `' + currentArgumentsData.valueType);\n }\n\n prop.arguments.push(currentArgumentsData);\n }\n break;\n // see https://github.com/EpicGames/UnrealEngine/blob/4.25/Engine/Source/Runtime/Core/Private/Internationalization/TextHistory.cpp#L2268\n // HISTORYTYPE_TRANSFORM\n case 10:\n prop.sourceText = ReadValue(reader);\n prop.transformType = reader.readByte();\n break;\n // HISTORYTYPE_STRING_TABLE_ENTRY\n case 11:\n prop.tableId = reader.readString();\n prop.textKey = reader.readString();\n break;\n // HISTORYTYPE_NONE\n case 255:\n // See: https://github.com/EpicGames/UnrealEngine/blob/4.25/Engine/Source/Runtime/Core/Private/Internationalization/Text.cpp#L894\n\n prop.hasCultureInvariantString = reader.readInt32() === 1;\n\n if (prop.hasCultureInvariantString) {\n prop.value = reader.readString();\n }\n break;\n\n default:\n throw new Error('Unimplemented TextProperty historyType ' + prop.historyType);\n }\n\n return prop;\n }\n\n export const CalcOverhead = (property: TextProperty): number => {\n return 1;\n }\n\n export const Serialize = (writer: ContextWriter, property: TextProperty): void => {\n GUIDInfo.write(writer, property.guidInfo);\n SerializeValue(writer, property.value);\n }\n\n export const SerializeValue = (writer: ContextWriter, value: TextPropertyValue): void => {\n writer.writeInt32(value.flags);\n writer.writeByte(value.historyType);\n\n\n switch (value.historyType) {\n // HISTORYTYPE_BASE\n case 0:\n writer.writeString(value.namespace!);\n writer.writeString(value.key!);\n writer.writeString(value.value!);\n break;\n // HISTORYTYPE_NAMEDFORMAT\n case 1:\n // HISTORYTYPE_ARGUMENTFORMAT\n case 3:\n SerializeValue(writer, value.sourceFmt!);\n\n writer.writeInt32(value.arguments!.length);\n\n for (const arg of value.arguments!) {\n let currentArgumentsData: any = {};\n writer.writeString(arg.name);\n writer.writeByte(arg.valueType);\n\n switch (arg.valueType) {\n case 4:\n SerializeValue(writer, arg.argumentValue!);\n break;\n default:\n\n throw new Error('Unimplemented FormatArgumentType `' + currentArgumentsData.valueType);\n }\n }\n break;\n // see https://github.com/EpicGames/UnrealEngine/blob/4.25/Engine/Source/Runtime/Core/Private/Internationalization/TextHistory.cpp#L2268\n // HISTORYTYPE_TRANSFORM\n case 10:\n SerializeValue(writer, value.sourceText!);\n writer.writeByte(value.transformType!);\n break;\n // HISTORYTYPE_STRING_TABLE_ENTRY\n case 11:\n writer.writeString(value.tableId!);\n writer.writeString(value.textKey!);\n break;\n // HISTORYTYPE_NONE\n case 255:\n // See: https://github.com/EpicGames/UnrealEngine/blob/4.25/Engine/Source/Runtime/Core/Private/Internationalization/Text.cpp#L894\n\n writer.writeInt32(value.hasCultureInvariantString ? 1 : 0);\n\n if (value.hasCultureInvariantString) {\n writer.writeString(value.value!);\n }\n break;\n default:\n throw new Error('Unimplemented historyType `' + value.historyType);\n }\n }\n}\n\nexport type TextPropertyValue = {\n flags: number;\n historyType: number;\n\n // flag 0\n namespace?: string;\n key?: string;\n value?: string;\n\n // flag 1 + 3\n sourceFmt?: TextPropertyValue;\n arguments?: { name: string; valueType: number; argumentValue: TextPropertyValue; }[];\n\n // flag 10\n sourceText?: TextPropertyValue;\n transformType?: number;\n\n // flag 11\n tableId?: string;\n textKey?: string;\n\n // flag 255, reusing value\n hasCultureInvariantString?: boolean;\n};\n\n"]}
|
|
1
|
+
{"version":3,"file":"TextProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/TextProperty.ts"],"names":[],"mappings":"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","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { ETextHistoryType } from '../../../../unreal-engine/ETextHistoryType';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\nexport const isTextProperty = (property: any): property is TextProperty => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'TextProperty';\n\nexport type TextProperty = AbstractBaseProperty & {\n type: 'TextProperty';\n propertyTagType: { name: 'TextProperty', children: FPropertyTagNode[] };\n value: TextPropertyValue;\n};\n\nexport namespace TextProperty {\n\n export function Parse(reader: ContextReader, property: TextProperty): void {\n property.value = TextProperty.ReadValue(reader);\n }\n\n export function ReadValue(reader: ContextReader): TextPropertyValue {\n const prop: TextPropertyValue = {\n flags: reader.readUint32(),\n historyType: reader.readInt8()\n };\n\n switch (prop.historyType) {\n case ETextHistoryType.Base:\n prop.namespace = reader.readString();\n prop.key = reader.readString();\n prop.value = reader.readString();\n break;\n\n case ETextHistoryType.NamedFormat:\n case ETextHistoryType.ArgumentFormat:\n prop.sourceFmt = ReadValue(reader);\n\n const argumentsCount = reader.readInt32();\n prop.arguments = [];\n\n for (let i = 0; i < argumentsCount; i++) {\n let currentArgumentsData: any = {};\n currentArgumentsData.name = reader.readString();\n currentArgumentsData.valueType = reader.readByte();\n\n switch (currentArgumentsData.valueType) {\n case 4:\n currentArgumentsData.argumentValue = ReadValue(reader);\n break;\n default:\n\n throw new Error('Unimplemented FormatArgumentType `' + currentArgumentsData.valueType);\n }\n\n prop.arguments.push(currentArgumentsData);\n }\n break;\n // see https://github.com/EpicGames/UnrealEngine/blob/4.25/Engine/Source/Runtime/Core/Private/Internationalization/TextHistory.cpp#L2268\n case ETextHistoryType.Transform:\n prop.sourceText = ReadValue(reader);\n prop.transformType = reader.readByte();\n break;\n case ETextHistoryType.StringTableEntry:\n prop.tableId = reader.readString();\n prop.textKey = reader.readString();\n break;\n case ETextHistoryType.None:\n // See: https://github.com/EpicGames/UnrealEngine/blob/4.25/Engine/Source/Runtime/Core/Private/Internationalization/Text.cpp#L894\n\n prop.hasCultureInvariantString = reader.readInt32() === 1;\n\n if (prop.hasCultureInvariantString) {\n prop.value = reader.readString();\n }\n break;\n\n default:\n throw new Error('Unimplemented TextProperty historyType ' + prop.historyType);\n }\n\n return prop;\n }\n\n export function Serialize(writer: ContextWriter, property: TextProperty): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: TextPropertyValue): void {\n writer.writeUint32(value.flags);\n writer.writeInt8(value.historyType);\n\n\n switch (value.historyType) {\n case ETextHistoryType.Base:\n writer.writeString(value.namespace!);\n writer.writeString(value.key!);\n writer.writeString(value.value!);\n break;\n\n case ETextHistoryType.NamedFormat:\n case ETextHistoryType.ArgumentFormat:\n SerializeValue(writer, value.sourceFmt!);\n\n writer.writeInt32(value.arguments!.length);\n\n for (const arg of value.arguments!) {\n let currentArgumentsData: any = {};\n writer.writeString(arg.name);\n writer.writeByte(arg.valueType);\n\n switch (arg.valueType) {\n case 4:\n SerializeValue(writer, arg.argumentValue!);\n break;\n default:\n\n throw new Error('Unimplemented FormatArgumentType `' + currentArgumentsData.valueType);\n }\n }\n break;\n // see https://github.com/EpicGames/UnrealEngine/blob/4.25/Engine/Source/Runtime/Core/Private/Internationalization/TextHistory.cpp#L2268\n case ETextHistoryType.Transform:\n SerializeValue(writer, value.sourceText!);\n writer.writeByte(value.transformType!);\n break;\n\n case ETextHistoryType.StringTableEntry:\n writer.writeString(value.tableId!);\n writer.writeString(value.textKey!);\n break;\n\n case ETextHistoryType.None:\n // See: https://github.com/EpicGames/UnrealEngine/blob/4.25/Engine/Source/Runtime/Core/Private/Internationalization/Text.cpp#L894\n\n writer.writeInt32(value.hasCultureInvariantString ? 1 : 0);\n\n if (value.hasCultureInvariantString) {\n writer.writeString(value.value!);\n }\n break;\n default:\n throw new Error('Unimplemented historyType `' + value.historyType);\n }\n }\n}\n\nexport type TextPropertyValue = {\n flags: number;\n historyType: number;\n\n // flag 0\n namespace?: string;\n key?: string;\n value?: string;\n\n // flag 1 + 3\n sourceFmt?: TextPropertyValue;\n arguments?: { name: string; valueType: number; argumentValue: TextPropertyValue; }[];\n\n // flag 10\n sourceText?: TextPropertyValue;\n transformType?: number;\n\n // flag 11\n tableId?: string;\n textKey?: string;\n\n // flag 255, reusing value\n hasCultureInvariantString?: boolean;\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 isUint32Property: (property: any) => property is Uint32Property;
|
|
5
6
|
export type Uint32Property = AbstractBaseProperty & {
|
|
6
7
|
type: 'Uint32Property';
|
|
8
|
+
propertyTagType: {
|
|
9
|
+
name: 'Uint32Property';
|
|
10
|
+
children: FPropertyTagNode[];
|
|
11
|
+
};
|
|
7
12
|
value: number;
|
|
8
13
|
};
|
|
9
14
|
export declare namespace Uint32Property {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const SerializeValue: (writer: ContextWriter, value: number) => void;
|
|
15
|
+
function Parse(reader: ContextReader, property: Uint32Property): void;
|
|
16
|
+
function ReadValue(reader: ContextReader): number;
|
|
17
|
+
function Serialize(writer: ContextWriter, property: Uint32Property): void;
|
|
18
|
+
function SerializeValue(writer: ContextWriter, value: number): void;
|
|
15
19
|
}
|
|
16
20
|
//# sourceMappingURL=Uint32Property.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Uint32Property.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Uint32Property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"Uint32Property.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Uint32Property.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;AAG9D,eAAO,MAAM,gBAAgB,aAAc,GAAG,KAAG,QAAQ,IAAI,cAAsH,CAAC;AAEpL,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG;IAChD,IAAI,EAAE,gBAAgB,CAAC;IACvB,eAAe,EAAE;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IAC1E,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,cAAc,CAAC;IAE5B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE3E;IAGD,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE/E;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.Uint32Property = exports.isUint32Property = void 0;
|
|
4
|
-
const
|
|
5
|
-
const AbstractBaseProperty_1 = require("./AbstractBaseProperty");
|
|
6
|
-
const isUint32Property = (property) => !Array.isArray(property) && property.type === 'UInt32Property';
|
|
4
|
+
const isUint32Property = (property) => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'UInt32Property';
|
|
7
5
|
exports.isUint32Property = isUint32Property;
|
|
8
6
|
var Uint32Property;
|
|
9
7
|
(function (Uint32Property) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
type: 'Uint32Property',
|
|
16
|
-
value,
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
Uint32Property.ReadValue = (reader) => {
|
|
8
|
+
function Parse(reader, property) {
|
|
9
|
+
property.value = ReadValue(reader);
|
|
10
|
+
}
|
|
11
|
+
Uint32Property.Parse = Parse;
|
|
12
|
+
function ReadValue(reader) {
|
|
20
13
|
return reader.readUint32();
|
|
21
|
-
}
|
|
22
|
-
Uint32Property.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
29
|
-
Uint32Property.SerializeValue = (writer, value) => {
|
|
14
|
+
}
|
|
15
|
+
Uint32Property.ReadValue = ReadValue;
|
|
16
|
+
function Serialize(writer, property) {
|
|
17
|
+
SerializeValue(writer, property.value);
|
|
18
|
+
}
|
|
19
|
+
Uint32Property.Serialize = Serialize;
|
|
20
|
+
function SerializeValue(writer, value) {
|
|
30
21
|
writer.writeUint32(value);
|
|
31
|
-
}
|
|
22
|
+
}
|
|
23
|
+
Uint32Property.SerializeValue = SerializeValue;
|
|
32
24
|
})(Uint32Property || (exports.Uint32Property = Uint32Property = {}));
|
|
33
25
|
//# sourceMappingURL=Uint32Property.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Uint32Property.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Uint32Property.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Uint32Property.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Uint32Property.ts"],"names":[],"mappings":";;;AAMO,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,CAkB9B;AAlBD,WAAiB,cAAc;IAE3B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAwB;QACjE,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAFe,oBAAK,QAEpB,CAAA;IAGD,SAAgB,SAAS,CAAC,MAAqB;QAC3C,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAwB;QACrE,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAFe,wBAAS,YAExB,CAAA;IAED,SAAgB,cAAc,CAAC,MAAqB,EAAE,KAAa;QAC/D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAFe,6BAAc,iBAE7B,CAAA;AACL,CAAC,EAlBgB,cAAc,8BAAd,cAAc,QAkB9B","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FPropertyTagNode } from '../../structs/binary/FPropertyTagNode';\nimport { AbstractBaseProperty } from './AbstractBaseProperty';\n\n\nexport const isUint32Property = (property: any): property is Uint32Property => property !== null && !Array.isArray(property) && property.propertyTagType?.name === 'UInt32Property';\n\nexport type Uint32Property = AbstractBaseProperty & {\n type: 'Uint32Property';\n propertyTagType: { name: 'Uint32Property', children: FPropertyTagNode[] };\n value: number;\n};\n\nexport namespace Uint32Property {\n\n export function Parse(reader: ContextReader, property: Uint32Property): void {\n property.value = ReadValue(reader);\n }\n\n\n export function ReadValue(reader: ContextReader): number {\n return reader.readUint32();\n }\n\n export function Serialize(writer: ContextWriter, property: Uint32Property): void {\n SerializeValue(writer, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, value: number): void {\n writer.writeUint32(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 isUInt64Property: (property: any) => property is Uint64Property;
|
|
5
6
|
export type Uint64Property = AbstractBaseProperty & {
|
|
6
7
|
type: 'Uint64Property';
|
|
8
|
+
propertyTagType: {
|
|
9
|
+
name: 'Uint64Property';
|
|
10
|
+
children: FPropertyTagNode[];
|
|
11
|
+
};
|
|
7
12
|
value: string;
|
|
8
13
|
};
|
|
9
14
|
export declare namespace Uint64Property {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const SerializeValue: (writer: ContextWriter, value: string) => void;
|
|
15
|
+
function Parse(reader: ContextReader, property: Uint64Property): void;
|
|
16
|
+
function ReadValue(reader: ContextReader): string;
|
|
17
|
+
function Serialize(writer: ContextWriter, property: Uint64Property): void;
|
|
18
|
+
function SerializeValue(writer: ContextWriter, value: string): void;
|
|
15
19
|
}
|
|
16
20
|
//# sourceMappingURL=Uint64Property.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Uint64Property.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Uint64Property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"Uint64Property.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/Uint64Property.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,gBAAgB,aAAc,GAAG,KAAG,QAAQ,IAAI,cAAsH,CAAC;AAEpL,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG;IAChD,IAAI,EAAE,gBAAgB,CAAC;IACvB,eAAe,EAAE;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;KAAE,CAAC;IAC1E,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,yBAAiB,cAAc,CAAC;IAE5B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE3E;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAEvD;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE/E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEzE;CACJ"}
|