@etothepii/satisfactory-file-parser 4.0.1 → 4.1.0
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 +9 -0
- package/build/index.d.ts +29 -25
- package/build/index.d.ts.map +1 -1
- package/build/index.js +29 -25
- package/build/index.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/containers/StructProperty.d.ts +2 -9
- package/build/parser/satisfactory/types/property/generic/containers/StructProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/containers/StructProperty.js +3 -20
- package/build/parser/satisfactory/types/property/generic/containers/StructProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.d.ts +4 -22
- package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.js +6 -50
- package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/structs/FGDynamicStruct.js +2 -2
- package/build/parser/satisfactory/types/structs/FGDynamicStruct.js.map +1 -1
- package/build/parser/satisfactory/types/structs/binary/FConveyorBeltItem.d.ts +12 -0
- package/build/parser/satisfactory/types/structs/binary/FConveyorBeltItem.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FConveyorBeltItem.js +21 -0
- package/build/parser/satisfactory/types/structs/binary/FConveyorBeltItem.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FConveyorChainSplineSegment.d.ts +38 -0
- package/build/parser/satisfactory/types/structs/binary/FConveyorChainSplineSegment.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FConveyorChainSplineSegment.js +57 -0
- package/build/parser/satisfactory/types/structs/binary/FConveyorChainSplineSegment.js.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FInventoryItem.d.ts +14 -0
- package/build/parser/satisfactory/types/structs/binary/FInventoryItem.d.ts.map +1 -0
- package/build/parser/satisfactory/types/structs/binary/FInventoryItem.js +34 -0
- package/build/parser/satisfactory/types/structs/binary/FInventoryItem.js.map +1 -0
- package/build/parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem.d.ts +1 -1
- package/build/parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem.js +1 -2
- package/build/parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem.js.map +1 -1
- package/build/test/parser.spec.d.ts +2 -0
- package/build/test/parser.spec.d.ts.map +1 -0
- package/build/test/parser.spec.js +299 -0
- package/build/test/parser.spec.js.map +1 -0
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/BlueprintConfigReader.html +4 -4
- package/docs/classes/BlueprintConfigWriter.html +4 -4
- package/docs/classes/BlueprintReader.html +4 -4
- package/docs/classes/BlueprintWriter.html +4 -4
- package/docs/classes/ByteReader.html +4 -4
- package/docs/classes/ByteWriter.html +4 -4
- package/docs/classes/CompressionLibraryError.html +2 -2
- package/docs/classes/ContextReader.html +4 -4
- package/docs/classes/ContextWriter.html +4 -4
- package/docs/classes/CorruptBlueprintError.html +2 -2
- package/docs/classes/CorruptSaveError.html +2 -2
- package/docs/classes/Parser.html +6 -6
- package/docs/classes/ParserError.html +2 -2
- package/docs/classes/ReadableStreamParser.html +2 -2
- package/docs/classes/SatisfactorySave.html +2 -2
- package/docs/classes/SaveComponent.html +2 -2
- package/docs/classes/SaveEntity.html +2 -2
- package/docs/classes/SaveObject.html +2 -2
- package/docs/classes/SaveReader.html +4 -4
- package/docs/classes/SaveWriter.html +4 -4
- package/docs/classes/TimeoutError.html +2 -2
- package/docs/classes/UnimplementedError.html +2 -2
- package/docs/classes/UnsupportedVersionError.html +2 -2
- package/docs/enums/Alignment.html +2 -2
- package/docs/enums/BlueprintConfigVersion.html +2 -2
- package/docs/enums/BlueprintHeaderVersion.html +2 -2
- package/docs/enums/CompressionAlgorithmCode.html +2 -2
- package/docs/enums/ETextHistoryType.html +2 -2
- package/docs/enums/EUnrealEngineObjectUE5Version.html +2 -2
- package/docs/enums/FactoryGameCustomVersion.html +2 -2
- package/docs/enums/RuntimeBuildableInstanceDataVersion.html +2 -2
- package/docs/enums/SaveCustomVersion.html +10 -10
- package/docs/enums/SaveHeaderType.html +2 -2
- package/docs/functions/AbstractBaseProperty.CreateFromTag.html +1 -1
- package/docs/functions/ArrayProperty.Parse.html +1 -1
- package/docs/functions/ArrayProperty.Serialize.html +1 -1
- package/docs/functions/BlueprintConfig.Parse.html +1 -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 -1
- package/docs/functions/DataBlob.ReadNObjectContents.html +1 -1
- package/docs/functions/DataBlob.SkipOver.html +1 -1
- package/docs/functions/DataBlob.Write.html +1 -1
- package/docs/functions/DoubleProperty.Parse.html +1 -1
- package/docs/functions/DoubleProperty.ReadValue.html +1 -1
- package/docs/functions/DoubleProperty.Serialize.html +1 -1
- package/docs/functions/DoubleProperty.SerializeValue.html +1 -1
- package/docs/functions/DynamicStructPropertyValue.read.html +1 -1
- package/docs/functions/DynamicStructPropertyValue.write.html +1 -1
- package/docs/functions/EmptySpecialProperties.Parse.html +1 -1
- package/docs/functions/EmptySpecialProperties.Serialize.html +1 -1
- package/docs/functions/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/FConveyorBeltItem.read.html +1 -0
- package/docs/functions/FConveyorBeltItem.write.html +1 -0
- package/docs/functions/FConveyorChainSplineSegment.read.html +1 -0
- package/docs/functions/FConveyorChainSplineSegment.write.html +1 -0
- package/docs/functions/FCustomVersion.read.html +1 -1
- package/docs/functions/FCustomVersion.write.html +1 -1
- package/docs/functions/FCustomVersionContainer.read.html +1 -1
- package/docs/functions/FCustomVersionContainer.write.html +1 -1
- package/docs/functions/FEngineVersion.read.html +1 -1
- package/docs/functions/FEngineVersion.write.html +1 -1
- 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 -1
- package/docs/functions/FINLuaRuntimePersistenceState.write.html +1 -1
- package/docs/functions/FINNetworkTrace.read.html +1 -1
- package/docs/functions/FINNetworkTrace.write.html +1 -1
- package/docs/functions/FInventoryItem.read.html +1 -0
- package/docs/functions/FInventoryItem.write.html +1 -0
- 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 -1
- package/docs/functions/FLocalUserNetIdBundle.write.html +1 -1
- package/docs/functions/FPackageFileVersion.read.html +1 -1
- package/docs/functions/FPackageFileVersion.write.html +1 -1
- package/docs/functions/FPlayerInfoHandle.read.html +1 -1
- package/docs/functions/FPlayerInfoHandle.write.html +1 -1
- package/docs/functions/FPropertyTag.IsCompletePropertyTagType.html +1 -1
- package/docs/functions/FPropertyTag.read.html +1 -1
- package/docs/functions/FPropertyTag.write.html +1 -1
- package/docs/functions/FPropertyTag.writeFromProperty.html +1 -1
- package/docs/functions/FPropertyTagNode.read.html +1 -1
- package/docs/functions/FPropertyTagNode.write.html +1 -1
- package/docs/functions/FSaveObjectVersionData.read.html +1 -1
- package/docs/functions/FSaveObjectVersionData.write.html +1 -1
- package/docs/functions/FUniqueNetIdRepl.read.html +1 -1
- package/docs/functions/FUniqueNetIdRepl.write.html +1 -1
- package/docs/functions/FloatProperty.Parse.html +1 -1
- package/docs/functions/FloatProperty.ReadValue.html +1 -1
- package/docs/functions/FloatProperty.Serialize.html +1 -1
- package/docs/functions/FloatProperty.SerializeValue.html +1 -1
- package/docs/functions/GUID.read.html +1 -1
- package/docs/functions/GUID.write.html +1 -1
- package/docs/functions/HierarchyVersion.CreateOnHeader.html +1 -1
- package/docs/functions/HierarchyVersion.SetOnLevel.html +1 -1
- package/docs/functions/HierarchyVersion.SetOnObject.html +1 -1
- package/docs/functions/Int64Property.Parse.html +1 -1
- package/docs/functions/Int64Property.ReadValue.html +1 -1
- package/docs/functions/Int64Property.Serialize.html +1 -1
- package/docs/functions/Int64Property.SerializeValue.html +1 -1
- package/docs/functions/Int8Property.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 -1
- package/docs/functions/IntProperty.ReadValue.html +1 -1
- package/docs/functions/IntProperty.Serialize.html +1 -1
- package/docs/functions/IntProperty.SerializeValue.html +1 -1
- package/docs/functions/InterfaceProperty.Parse.html +1 -1
- package/docs/functions/InterfaceProperty.ReadValue.html +1 -1
- package/docs/functions/InterfaceProperty.Serialize.html +1 -1
- package/docs/functions/InterfaceProperty.SerializeValue.html +1 -1
- package/docs/functions/LBBalancerIndexing.read.html +1 -1
- package/docs/functions/LBBalancerIndexing.write.html +1 -1
- package/docs/functions/Level.Read.html +1 -1
- package/docs/functions/Level.Serialize.html +1 -1
- 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 -1
- package/docs/functions/NameProperty.ReadValue.html +1 -1
- package/docs/functions/NameProperty.Serialize.html +1 -1
- package/docs/functions/NameProperty.SerializeValue.html +1 -1
- package/docs/functions/ObjectProperty.Parse.html +1 -1
- package/docs/functions/ObjectProperty.ReadValue.html +1 -1
- package/docs/functions/ObjectProperty.Serialize.html +1 -1
- package/docs/functions/ObjectProperty.SerializeValue.html +1 -1
- package/docs/functions/ObjectReference.IsEqual.html +1 -1
- package/docs/functions/ObjectReference.read.html +1 -1
- package/docs/functions/ObjectReference.write.html +1 -1
- package/docs/functions/ObjectReferencesList.ReadList.html +1 -1
- package/docs/functions/ObjectReferencesList.SerializeList.html +1 -1
- package/docs/functions/ObjectsListSpecialProperties.Parse.html +1 -1
- package/docs/functions/ObjectsListSpecialProperties.Serialize.html +1 -1
- package/docs/functions/OptionalGUID.read.html +1 -1
- package/docs/functions/OptionalGUID.write.html +1 -1
- package/docs/functions/PlayerSpecialProperties.Parse.html +1 -1
- package/docs/functions/PlayerSpecialProperties.Serialize.html +1 -1
- package/docs/functions/PowerLineSpecialProperties.Parse.html +1 -1
- package/docs/functions/PowerLineSpecialProperties.Serialize.html +1 -1
- package/docs/functions/PropertiesList.ParseList.html +1 -1
- package/docs/functions/PropertiesList.ParseSingleProperty.html +1 -1
- package/docs/functions/PropertiesList.SerializeList.html +1 -1
- package/docs/functions/PropertiesList.SerializeSingleProperty.html +1 -1
- package/docs/functions/SatisfactorySaveHeader.Parse.html +1 -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 -1
- package/docs/functions/SingleProperty.ReadValue.html +1 -1
- package/docs/functions/SingleProperty.Serialize.html +1 -1
- package/docs/functions/SingleProperty.SerializeValue.html +1 -1
- 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 -1
- package/docs/functions/TOCBlob.ReadNObjectHeaders.html +1 -1
- package/docs/functions/TOCBlob.SerializeAllObjectHeaders.html +1 -1
- package/docs/functions/TOCBlob.SkipOver.html +1 -1
- package/docs/functions/TOCBlob.Write.html +1 -1
- package/docs/functions/TextProperty.Parse.html +1 -1
- package/docs/functions/TextProperty.ReadValue.html +1 -1
- package/docs/functions/TextProperty.Serialize.html +1 -1
- package/docs/functions/TextProperty.SerializeValue.html +1 -1
- package/docs/functions/Transform.Parse.html +1 -1
- package/docs/functions/Transform.ParseF.html +1 -1
- package/docs/functions/Transform.Serialize.html +1 -1
- package/docs/functions/Transform.SerializeF.html +1 -1
- package/docs/functions/Uint32Property.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 -1
- package/docs/functions/isInterfaceProperty.html +1 -1
- package/docs/functions/isMapProperty.html +1 -1
- package/docs/functions/isNameProperty.html +1 -1
- 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 -1
- 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/interfaces/BinaryOperable.html +2 -2
- package/docs/interfaces/BinaryReadable.html +2 -2
- package/docs/interfaces/BinaryWritable.html +2 -2
- package/docs/interfaces/Blueprint.html +2 -2
- package/docs/interfaces/BlueprintConfig.html +4 -4
- package/docs/interfaces/SaveComponentHeader.html +2 -2
- package/docs/interfaces/SaveEntityHeader.html +2 -2
- package/docs/interfaces/SaveObjectHeader.html +2 -2
- package/docs/modules/FConveyorBeltItem.html +1 -0
- package/docs/modules/FConveyorChainSplineSegment.html +1 -0
- package/docs/modules/FInventoryItem.html +1 -0
- package/docs/modules.html +1 -1
- package/docs/types/AbstractBaseProperty.html +2 -2
- package/docs/types/ArrayProperty.html +1 -1
- package/docs/types/BasicMultipleStructPropertyValue.html +2 -2
- package/docs/types/BasicStructPropertyValue.html +2 -2
- package/docs/types/BlueprintHeader.html +2 -2
- package/docs/types/BlueprintReaderWriterContext.html +2 -2
- package/docs/types/BoolArrayProperty.html +1 -1
- package/docs/types/BoolProperty.html +1 -1
- package/docs/types/BoxStructPropertyValue.html +2 -2
- package/docs/types/BuildableSubsystemSpecialProperties.html +2 -2
- package/docs/types/BuildableTypeInstance.html +2 -2
- package/docs/types/ByteArrayProperty.html +1 -1
- package/docs/types/ByteProperty.html +1 -1
- package/docs/types/BytePropertyValue.html +2 -2
- package/docs/types/ChunkCompressionInfo.html +2 -2
- package/docs/types/ChunkSummary.html +2 -2
- package/docs/types/CircuitSpecialProperties.html +2 -2
- package/docs/types/ConveyorChainActorSpecialProperties.html +2 -2
- package/docs/types/ConveyorSpecialProperties.html +2 -2
- package/docs/types/DoubleArrayProperty.html +1 -1
- package/docs/types/DoubleProperty.html +1 -1
- package/docs/types/DynamicStructPropertyValue.html +2 -2
- package/docs/types/EmptySpecialProperties.html +2 -2
- package/docs/types/EnumArrayProperty.html +1 -1
- package/docs/types/EnumProperty.html +1 -1
- package/docs/types/FClientIdentityInfo.html +2 -2
- package/docs/types/FColor.html +1 -1
- package/docs/types/FConveyorBeltItem.html +3 -0
- package/docs/types/FConveyorChainSplineSegment.html +10 -0
- package/docs/types/FCustomVersion.html +2 -2
- package/docs/types/FCustomVersionContainer.html +2 -2
- package/docs/types/FEngineVersion.html +2 -2
- package/docs/types/FGDynamicStruct.html +2 -2
- package/docs/types/FICFrameRange.html +2 -2
- package/docs/types/FICFrameRangeStructPropertyValue.html +2 -2
- package/docs/types/FINGPUT1BufferPixel.html +2 -2
- package/docs/types/FINItemStateFileSystem.html +1 -1
- package/docs/types/FINLuaRuntimePersistenceState.html +2 -2
- package/docs/types/FINNetworkTrace.html +2 -2
- package/docs/types/FIRInstancedStruct.html +1 -1
- package/docs/types/FInventoryItem.html +4 -0
- package/docs/types/FLBBalancerIndexing.html +2 -2
- package/docs/types/FLinearColor.html +1 -1
- package/docs/types/FLocalUserNetIdBundle.html +2 -2
- package/docs/types/FPackageFileVersion.html +2 -2
- package/docs/types/FPlayerInfoHandle.html +2 -2
- package/docs/types/FPropertyTag.html +2 -2
- package/docs/types/FPropertyTagNode.html +2 -2
- package/docs/types/FSaveObjectVersionData.html +2 -2
- package/docs/types/FUniqueNetIdRepl.html +2 -2
- package/docs/types/FloatArrayProperty.html +1 -1
- package/docs/types/FloatProperty.html +1 -1
- package/docs/types/GENERIC_MAP_KEY_TYPE.html +1 -1
- package/docs/types/GENERIC_MAP_VALUE_TYPE.html +1 -1
- package/docs/types/GENERIC_STRUCT_PROPERTY_VALUE.html +1 -1
- package/docs/types/GUID.html +1 -1
- package/docs/types/Grids.html +1 -1
- package/docs/types/HierarchyVersion.html +2 -2
- package/docs/types/Int64ArrayProperty.html +1 -1
- package/docs/types/Int64Property.html +1 -1
- package/docs/types/Int8Property.html +1 -1
- package/docs/types/IntArrayProperty.html +1 -1
- package/docs/types/IntProperty.html +1 -1
- package/docs/types/IntSetProperty.html +1 -1
- package/docs/types/InterfaceArrayProperty.html +1 -1
- package/docs/types/InterfaceProperty.html +1 -1
- package/docs/types/LBBalancerIndexing.html +2 -2
- package/docs/types/Level.html +2 -2
- package/docs/types/LevelToDestroyedActorsMap.html +1 -1
- package/docs/types/Levels.html +1 -1
- package/docs/types/MD5Hash.html +2 -2
- package/docs/types/MapProperty.html +1 -1
- package/docs/types/ModData.html +2 -2
- package/docs/types/NameProperty.html +1 -1
- package/docs/types/NameSetProperty.html +1 -1
- package/docs/types/ObjectArrayProperty.html +1 -1
- package/docs/types/ObjectProperty.html +1 -1
- package/docs/types/ObjectReference.html +2 -2
- package/docs/types/ObjectSetProperty.html +1 -1
- package/docs/types/ObjectsListSpecialProperties.html +2 -2
- package/docs/types/OptionalGUID.html +1 -1
- package/docs/types/PlayerSpecialProperties.html +2 -2
- package/docs/types/PowerLineSpecialProperties.html +2 -2
- package/docs/types/PropertiesMap.html +1 -1
- package/docs/types/RailroadTrackPositionStructPropertyValue.html +2 -2
- package/docs/types/ReaderWriterContext.html +1 -1
- package/docs/types/RoughSaveVersion.html +1 -1
- package/docs/types/SatisfactoryModMetadata.html +2 -2
- package/docs/types/SatisfactorySaveHeader.html +2 -2
- package/docs/types/SaveBodyChunks.html +2 -2
- package/docs/types/SaveBodyValidation.html +2 -2
- package/docs/types/SaveReaderWriterContext.html +2 -2
- package/docs/types/SetProperty.html +1 -1
- package/docs/types/SingleProperty.html +1 -1
- package/docs/types/SoftObjectArrayProperty.html +1 -1
- package/docs/types/SoftObjectProperty.html +1 -1
- package/docs/types/SoftObjectReference.html +2 -2
- package/docs/types/SpecialDroneAction.html +2 -2
- package/docs/types/SpecialDroneActionProperties.html +2 -2
- package/docs/types/SpecialProperties.AvailableSpecialPropertiesTypes.html +1 -1
- package/docs/types/StrArrayProperty.html +1 -1
- package/docs/types/StrProperty.html +1 -1
- package/docs/types/StrSetProperty.html +1 -1
- package/docs/types/StructArrayProperty.html +1 -1
- package/docs/types/StructProperty.html +1 -1
- package/docs/types/StructSetProperty.html +1 -1
- package/docs/types/TextArrayProperty.html +1 -1
- package/docs/types/TextProperty.html +1 -1
- package/docs/types/TextPropertyValue.html +2 -2
- package/docs/types/Transform.html +2 -2
- package/docs/types/Uint32Property.html +1 -1
- package/docs/types/Uint32SetProperty.html +1 -1
- package/docs/types/Uint64Property.html +1 -1
- package/docs/types/Uint8Property.html +1 -1
- package/docs/types/VehiclePhysicsData.html +2 -2
- package/docs/types/VehicleSpecialProperties.html +2 -2
- package/docs/types/col4.html +2 -2
- package/docs/types/vec2.html +2 -2
- package/docs/types/vec3.html +1 -1
- package/docs/types/vec4.html +1 -1
- package/docs/variables/DEFAULT_SATISFACTORY_CHUNK_HEADER_SIZE.html +1 -1
- package/docs/variables/EDIT.html +1 -1
- 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 -1
- package/docs/variables/isByteArrayProperty.html +1 -1
- package/docs/variables/isDoubleArrayProperty.html +1 -1
- package/docs/variables/isEnumArrayProperty.html +1 -1
- package/docs/variables/isFloatArrayProperty.html +1 -1
- package/docs/variables/isInt64ArrayProperty.html +1 -1
- package/docs/variables/isIntArrayProperty.html +1 -1
- package/docs/variables/isIntSetProperty.html +1 -1
- package/docs/variables/isInterfaceArrayProperty.html +1 -1
- package/docs/variables/isNameSetProperty.html +1 -1
- package/docs/variables/isObjectArrayProperty.html +1 -1
- package/docs/variables/isObjectSetProperty.html +1 -1
- package/docs/variables/isSoftObjectArrayProperty.html +1 -1
- package/docs/variables/isStrArrayProperty.html +1 -1
- package/docs/variables/isStrSetProperty.html +1 -1
- package/docs/variables/isStructArrayPRoperty.html +1 -1
- package/docs/variables/isStructSetProperty.html +1 -1
- package/docs/variables/isTextArrayProperty.html +1 -1
- package/docs/variables/isUint32SetProperty.html +1 -1
- package/package.json +1 -1
- package/docs/types/ConveyorChainSegmentSpecialProperties.html +0 -10
- package/docs/types/ConveyorItemSpecialProperties.html +0 -3
- package/docs/types/InventoryItemStructPropertyValue.html +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
Make sure to use the same version for parsing and serializing saves, if possible.
|
|
3
3
|
|
|
4
|
+
### [4.1.0] (2026-04-25)
|
|
5
|
+
### Bugfix
|
|
6
|
+
* The state of inventory items and items on belts wasn't quite correct. Like the chainsaw stores energy value in its state.
|
|
7
|
+
* Items on belts referenced by `ConvyorChainActor`s had wrong positions/offsets. Because they were read as int32 instead of float32.
|
|
8
|
+
|
|
9
|
+
### [4.0.2] (2026-04-23)
|
|
10
|
+
### Bugfix
|
|
11
|
+
* StructProperty had `subtype` in typescript definition, even tho it is no longer filled.
|
|
12
|
+
|
|
4
13
|
### [4.0.1] (2026-04-18)
|
|
5
14
|
### Bugfix
|
|
6
15
|
* ByteProperty wasnt read correctly, when node purities were overwritten from 1.2 game mode.
|
package/build/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./parser/parser";
|
|
1
2
|
export * from "./parser/byte/alignment.enum";
|
|
2
3
|
export * from "./parser/byte/binary-operable.interface";
|
|
3
4
|
export * from "./parser/byte/binary-readable.interface";
|
|
@@ -9,22 +10,21 @@ export * from "./parser/context/context-writer";
|
|
|
9
10
|
export * from "./parser/context/hierarchical-version-context";
|
|
10
11
|
export * from "./parser/context/reader-writer-context";
|
|
11
12
|
export * from "./parser/error/parser.error";
|
|
12
|
-
export * from "./parser/parser";
|
|
13
|
-
export * from "./parser/satisfactory/blueprint/blueprint-config";
|
|
14
13
|
export * from "./parser/satisfactory/blueprint/blueprint-config-version";
|
|
15
|
-
export * from "./parser/satisfactory/blueprint/blueprint-
|
|
14
|
+
export * from "./parser/satisfactory/blueprint/blueprint-config";
|
|
16
15
|
export * from "./parser/satisfactory/blueprint/blueprint-header-version";
|
|
16
|
+
export * from "./parser/satisfactory/blueprint/blueprint-header";
|
|
17
17
|
export * from "./parser/satisfactory/blueprint/blueprint-reader";
|
|
18
18
|
export * from "./parser/satisfactory/blueprint/blueprint-writer";
|
|
19
19
|
export * from "./parser/satisfactory/blueprint/blueprint.types";
|
|
20
20
|
export * from "./parser/satisfactory/edit/edit-constants";
|
|
21
21
|
export * from "./parser/satisfactory/save/data-blob";
|
|
22
22
|
export * from "./parser/satisfactory/save/factory-game-custom-version";
|
|
23
|
-
export * from "./parser/satisfactory/save/level";
|
|
24
23
|
export * from "./parser/satisfactory/save/level-to-destroyed-actors-map";
|
|
24
|
+
export * from "./parser/satisfactory/save/level";
|
|
25
25
|
export * from "./parser/satisfactory/save/object-references-list";
|
|
26
|
-
export * from "./parser/satisfactory/save/satisfactory-save";
|
|
27
26
|
export * from "./parser/satisfactory/save/satisfactory-save-header";
|
|
27
|
+
export * from "./parser/satisfactory/save/satisfactory-save";
|
|
28
28
|
export * from "./parser/satisfactory/save/save-body-chunks";
|
|
29
29
|
export * from "./parser/satisfactory/save/save-custom-version";
|
|
30
30
|
export * from "./parser/satisfactory/save/save-header-type";
|
|
@@ -35,15 +35,10 @@ export * from "./parser/satisfactory/save/toc-blob";
|
|
|
35
35
|
export * from "./parser/satisfactory/types/objects/SaveComponent";
|
|
36
36
|
export * from "./parser/satisfactory/types/objects/SaveEntity";
|
|
37
37
|
export * from "./parser/satisfactory/types/objects/SaveObject";
|
|
38
|
+
export * from "./parser/satisfactory/types/property/PropertiesList";
|
|
38
39
|
export * from "./parser/satisfactory/types/property/generic/AbstractBaseProperty";
|
|
39
40
|
export * from "./parser/satisfactory/types/property/generic/BoolProperty";
|
|
40
41
|
export * from "./parser/satisfactory/types/property/generic/ByteProperty";
|
|
41
|
-
export * from "./parser/satisfactory/types/property/generic/containers/ArrayProperty";
|
|
42
|
-
export * from "./parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes";
|
|
43
|
-
export * from "./parser/satisfactory/types/property/generic/containers/MapProperty";
|
|
44
|
-
export * from "./parser/satisfactory/types/property/generic/containers/SetProperty";
|
|
45
|
-
export * from "./parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes";
|
|
46
|
-
export * from "./parser/satisfactory/types/property/generic/containers/StructProperty";
|
|
47
42
|
export * from "./parser/satisfactory/types/property/generic/DoubleProperty";
|
|
48
43
|
export * from "./parser/satisfactory/types/property/generic/EnumProperty";
|
|
49
44
|
export * from "./parser/satisfactory/types/property/generic/FloatProperty";
|
|
@@ -60,7 +55,12 @@ export * from "./parser/satisfactory/types/property/generic/TextProperty";
|
|
|
60
55
|
export * from "./parser/satisfactory/types/property/generic/Uint32Property";
|
|
61
56
|
export * from "./parser/satisfactory/types/property/generic/Uint64Property";
|
|
62
57
|
export * from "./parser/satisfactory/types/property/generic/Uint8Property";
|
|
63
|
-
export * from "./parser/satisfactory/types/property/
|
|
58
|
+
export * from "./parser/satisfactory/types/property/generic/containers/ArrayProperty";
|
|
59
|
+
export * from "./parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes";
|
|
60
|
+
export * from "./parser/satisfactory/types/property/generic/containers/MapProperty";
|
|
61
|
+
export * from "./parser/satisfactory/types/property/generic/containers/SetProperty";
|
|
62
|
+
export * from "./parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes";
|
|
63
|
+
export * from "./parser/satisfactory/types/property/generic/containers/StructProperty";
|
|
64
64
|
export * from "./parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties";
|
|
65
65
|
export * from "./parser/satisfactory/types/property/special/CircuitSpecialProperties";
|
|
66
66
|
export * from "./parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties";
|
|
@@ -73,11 +73,27 @@ export * from "./parser/satisfactory/types/property/special/runtime-buildable-in
|
|
|
73
73
|
export * from "./parser/satisfactory/types/property/special/SpecialDroneActionProperties";
|
|
74
74
|
export * from "./parser/satisfactory/types/property/special/SpecialProperties";
|
|
75
75
|
export * from "./parser/satisfactory/types/property/special/VehicleSpecialProperties";
|
|
76
|
+
export * from "./parser/satisfactory/types/structs/col4";
|
|
77
|
+
export * from "./parser/satisfactory/types/structs/DynamicStructPropertyValue";
|
|
78
|
+
export * from "./parser/satisfactory/types/structs/FGDynamicStruct";
|
|
79
|
+
export * from "./parser/satisfactory/types/structs/GUIDInfo";
|
|
80
|
+
export * from "./parser/satisfactory/types/structs/MD5Hash";
|
|
81
|
+
export * from "./parser/satisfactory/types/structs/ObjectReference";
|
|
82
|
+
export * from "./parser/satisfactory/types/structs/SaveBodyValidation";
|
|
83
|
+
export * from "./parser/satisfactory/types/structs/SoftObjectReference";
|
|
84
|
+
export * from "./parser/satisfactory/types/structs/Transform";
|
|
85
|
+
export * from "./parser/satisfactory/types/structs/vec2";
|
|
86
|
+
export * from "./parser/satisfactory/types/structs/vec3";
|
|
87
|
+
export * from "./parser/satisfactory/types/structs/vec4";
|
|
88
|
+
export * from "./parser/satisfactory/types/structs/VehiclePhysicsData";
|
|
76
89
|
export * from "./parser/satisfactory/types/structs/binary/FClientIdentityInfo";
|
|
77
90
|
export * from "./parser/satisfactory/types/structs/binary/FColor";
|
|
91
|
+
export * from "./parser/satisfactory/types/structs/binary/FConveyorBeltItem";
|
|
92
|
+
export * from "./parser/satisfactory/types/structs/binary/FConveyorChainSplineSegment";
|
|
78
93
|
export * from "./parser/satisfactory/types/structs/binary/FCustomVersion";
|
|
79
94
|
export * from "./parser/satisfactory/types/structs/binary/FCustomVersionContainer";
|
|
80
95
|
export * from "./parser/satisfactory/types/structs/binary/FEngineVersion";
|
|
96
|
+
export * from "./parser/satisfactory/types/structs/binary/FInventoryItem";
|
|
81
97
|
export * from "./parser/satisfactory/types/structs/binary/FLinearColor";
|
|
82
98
|
export * from "./parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle";
|
|
83
99
|
export * from "./parser/satisfactory/types/structs/binary/FPackageFileVersion";
|
|
@@ -88,26 +104,14 @@ export * from "./parser/satisfactory/types/structs/binary/FSaveObjectVersionData
|
|
|
88
104
|
export * from "./parser/satisfactory/types/structs/binary/FUniqueNetIdRepl";
|
|
89
105
|
export * from "./parser/satisfactory/types/structs/binary/GUID";
|
|
90
106
|
export * from "./parser/satisfactory/types/structs/binary/LBBalancerIndexing";
|
|
91
|
-
export * from "./parser/satisfactory/types/structs/col4";
|
|
92
|
-
export * from "./parser/satisfactory/types/structs/DynamicStructPropertyValue";
|
|
93
|
-
export * from "./parser/satisfactory/types/structs/FGDynamicStruct";
|
|
94
|
-
export * from "./parser/satisfactory/types/structs/GUIDInfo";
|
|
95
|
-
export * from "./parser/satisfactory/types/structs/MD5Hash";
|
|
96
107
|
export * from "./parser/satisfactory/types/structs/mods/FicsItCam/FICFrameRange";
|
|
97
108
|
export * from "./parser/satisfactory/types/structs/mods/FicsItNetworks/FINGPUT1BufferPixel";
|
|
98
109
|
export * from "./parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem";
|
|
99
110
|
export * from "./parser/satisfactory/types/structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState";
|
|
100
111
|
export * from "./parser/satisfactory/types/structs/mods/FicsItNetworks/FINNetworkTrace";
|
|
101
112
|
export * from "./parser/satisfactory/types/structs/mods/ModularLoadBalancers/FLBBalancerIndexing";
|
|
102
|
-
export * from "./parser/satisfactory/types/structs/ObjectReference";
|
|
103
|
-
export * from "./parser/satisfactory/types/structs/SaveBodyValidation";
|
|
104
|
-
export * from "./parser/satisfactory/types/structs/SoftObjectReference";
|
|
105
|
-
export * from "./parser/satisfactory/types/structs/Transform";
|
|
106
|
-
export * from "./parser/satisfactory/types/structs/vec2";
|
|
107
|
-
export * from "./parser/satisfactory/types/structs/vec3";
|
|
108
|
-
export * from "./parser/satisfactory/types/structs/vec4";
|
|
109
|
-
export * from "./parser/satisfactory/types/structs/VehiclePhysicsData";
|
|
110
113
|
export * from "./parser/stream/reworked/readable-stream-parser";
|
|
111
114
|
export * from "./parser/unreal-engine/ETextHistoryType";
|
|
112
115
|
export * from "./parser/unreal-engine/EUnrealEngineObjectUE5Version";
|
|
116
|
+
export * from "./test/parser.spec";
|
|
113
117
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,wCAAwC,CAAC;AACvD,cA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D,CAAC;AACvE,cAAc,gEAAgE,CAAC;AAC/E,cAAc,mDAAmD,CAAC;AAClE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,wEAAwE,CAAC;AACvF,cAAc,2DAA2D,CAAC;AAC1E,cAAc,oEAAoE,CAAC;AACnF,cAAc,2DAA2D,CAAC;AAC1E,cAAc,2DAA2D,CAAC;AAC1E,cAAc,yDAAyD,CAAC;AACxE,cAAc,kEAAkE,CAAC;AACjF,cAAc,gEAAgE,CAAC;AAC/E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,yDAAyD,CAAC;AACxE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,mEAAmE,CAAC;AAClF,cAAc,6DAA6D,CAAC;AAC5E,cAAc,iDAAiD,CAAC;AAChE,cAAc,+DAA+D,CAAC;AAC9E,cAAc,kEAAkE,CAAC;AACjF,cAAc,6EAA6E,CAAC;AAC5F,cAAc,gFAAgF,CAAC;AAC/F,cAAc,uFAAuF,CAAC;AACtG,cAAc,yEAAyE,CAAC;AACxF,cAAc,mFAAmF,CAAC;AAClG,cAAc,iDAAiD,CAAC;AAChE,cAAc,yCAAyC,CAAC;AACxD,cAAc,sDAAsD,CAAC;AACrE,cAAc,oBAAoB,CAAC"}
|
package/build/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./parser/parser"), exports);
|
|
17
18
|
__exportStar(require("./parser/byte/alignment.enum"), exports);
|
|
18
19
|
__exportStar(require("./parser/byte/binary-operable.interface"), exports);
|
|
19
20
|
__exportStar(require("./parser/byte/binary-readable.interface"), exports);
|
|
@@ -25,22 +26,21 @@ __exportStar(require("./parser/context/context-writer"), exports);
|
|
|
25
26
|
__exportStar(require("./parser/context/hierarchical-version-context"), exports);
|
|
26
27
|
__exportStar(require("./parser/context/reader-writer-context"), exports);
|
|
27
28
|
__exportStar(require("./parser/error/parser.error"), exports);
|
|
28
|
-
__exportStar(require("./parser/parser"), exports);
|
|
29
|
-
__exportStar(require("./parser/satisfactory/blueprint/blueprint-config"), exports);
|
|
30
29
|
__exportStar(require("./parser/satisfactory/blueprint/blueprint-config-version"), exports);
|
|
31
|
-
__exportStar(require("./parser/satisfactory/blueprint/blueprint-
|
|
30
|
+
__exportStar(require("./parser/satisfactory/blueprint/blueprint-config"), exports);
|
|
32
31
|
__exportStar(require("./parser/satisfactory/blueprint/blueprint-header-version"), exports);
|
|
32
|
+
__exportStar(require("./parser/satisfactory/blueprint/blueprint-header"), exports);
|
|
33
33
|
__exportStar(require("./parser/satisfactory/blueprint/blueprint-reader"), exports);
|
|
34
34
|
__exportStar(require("./parser/satisfactory/blueprint/blueprint-writer"), exports);
|
|
35
35
|
__exportStar(require("./parser/satisfactory/blueprint/blueprint.types"), exports);
|
|
36
36
|
__exportStar(require("./parser/satisfactory/edit/edit-constants"), exports);
|
|
37
37
|
__exportStar(require("./parser/satisfactory/save/data-blob"), exports);
|
|
38
38
|
__exportStar(require("./parser/satisfactory/save/factory-game-custom-version"), exports);
|
|
39
|
-
__exportStar(require("./parser/satisfactory/save/level"), exports);
|
|
40
39
|
__exportStar(require("./parser/satisfactory/save/level-to-destroyed-actors-map"), exports);
|
|
40
|
+
__exportStar(require("./parser/satisfactory/save/level"), exports);
|
|
41
41
|
__exportStar(require("./parser/satisfactory/save/object-references-list"), exports);
|
|
42
|
-
__exportStar(require("./parser/satisfactory/save/satisfactory-save"), exports);
|
|
43
42
|
__exportStar(require("./parser/satisfactory/save/satisfactory-save-header"), exports);
|
|
43
|
+
__exportStar(require("./parser/satisfactory/save/satisfactory-save"), exports);
|
|
44
44
|
__exportStar(require("./parser/satisfactory/save/save-body-chunks"), exports);
|
|
45
45
|
__exportStar(require("./parser/satisfactory/save/save-custom-version"), exports);
|
|
46
46
|
__exportStar(require("./parser/satisfactory/save/save-header-type"), exports);
|
|
@@ -51,15 +51,10 @@ __exportStar(require("./parser/satisfactory/save/toc-blob"), exports);
|
|
|
51
51
|
__exportStar(require("./parser/satisfactory/types/objects/SaveComponent"), exports);
|
|
52
52
|
__exportStar(require("./parser/satisfactory/types/objects/SaveEntity"), exports);
|
|
53
53
|
__exportStar(require("./parser/satisfactory/types/objects/SaveObject"), exports);
|
|
54
|
+
__exportStar(require("./parser/satisfactory/types/property/PropertiesList"), exports);
|
|
54
55
|
__exportStar(require("./parser/satisfactory/types/property/generic/AbstractBaseProperty"), exports);
|
|
55
56
|
__exportStar(require("./parser/satisfactory/types/property/generic/BoolProperty"), exports);
|
|
56
57
|
__exportStar(require("./parser/satisfactory/types/property/generic/ByteProperty"), exports);
|
|
57
|
-
__exportStar(require("./parser/satisfactory/types/property/generic/containers/ArrayProperty"), exports);
|
|
58
|
-
__exportStar(require("./parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes"), exports);
|
|
59
|
-
__exportStar(require("./parser/satisfactory/types/property/generic/containers/MapProperty"), exports);
|
|
60
|
-
__exportStar(require("./parser/satisfactory/types/property/generic/containers/SetProperty"), exports);
|
|
61
|
-
__exportStar(require("./parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes"), exports);
|
|
62
|
-
__exportStar(require("./parser/satisfactory/types/property/generic/containers/StructProperty"), exports);
|
|
63
58
|
__exportStar(require("./parser/satisfactory/types/property/generic/DoubleProperty"), exports);
|
|
64
59
|
__exportStar(require("./parser/satisfactory/types/property/generic/EnumProperty"), exports);
|
|
65
60
|
__exportStar(require("./parser/satisfactory/types/property/generic/FloatProperty"), exports);
|
|
@@ -76,7 +71,12 @@ __exportStar(require("./parser/satisfactory/types/property/generic/TextProperty"
|
|
|
76
71
|
__exportStar(require("./parser/satisfactory/types/property/generic/Uint32Property"), exports);
|
|
77
72
|
__exportStar(require("./parser/satisfactory/types/property/generic/Uint64Property"), exports);
|
|
78
73
|
__exportStar(require("./parser/satisfactory/types/property/generic/Uint8Property"), exports);
|
|
79
|
-
__exportStar(require("./parser/satisfactory/types/property/
|
|
74
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/containers/ArrayProperty"), exports);
|
|
75
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes"), exports);
|
|
76
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/containers/MapProperty"), exports);
|
|
77
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/containers/SetProperty"), exports);
|
|
78
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes"), exports);
|
|
79
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/containers/StructProperty"), exports);
|
|
80
80
|
__exportStar(require("./parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties"), exports);
|
|
81
81
|
__exportStar(require("./parser/satisfactory/types/property/special/CircuitSpecialProperties"), exports);
|
|
82
82
|
__exportStar(require("./parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties"), exports);
|
|
@@ -89,11 +89,27 @@ __exportStar(require("./parser/satisfactory/types/property/special/runtime-build
|
|
|
89
89
|
__exportStar(require("./parser/satisfactory/types/property/special/SpecialDroneActionProperties"), exports);
|
|
90
90
|
__exportStar(require("./parser/satisfactory/types/property/special/SpecialProperties"), exports);
|
|
91
91
|
__exportStar(require("./parser/satisfactory/types/property/special/VehicleSpecialProperties"), exports);
|
|
92
|
+
__exportStar(require("./parser/satisfactory/types/structs/col4"), exports);
|
|
93
|
+
__exportStar(require("./parser/satisfactory/types/structs/DynamicStructPropertyValue"), exports);
|
|
94
|
+
__exportStar(require("./parser/satisfactory/types/structs/FGDynamicStruct"), exports);
|
|
95
|
+
__exportStar(require("./parser/satisfactory/types/structs/GUIDInfo"), exports);
|
|
96
|
+
__exportStar(require("./parser/satisfactory/types/structs/MD5Hash"), exports);
|
|
97
|
+
__exportStar(require("./parser/satisfactory/types/structs/ObjectReference"), exports);
|
|
98
|
+
__exportStar(require("./parser/satisfactory/types/structs/SaveBodyValidation"), exports);
|
|
99
|
+
__exportStar(require("./parser/satisfactory/types/structs/SoftObjectReference"), exports);
|
|
100
|
+
__exportStar(require("./parser/satisfactory/types/structs/Transform"), exports);
|
|
101
|
+
__exportStar(require("./parser/satisfactory/types/structs/vec2"), exports);
|
|
102
|
+
__exportStar(require("./parser/satisfactory/types/structs/vec3"), exports);
|
|
103
|
+
__exportStar(require("./parser/satisfactory/types/structs/vec4"), exports);
|
|
104
|
+
__exportStar(require("./parser/satisfactory/types/structs/VehiclePhysicsData"), exports);
|
|
92
105
|
__exportStar(require("./parser/satisfactory/types/structs/binary/FClientIdentityInfo"), exports);
|
|
93
106
|
__exportStar(require("./parser/satisfactory/types/structs/binary/FColor"), exports);
|
|
107
|
+
__exportStar(require("./parser/satisfactory/types/structs/binary/FConveyorBeltItem"), exports);
|
|
108
|
+
__exportStar(require("./parser/satisfactory/types/structs/binary/FConveyorChainSplineSegment"), exports);
|
|
94
109
|
__exportStar(require("./parser/satisfactory/types/structs/binary/FCustomVersion"), exports);
|
|
95
110
|
__exportStar(require("./parser/satisfactory/types/structs/binary/FCustomVersionContainer"), exports);
|
|
96
111
|
__exportStar(require("./parser/satisfactory/types/structs/binary/FEngineVersion"), exports);
|
|
112
|
+
__exportStar(require("./parser/satisfactory/types/structs/binary/FInventoryItem"), exports);
|
|
97
113
|
__exportStar(require("./parser/satisfactory/types/structs/binary/FLinearColor"), exports);
|
|
98
114
|
__exportStar(require("./parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle"), exports);
|
|
99
115
|
__exportStar(require("./parser/satisfactory/types/structs/binary/FPackageFileVersion"), exports);
|
|
@@ -104,26 +120,14 @@ __exportStar(require("./parser/satisfactory/types/structs/binary/FSaveObjectVers
|
|
|
104
120
|
__exportStar(require("./parser/satisfactory/types/structs/binary/FUniqueNetIdRepl"), exports);
|
|
105
121
|
__exportStar(require("./parser/satisfactory/types/structs/binary/GUID"), exports);
|
|
106
122
|
__exportStar(require("./parser/satisfactory/types/structs/binary/LBBalancerIndexing"), exports);
|
|
107
|
-
__exportStar(require("./parser/satisfactory/types/structs/col4"), exports);
|
|
108
|
-
__exportStar(require("./parser/satisfactory/types/structs/DynamicStructPropertyValue"), exports);
|
|
109
|
-
__exportStar(require("./parser/satisfactory/types/structs/FGDynamicStruct"), exports);
|
|
110
|
-
__exportStar(require("./parser/satisfactory/types/structs/GUIDInfo"), exports);
|
|
111
|
-
__exportStar(require("./parser/satisfactory/types/structs/MD5Hash"), exports);
|
|
112
123
|
__exportStar(require("./parser/satisfactory/types/structs/mods/FicsItCam/FICFrameRange"), exports);
|
|
113
124
|
__exportStar(require("./parser/satisfactory/types/structs/mods/FicsItNetworks/FINGPUT1BufferPixel"), exports);
|
|
114
125
|
__exportStar(require("./parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem"), exports);
|
|
115
126
|
__exportStar(require("./parser/satisfactory/types/structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState"), exports);
|
|
116
127
|
__exportStar(require("./parser/satisfactory/types/structs/mods/FicsItNetworks/FINNetworkTrace"), exports);
|
|
117
128
|
__exportStar(require("./parser/satisfactory/types/structs/mods/ModularLoadBalancers/FLBBalancerIndexing"), exports);
|
|
118
|
-
__exportStar(require("./parser/satisfactory/types/structs/ObjectReference"), exports);
|
|
119
|
-
__exportStar(require("./parser/satisfactory/types/structs/SaveBodyValidation"), exports);
|
|
120
|
-
__exportStar(require("./parser/satisfactory/types/structs/SoftObjectReference"), exports);
|
|
121
|
-
__exportStar(require("./parser/satisfactory/types/structs/Transform"), exports);
|
|
122
|
-
__exportStar(require("./parser/satisfactory/types/structs/vec2"), exports);
|
|
123
|
-
__exportStar(require("./parser/satisfactory/types/structs/vec3"), exports);
|
|
124
|
-
__exportStar(require("./parser/satisfactory/types/structs/vec4"), exports);
|
|
125
|
-
__exportStar(require("./parser/satisfactory/types/structs/VehiclePhysicsData"), exports);
|
|
126
129
|
__exportStar(require("./parser/stream/reworked/readable-stream-parser"), exports);
|
|
127
130
|
__exportStar(require("./parser/unreal-engine/ETextHistoryType"), exports);
|
|
128
131
|
__exportStar(require("./parser/unreal-engine/EUnrealEngineObjectUE5Version"), exports);
|
|
132
|
+
__exportStar(require("./test/parser.spec"), exports);
|
|
129
133
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAIA,+DAA6C;AAC7C,0EAAwD;AACxD,0EAAwD;AACxD,0EAAwD;AACxD,kEAAgD;AAChD,kEAAgD;AAChD,kEAAgD;AAChD,kEAAgD;AAChD,gFAA8D;AAC9D,yEAAuD;AACvD,8DAA4C;AAC5C,kDAAgC;AAChC,mFAAiE;AACjE,2FAAyE;AACzE,mFAAiE;AACjE,2FAAyE;AACzE,mFAAiE;AACjE,mFAAiE;AACjE,kFAAgE;AAChE,4EAA0D;AAC1D,uEAAqD;AACrD,yFAAuE;AACvE,mEAAiD;AACjD,2FAAyE;AACzE,oFAAkE;AAClE,+EAA6D;AAC7D,sFAAoE;AACpE,8EAA4D;AAC5D,iFAA+D;AAC/D,8EAA4D;AAC5D,yEAAuD;AACvD,yEAAuD;AACvD,wEAAsD;AACtD,sEAAoD;AACpD,oFAAkE;AAClE,iFAA+D;AAC/D,iFAA+D;AAC/D,oGAAkF;AAClF,4FAA0E;AAC1E,4FAA0E;AAC1E,wGAAsF;AACtF,qHAAmG;AACnG,sGAAoF;AACpF,sGAAoF;AACpF,mHAAiG;AACjG,yGAAuF;AACvF,8FAA4E;AAC5E,4FAA0E;AAC1E,6FAA2E;AAC3E,6FAA2E;AAC3E,4FAA0E;AAC1E,iGAA+E;AAC/E,2FAAyE;AACzE,4FAA0E;AAC1E,8FAA4E;AAC5E,8FAA4E;AAC5E,kGAAgF;AAChF,2FAAyE;AACzE,4FAA0E;AAC1E,8FAA4E;AAC5E,8FAA4E;AAC5E,6FAA2E;AAC3E,sFAAoE;AACpE,mHAAiG;AACjG,wGAAsF;AACtF,mHAAiG;AACjG,yGAAuF;AACvF,sGAAoF;AACpF,4GAA0F;AAC1F,uGAAqF;AACrF,0GAAwF;AACxF,uHAAqG;AACrG,4GAA0F;AAC1F,iGAA+E;AAC/E,wGAAsF;AACtF,iGAA+E;AAC/E,oFAAkE;AAClE,4FAA0E;AAC1E,qGAAmF;AACnF,4FAA0E;AAC1E,0FAAwE;AACxE,mGAAiF;AACjF,iGAA+E;AAC/E,+FAA6E;AAC7E,0FAAwE;AACxE,8FAA4E;AAC5E,oGAAkF;AAClF,8FAA4E;AAC5E,kFAAgE;AAChE,gGAA8E;AAC9E,2EAAyD;AACzD,iGAA+E;AAC/E,sFAAoE;AACpE,+EAA6D;AAC7D,8EAA4D;AAC5D,mGAAiF;AACjF,8GAA4F;AAC5F,iHAA+F;AAC/F,wHAAsG;AACtG,0GAAwF;AACxF,oHAAkG;AAClG,sFAAoE;AACpE,yFAAuE;AACvE,0FAAwE;AACxE,gFAA8D;AAC9D,2EAAyD;AACzD,2EAAyD;AACzD,2EAAyD;AACzD,yFAAuE;AACvE,kFAAgE;AAChE,0EAAwD;AACxD,uFAAqE","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./parser/byte/alignment.enum\";\nexport * from \"./parser/byte/binary-operable.interface\";\nexport * from \"./parser/byte/binary-readable.interface\";\nexport * from \"./parser/byte/binary-writable.interface\";\nexport * from \"./parser/byte/byte-reader.class\";\nexport * from \"./parser/byte/byte-writer.class\";\nexport * from \"./parser/context/context-reader\";\nexport * from \"./parser/context/context-writer\";\nexport * from \"./parser/context/hierarchical-version-context\";\nexport * from \"./parser/context/reader-writer-context\";\nexport * from \"./parser/error/parser.error\";\nexport * from \"./parser/parser\";\nexport * from \"./parser/satisfactory/blueprint/blueprint-config\";\nexport * from \"./parser/satisfactory/blueprint/blueprint-config-version\";\nexport * from \"./parser/satisfactory/blueprint/blueprint-header\";\nexport * from \"./parser/satisfactory/blueprint/blueprint-header-version\";\nexport * from \"./parser/satisfactory/blueprint/blueprint-reader\";\nexport * from \"./parser/satisfactory/blueprint/blueprint-writer\";\nexport * from \"./parser/satisfactory/blueprint/blueprint.types\";\nexport * from \"./parser/satisfactory/edit/edit-constants\";\nexport * from \"./parser/satisfactory/save/data-blob\";\nexport * from \"./parser/satisfactory/save/factory-game-custom-version\";\nexport * from \"./parser/satisfactory/save/level\";\nexport * from \"./parser/satisfactory/save/level-to-destroyed-actors-map\";\nexport * from \"./parser/satisfactory/save/object-references-list\";\nexport * from \"./parser/satisfactory/save/satisfactory-save\";\nexport * from \"./parser/satisfactory/save/satisfactory-save-header\";\nexport * from \"./parser/satisfactory/save/save-body-chunks\";\nexport * from \"./parser/satisfactory/save/save-custom-version\";\nexport * from \"./parser/satisfactory/save/save-header-type\";\nexport * from \"./parser/satisfactory/save/save-reader\";\nexport * from \"./parser/satisfactory/save/save-writer\";\nexport * from \"./parser/satisfactory/save/save.types\";\nexport * from \"./parser/satisfactory/save/toc-blob\";\nexport * from \"./parser/satisfactory/types/objects/SaveComponent\";\nexport * from \"./parser/satisfactory/types/objects/SaveEntity\";\nexport * from \"./parser/satisfactory/types/objects/SaveObject\";\nexport * from \"./parser/satisfactory/types/property/generic/AbstractBaseProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/BoolProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/ByteProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/containers/ArrayProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes\";\nexport * from \"./parser/satisfactory/types/property/generic/containers/MapProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/containers/SetProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes\";\nexport * from \"./parser/satisfactory/types/property/generic/containers/StructProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/DoubleProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/EnumProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/FloatProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/Int64Property\";\nexport * from \"./parser/satisfactory/types/property/generic/Int8Property\";\nexport * from \"./parser/satisfactory/types/property/generic/InterfaceProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/IntProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/NameProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/ObjectProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/SingleProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/SoftObjectProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/StrProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/TextProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/Uint32Property\";\nexport * from \"./parser/satisfactory/types/property/generic/Uint64Property\";\nexport * from \"./parser/satisfactory/types/property/generic/Uint8Property\";\nexport * from \"./parser/satisfactory/types/property/PropertiesList\";\nexport * from \"./parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/CircuitSpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/ConveyorSpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/EmptySpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/ObjectsListSpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/PlayerSpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/PowerLineSpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/runtime-buildable-instance-data-version\";\nexport * from \"./parser/satisfactory/types/property/special/SpecialDroneActionProperties\";\nexport * from \"./parser/satisfactory/types/property/special/SpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/VehicleSpecialProperties\";\nexport * from \"./parser/satisfactory/types/structs/binary/FClientIdentityInfo\";\nexport * from \"./parser/satisfactory/types/structs/binary/FColor\";\nexport * from \"./parser/satisfactory/types/structs/binary/FCustomVersion\";\nexport * from \"./parser/satisfactory/types/structs/binary/FCustomVersionContainer\";\nexport * from \"./parser/satisfactory/types/structs/binary/FEngineVersion\";\nexport * from \"./parser/satisfactory/types/structs/binary/FLinearColor\";\nexport * from \"./parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle\";\nexport * from \"./parser/satisfactory/types/structs/binary/FPackageFileVersion\";\nexport * from \"./parser/satisfactory/types/structs/binary/FPlayerInfoHandle\";\nexport * from \"./parser/satisfactory/types/structs/binary/FPropertyTag\";\nexport * from \"./parser/satisfactory/types/structs/binary/FPropertyTagNode\";\nexport * from \"./parser/satisfactory/types/structs/binary/FSaveObjectVersionData\";\nexport * from \"./parser/satisfactory/types/structs/binary/FUniqueNetIdRepl\";\nexport * from \"./parser/satisfactory/types/structs/binary/GUID\";\nexport * from \"./parser/satisfactory/types/structs/binary/LBBalancerIndexing\";\nexport * from \"./parser/satisfactory/types/structs/col4\";\nexport * from \"./parser/satisfactory/types/structs/DynamicStructPropertyValue\";\nexport * from \"./parser/satisfactory/types/structs/FGDynamicStruct\";\nexport * from \"./parser/satisfactory/types/structs/GUIDInfo\";\nexport * from \"./parser/satisfactory/types/structs/MD5Hash\";\nexport * from \"./parser/satisfactory/types/structs/mods/FicsItCam/FICFrameRange\";\nexport * from \"./parser/satisfactory/types/structs/mods/FicsItNetworks/FINGPUT1BufferPixel\";\nexport * from \"./parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem\";\nexport * from \"./parser/satisfactory/types/structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState\";\nexport * from \"./parser/satisfactory/types/structs/mods/FicsItNetworks/FINNetworkTrace\";\nexport * from \"./parser/satisfactory/types/structs/mods/ModularLoadBalancers/FLBBalancerIndexing\";\nexport * from \"./parser/satisfactory/types/structs/ObjectReference\";\nexport * from \"./parser/satisfactory/types/structs/SaveBodyValidation\";\nexport * from \"./parser/satisfactory/types/structs/SoftObjectReference\";\nexport * from \"./parser/satisfactory/types/structs/Transform\";\nexport * from \"./parser/satisfactory/types/structs/vec2\";\nexport * from \"./parser/satisfactory/types/structs/vec3\";\nexport * from \"./parser/satisfactory/types/structs/vec4\";\nexport * from \"./parser/satisfactory/types/structs/VehiclePhysicsData\";\nexport * from \"./parser/stream/reworked/readable-stream-parser\";\nexport * from \"./parser/unreal-engine/ETextHistoryType\";\nexport * from \"./parser/unreal-engine/EUnrealEngineObjectUE5Version\";\n\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAIA,kDAAgC;AAChC,+DAA6C;AAC7C,0EAAwD;AACxD,0EAAwD;AACxD,0EAAwD;AACxD,kEAAgD;AAChD,kEAAgD;AAChD,kEAAgD;AAChD,kEAAgD;AAChD,gFAA8D;AAC9D,yEAAuD;AACvD,8DAA4C;AAC5C,2FAAyE;AACzE,mFAAiE;AACjE,2FAAyE;AACzE,mFAAiE;AACjE,mFAAiE;AACjE,mFAAiE;AACjE,kFAAgE;AAChE,4EAA0D;AAC1D,uEAAqD;AACrD,yFAAuE;AACvE,2FAAyE;AACzE,mEAAiD;AACjD,oFAAkE;AAClE,sFAAoE;AACpE,+EAA6D;AAC7D,8EAA4D;AAC5D,iFAA+D;AAC/D,8EAA4D;AAC5D,yEAAuD;AACvD,yEAAuD;AACvD,wEAAsD;AACtD,sEAAoD;AACpD,oFAAkE;AAClE,iFAA+D;AAC/D,iFAA+D;AAC/D,sFAAoE;AACpE,oGAAkF;AAClF,4FAA0E;AAC1E,4FAA0E;AAC1E,8FAA4E;AAC5E,4FAA0E;AAC1E,6FAA2E;AAC3E,6FAA2E;AAC3E,4FAA0E;AAC1E,iGAA+E;AAC/E,2FAAyE;AACzE,4FAA0E;AAC1E,8FAA4E;AAC5E,8FAA4E;AAC5E,kGAAgF;AAChF,2FAAyE;AACzE,4FAA0E;AAC1E,8FAA4E;AAC5E,8FAA4E;AAC5E,6FAA2E;AAC3E,wGAAsF;AACtF,qHAAmG;AACnG,sGAAoF;AACpF,sGAAoF;AACpF,mHAAiG;AACjG,yGAAuF;AACvF,mHAAiG;AACjG,wGAAsF;AACtF,mHAAiG;AACjG,yGAAuF;AACvF,sGAAoF;AACpF,4GAA0F;AAC1F,uGAAqF;AACrF,0GAAwF;AACxF,uHAAqG;AACrG,4GAA0F;AAC1F,iGAA+E;AAC/E,wGAAsF;AACtF,2EAAyD;AACzD,iGAA+E;AAC/E,sFAAoE;AACpE,+EAA6D;AAC7D,8EAA4D;AAC5D,sFAAoE;AACpE,yFAAuE;AACvE,0FAAwE;AACxE,gFAA8D;AAC9D,2EAAyD;AACzD,2EAAyD;AACzD,2EAAyD;AACzD,yFAAuE;AACvE,iGAA+E;AAC/E,oFAAkE;AAClE,+FAA6E;AAC7E,yGAAuF;AACvF,4FAA0E;AAC1E,qGAAmF;AACnF,4FAA0E;AAC1E,4FAA0E;AAC1E,0FAAwE;AACxE,mGAAiF;AACjF,iGAA+E;AAC/E,+FAA6E;AAC7E,0FAAwE;AACxE,8FAA4E;AAC5E,oGAAkF;AAClF,8FAA4E;AAC5E,kFAAgE;AAChE,gGAA8E;AAC9E,mGAAiF;AACjF,8GAA4F;AAC5F,iHAA+F;AAC/F,wHAAsG;AACtG,0GAAwF;AACxF,oHAAkG;AAClG,kFAAgE;AAChE,0EAAwD;AACxD,uFAAqE;AACrE,qDAAmC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./parser/parser\";\nexport * from \"./parser/byte/alignment.enum\";\nexport * from \"./parser/byte/binary-operable.interface\";\nexport * from \"./parser/byte/binary-readable.interface\";\nexport * from \"./parser/byte/binary-writable.interface\";\nexport * from \"./parser/byte/byte-reader.class\";\nexport * from \"./parser/byte/byte-writer.class\";\nexport * from \"./parser/context/context-reader\";\nexport * from \"./parser/context/context-writer\";\nexport * from \"./parser/context/hierarchical-version-context\";\nexport * from \"./parser/context/reader-writer-context\";\nexport * from \"./parser/error/parser.error\";\nexport * from \"./parser/satisfactory/blueprint/blueprint-config-version\";\nexport * from \"./parser/satisfactory/blueprint/blueprint-config\";\nexport * from \"./parser/satisfactory/blueprint/blueprint-header-version\";\nexport * from \"./parser/satisfactory/blueprint/blueprint-header\";\nexport * from \"./parser/satisfactory/blueprint/blueprint-reader\";\nexport * from \"./parser/satisfactory/blueprint/blueprint-writer\";\nexport * from \"./parser/satisfactory/blueprint/blueprint.types\";\nexport * from \"./parser/satisfactory/edit/edit-constants\";\nexport * from \"./parser/satisfactory/save/data-blob\";\nexport * from \"./parser/satisfactory/save/factory-game-custom-version\";\nexport * from \"./parser/satisfactory/save/level-to-destroyed-actors-map\";\nexport * from \"./parser/satisfactory/save/level\";\nexport * from \"./parser/satisfactory/save/object-references-list\";\nexport * from \"./parser/satisfactory/save/satisfactory-save-header\";\nexport * from \"./parser/satisfactory/save/satisfactory-save\";\nexport * from \"./parser/satisfactory/save/save-body-chunks\";\nexport * from \"./parser/satisfactory/save/save-custom-version\";\nexport * from \"./parser/satisfactory/save/save-header-type\";\nexport * from \"./parser/satisfactory/save/save-reader\";\nexport * from \"./parser/satisfactory/save/save-writer\";\nexport * from \"./parser/satisfactory/save/save.types\";\nexport * from \"./parser/satisfactory/save/toc-blob\";\nexport * from \"./parser/satisfactory/types/objects/SaveComponent\";\nexport * from \"./parser/satisfactory/types/objects/SaveEntity\";\nexport * from \"./parser/satisfactory/types/objects/SaveObject\";\nexport * from \"./parser/satisfactory/types/property/PropertiesList\";\nexport * from \"./parser/satisfactory/types/property/generic/AbstractBaseProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/BoolProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/ByteProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/DoubleProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/EnumProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/FloatProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/Int64Property\";\nexport * from \"./parser/satisfactory/types/property/generic/Int8Property\";\nexport * from \"./parser/satisfactory/types/property/generic/InterfaceProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/IntProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/NameProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/ObjectProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/SingleProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/SoftObjectProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/StrProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/TextProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/Uint32Property\";\nexport * from \"./parser/satisfactory/types/property/generic/Uint64Property\";\nexport * from \"./parser/satisfactory/types/property/generic/Uint8Property\";\nexport * from \"./parser/satisfactory/types/property/generic/containers/ArrayProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/containers/ArrayPropertySpecificTypes\";\nexport * from \"./parser/satisfactory/types/property/generic/containers/MapProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/containers/SetProperty\";\nexport * from \"./parser/satisfactory/types/property/generic/containers/SetPropertySpecificTypes\";\nexport * from \"./parser/satisfactory/types/property/generic/containers/StructProperty\";\nexport * from \"./parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/CircuitSpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/ConveyorSpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/EmptySpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/ObjectsListSpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/PlayerSpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/PowerLineSpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/runtime-buildable-instance-data-version\";\nexport * from \"./parser/satisfactory/types/property/special/SpecialDroneActionProperties\";\nexport * from \"./parser/satisfactory/types/property/special/SpecialProperties\";\nexport * from \"./parser/satisfactory/types/property/special/VehicleSpecialProperties\";\nexport * from \"./parser/satisfactory/types/structs/col4\";\nexport * from \"./parser/satisfactory/types/structs/DynamicStructPropertyValue\";\nexport * from \"./parser/satisfactory/types/structs/FGDynamicStruct\";\nexport * from \"./parser/satisfactory/types/structs/GUIDInfo\";\nexport * from \"./parser/satisfactory/types/structs/MD5Hash\";\nexport * from \"./parser/satisfactory/types/structs/ObjectReference\";\nexport * from \"./parser/satisfactory/types/structs/SaveBodyValidation\";\nexport * from \"./parser/satisfactory/types/structs/SoftObjectReference\";\nexport * from \"./parser/satisfactory/types/structs/Transform\";\nexport * from \"./parser/satisfactory/types/structs/vec2\";\nexport * from \"./parser/satisfactory/types/structs/vec3\";\nexport * from \"./parser/satisfactory/types/structs/vec4\";\nexport * from \"./parser/satisfactory/types/structs/VehiclePhysicsData\";\nexport * from \"./parser/satisfactory/types/structs/binary/FClientIdentityInfo\";\nexport * from \"./parser/satisfactory/types/structs/binary/FColor\";\nexport * from \"./parser/satisfactory/types/structs/binary/FConveyorBeltItem\";\nexport * from \"./parser/satisfactory/types/structs/binary/FConveyorChainSplineSegment\";\nexport * from \"./parser/satisfactory/types/structs/binary/FCustomVersion\";\nexport * from \"./parser/satisfactory/types/structs/binary/FCustomVersionContainer\";\nexport * from \"./parser/satisfactory/types/structs/binary/FEngineVersion\";\nexport * from \"./parser/satisfactory/types/structs/binary/FInventoryItem\";\nexport * from \"./parser/satisfactory/types/structs/binary/FLinearColor\";\nexport * from \"./parser/satisfactory/types/structs/binary/FLocalUserNetIdBundle\";\nexport * from \"./parser/satisfactory/types/structs/binary/FPackageFileVersion\";\nexport * from \"./parser/satisfactory/types/structs/binary/FPlayerInfoHandle\";\nexport * from \"./parser/satisfactory/types/structs/binary/FPropertyTag\";\nexport * from \"./parser/satisfactory/types/structs/binary/FPropertyTagNode\";\nexport * from \"./parser/satisfactory/types/structs/binary/FSaveObjectVersionData\";\nexport * from \"./parser/satisfactory/types/structs/binary/FUniqueNetIdRepl\";\nexport * from \"./parser/satisfactory/types/structs/binary/GUID\";\nexport * from \"./parser/satisfactory/types/structs/binary/LBBalancerIndexing\";\nexport * from \"./parser/satisfactory/types/structs/mods/FicsItCam/FICFrameRange\";\nexport * from \"./parser/satisfactory/types/structs/mods/FicsItNetworks/FINGPUT1BufferPixel\";\nexport * from \"./parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem\";\nexport * from \"./parser/satisfactory/types/structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState\";\nexport * from \"./parser/satisfactory/types/structs/mods/FicsItNetworks/FINNetworkTrace\";\nexport * from \"./parser/satisfactory/types/structs/mods/ModularLoadBalancers/FLBBalancerIndexing\";\nexport * from \"./parser/stream/reworked/readable-stream-parser\";\nexport * from \"./parser/unreal-engine/ETextHistoryType\";\nexport * from \"./parser/unreal-engine/EUnrealEngineObjectUE5Version\";\nexport * from \"./test/parser.spec\";\n"]}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { ContextReader } from '../../../../../context/context-reader';
|
|
2
2
|
import { ContextWriter } from '../../../../../context/context-writer';
|
|
3
3
|
import { FClientIdentityInfo } from '../../../structs/binary/FClientIdentityInfo';
|
|
4
|
+
import { FInventoryItem } from '../../../structs/binary/FInventoryItem';
|
|
4
5
|
import { FPlayerInfoHandle } from '../../../structs/binary/FPlayerInfoHandle';
|
|
5
6
|
import { FPropertyTag } from '../../../structs/binary/FPropertyTag';
|
|
6
7
|
import { FPropertyTagNode } from '../../../structs/binary/FPropertyTagNode';
|
|
7
8
|
import { FUniqueNetIdRepl } from '../../../structs/binary/FUniqueNetIdRepl';
|
|
8
9
|
import { col4 } from '../../../structs/col4';
|
|
9
10
|
import { DynamicStructPropertyValue } from '../../../structs/DynamicStructPropertyValue';
|
|
10
|
-
import { FGDynamicStruct } from '../../../structs/FGDynamicStruct';
|
|
11
11
|
import { FINGPUT1BufferPixel } from '../../../structs/mods/FicsItNetworks/FINGPUT1BufferPixel';
|
|
12
12
|
import { FINLuaRuntimePersistenceState } from '../../../structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState';
|
|
13
13
|
import { FINNetworkTrace } from '../../../structs/mods/FicsItNetworks/FINNetworkTrace';
|
|
14
14
|
import { FLBBalancerIndexing } from '../../../structs/mods/ModularLoadBalancers/FLBBalancerIndexing';
|
|
15
|
-
import { ObjectReference } from '../../../structs/ObjectReference';
|
|
16
15
|
import { vec2 } from '../../../structs/vec2';
|
|
17
16
|
import { vec3 } from '../../../structs/vec3';
|
|
18
17
|
import { vec4 } from '../../../structs/vec4';
|
|
@@ -34,20 +33,14 @@ export type RailroadTrackPositionStructPropertyValue = {
|
|
|
34
33
|
offset: number;
|
|
35
34
|
forward: number;
|
|
36
35
|
};
|
|
37
|
-
export type InventoryItemStructPropertyValue = {
|
|
38
|
-
itemReference: ObjectReference;
|
|
39
|
-
itemState?: FGDynamicStruct;
|
|
40
|
-
legacyItemStateActor?: ObjectReference;
|
|
41
|
-
};
|
|
42
36
|
export type FICFrameRangeStructPropertyValue = {
|
|
43
37
|
begin: string;
|
|
44
38
|
end: string;
|
|
45
39
|
};
|
|
46
|
-
export type GENERIC_STRUCT_PROPERTY_VALUE = BasicMultipleStructPropertyValue | BasicStructPropertyValue | BoxStructPropertyValue | RailroadTrackPositionStructPropertyValue |
|
|
40
|
+
export type GENERIC_STRUCT_PROPERTY_VALUE = BasicMultipleStructPropertyValue | BasicStructPropertyValue | BoxStructPropertyValue | RailroadTrackPositionStructPropertyValue | FInventoryItem | FICFrameRangeStructPropertyValue | FClientIdentityInfo | DynamicStructPropertyValue | col4 | vec2 | vec3 | vec4 | string | FINNetworkTrace | FINGPUT1BufferPixel | FLBBalancerIndexing | FINLuaRuntimePersistenceState | FUniqueNetIdRepl | FPlayerInfoHandle;
|
|
47
41
|
export declare const isStructProperty: (property: any) => property is StructProperty;
|
|
48
42
|
export type StructProperty = AbstractBaseProperty & {
|
|
49
43
|
type: 'StructProperty';
|
|
50
|
-
subtype: string;
|
|
51
44
|
value: GENERIC_STRUCT_PROPERTY_VALUE;
|
|
52
45
|
};
|
|
53
46
|
export declare namespace StructProperty {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StructProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/containers/StructProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAEtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;
|
|
1
|
+
{"version":3,"file":"StructProperty.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/containers/StructProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAEtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAElF,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAExE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAE5E,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAEzF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAC;AAC/F,OAAO,EAAE,6BAA6B,EAAE,MAAM,oEAAoE,CAAC;AACnH,OAAO,EAAE,eAAe,EAAE,MAAM,sDAAsD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AI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,6BAA6B,CAAC;CACxC,CAAC;AAEF,yBAAiB,cAAc,CAAC;IAE5B,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,EAAE,GAAG,EAAE,YAAY,GAAG,IAAI,CAa9F;IAED,SAAgB,UAAU,CAAC,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,GAAG,6BAA6B,CA0HhI;IAED,SAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAE/E;IAED,SAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,6BAA6B,GAAG,IAAI,CAqIjH;CACJ"}
|
|
@@ -4,18 +4,17 @@ exports.StructProperty = exports.isStructProperty = void 0;
|
|
|
4
4
|
const save_custom_version_1 = require("../../../../save/save-custom-version");
|
|
5
5
|
const FClientIdentityInfo_1 = require("../../../structs/binary/FClientIdentityInfo");
|
|
6
6
|
const FColor_1 = require("../../../structs/binary/FColor");
|
|
7
|
+
const FInventoryItem_1 = require("../../../structs/binary/FInventoryItem");
|
|
7
8
|
const FLinearColor_1 = require("../../../structs/binary/FLinearColor");
|
|
8
9
|
const FPlayerInfoHandle_1 = require("../../../structs/binary/FPlayerInfoHandle");
|
|
9
10
|
const FUniqueNetIdRepl_1 = require("../../../structs/binary/FUniqueNetIdRepl");
|
|
10
11
|
const GUID_1 = require("../../../structs/binary/GUID");
|
|
11
12
|
const DynamicStructPropertyValue_1 = require("../../../structs/DynamicStructPropertyValue");
|
|
12
|
-
const FGDynamicStruct_1 = require("../../../structs/FGDynamicStruct");
|
|
13
13
|
const FICFrameRange_1 = require("../../../structs/mods/FicsItCam/FICFrameRange");
|
|
14
14
|
const FINGPUT1BufferPixel_1 = require("../../../structs/mods/FicsItNetworks/FINGPUT1BufferPixel");
|
|
15
15
|
const FINLuaRuntimePersistenceState_1 = require("../../../structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState");
|
|
16
16
|
const FINNetworkTrace_1 = require("../../../structs/mods/FicsItNetworks/FINNetworkTrace");
|
|
17
17
|
const FLBBalancerIndexing_1 = require("../../../structs/mods/ModularLoadBalancers/FLBBalancerIndexing");
|
|
18
|
-
const ObjectReference_1 = require("../../../structs/ObjectReference");
|
|
19
18
|
const vec2_1 = require("../../../structs/vec2");
|
|
20
19
|
const vec3_1 = require("../../../structs/vec3");
|
|
21
20
|
const vec4_1 = require("../../../structs/vec4");
|
|
@@ -90,16 +89,7 @@ var StructProperty;
|
|
|
90
89
|
value = FClientIdentityInfo_1.FClientIdentityInfo.read(reader);
|
|
91
90
|
break;
|
|
92
91
|
case 'InventoryItem':
|
|
93
|
-
|
|
94
|
-
value = {
|
|
95
|
-
itemReference: ObjectReference_1.ObjectReference.read(reader)
|
|
96
|
-
};
|
|
97
|
-
if (reader.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.RefactoredInventoryItemState) {
|
|
98
|
-
value.itemState = FGDynamicStruct_1.FGDynamicStruct.Parse(reader);
|
|
99
|
-
}
|
|
100
|
-
else {
|
|
101
|
-
value.legacyItemStateActor = ObjectReference_1.ObjectReference.read(reader);
|
|
102
|
-
}
|
|
92
|
+
value = FInventoryItem_1.FInventoryItem.read(reader);
|
|
103
93
|
break;
|
|
104
94
|
case 'FluidBox':
|
|
105
95
|
value = {
|
|
@@ -217,14 +207,7 @@ var StructProperty;
|
|
|
217
207
|
FClientIdentityInfo_1.FClientIdentityInfo.write(writer, value);
|
|
218
208
|
break;
|
|
219
209
|
case 'InventoryItem':
|
|
220
|
-
|
|
221
|
-
ObjectReference_1.ObjectReference.write(writer, value.itemReference);
|
|
222
|
-
if (writer.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.RefactoredInventoryItemState) {
|
|
223
|
-
FGDynamicStruct_1.FGDynamicStruct.Serialize(writer, value.itemState);
|
|
224
|
-
}
|
|
225
|
-
else {
|
|
226
|
-
ObjectReference_1.ObjectReference.write(writer, value.legacyItemStateActor);
|
|
227
|
-
}
|
|
210
|
+
FInventoryItem_1.FInventoryItem.write(writer, value);
|
|
228
211
|
break;
|
|
229
212
|
case 'FluidBox':
|
|
230
213
|
value = value;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StructProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/containers/StructProperty.ts"],"names":[],"mappings":";;;AAEA,8EAAyE;AACzE,qFAAkF;AAClF,2DAAwD;AACxD,uEAAoE;AACpE,iFAA8E;AAG9E,+EAA4E;AAC5E,uDAAoD;AAEpD,4FAAyF;AACzF,sEAAmE;AACnE,iFAA8E;AAC9E,kGAA+F;AAC/F,sHAAmH;AACnH,0FAAuF;AACvF,wGAAqG;AACrG,sEAAmE;AACnE,gDAA6C;AAC7C,gDAA6C;AAC7C,gDAA6C;AAwCtC,MAAM,gBAAgB,GAAG,CAAC,QAAa,EAA8B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,KAAK,gBAAgB,CAAC;AAAjJ,QAAA,gBAAgB,oBAAiI;AAQ9J,IAAiB,cAAc,CA0S9B;AA1SD,WAAiB,cAAc;IAE3B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAwB,EAAE,GAAiB;QAEpF,MAAM,MAAM,GAAG,MAAM,CAAC,iBAAiB,EAAE,CAAC;QAC1C,QAAQ,CAAC,KAAK,GAAG,UAAU,CAAC,MAAM,EAAE,QAAQ,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;QAC1F,MAAM,SAAS,GAAG,MAAM,CAAC,iBAAiB,EAAE,GAAG,MAAM,CAAC;QACtD,IAAI,SAAS,KAAK,GAAG,CAAC,UAAU,EAAE,CAAC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AK,+BAA+B;gBAChC,6DAA6B,CAAC,KAAK,CAAC,MAAM,EAAE,KAAsC,CAAC,CAAC;gBACpF,MAAM;YAEV;gBACI,uDAA0B,CAAC,KAAK,CAAC,MAAM,EAAE,KAAmC,CAAC,CAAC;gBAC9E,MAAM;QACd,CAAC;IACL,CAAC;IA5Ie,6BAAc,iBA4I7B,CAAA;AACL,CAAC,EA1SgB,cAAc,8BAAd,cAAc,QA0S9B","sourcesContent":["import { ContextReader } from '../../../../../context/context-reader';\nimport { ContextWriter } from '../../../../../context/context-writer';\nimport { SaveCustomVersion } from '../../../../save/save-custom-version';\nimport { FClientIdentityInfo } from '../../../structs/binary/FClientIdentityInfo';\nimport { FColor } from '../../../structs/binary/FColor';\nimport { FLinearColor } from '../../../structs/binary/FLinearColor';\nimport { FPlayerInfoHandle } from '../../../structs/binary/FPlayerInfoHandle';\nimport { FPropertyTag } from '../../../structs/binary/FPropertyTag';\nimport { FPropertyTagNode } from '../../../structs/binary/FPropertyTagNode';\nimport { FUniqueNetIdRepl } from '../../../structs/binary/FUniqueNetIdRepl';\nimport { GUID } from '../../../structs/binary/GUID';\nimport { col4 } from '../../../structs/col4';\nimport { DynamicStructPropertyValue } from '../../../structs/DynamicStructPropertyValue';\nimport { FGDynamicStruct } from '../../../structs/FGDynamicStruct';\nimport { FICFrameRange } from '../../../structs/mods/FicsItCam/FICFrameRange';\nimport { FINGPUT1BufferPixel } from '../../../structs/mods/FicsItNetworks/FINGPUT1BufferPixel';\nimport { FINLuaRuntimePersistenceState } from '../../../structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState';\nimport { FINNetworkTrace } from '../../../structs/mods/FicsItNetworks/FINNetworkTrace';\nimport { FLBBalancerIndexing } from '../../../structs/mods/ModularLoadBalancers/FLBBalancerIndexing';\nimport { ObjectReference } from '../../../structs/ObjectReference';\nimport { vec2 } from '../../../structs/vec2';\nimport { vec3 } from '../../../structs/vec3';\nimport { vec4 } from '../../../structs/vec4';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\n\n\nexport type BasicMultipleStructPropertyValue = {\n values: any;\n};\n\nexport type BasicStructPropertyValue = {\n value: any;\n};\n\nexport type BoxStructPropertyValue = {\n min: vec3;\n max: vec3;\n isValid: boolean;\n};\n\nexport type RailroadTrackPositionStructPropertyValue = {\n root: string;\n instanceName: string;\n offset: number;\n forward: number;\n};\n\nexport type InventoryItemStructPropertyValue = {\n itemReference: ObjectReference;\n itemState?: FGDynamicStruct;\n legacyItemStateActor?: ObjectReference;\n};\n\nexport type FICFrameRangeStructPropertyValue = {\n begin: string;\n end: string;\n};\n\nexport type GENERIC_STRUCT_PROPERTY_VALUE = BasicMultipleStructPropertyValue | BasicStructPropertyValue | BoxStructPropertyValue | RailroadTrackPositionStructPropertyValue |\n InventoryItemStructPropertyValue | FICFrameRangeStructPropertyValue | FClientIdentityInfo | DynamicStructPropertyValue | col4 | vec2 | vec3 | vec4 | string |\n FINNetworkTrace | FINGPUT1BufferPixel | FLBBalancerIndexing | FINLuaRuntimePersistenceState | FUniqueNetIdRepl | FPlayerInfoHandle;\n\nexport const isStructProperty = (property: any): property is StructProperty => !Array.isArray(property) && property.propertyTagType.name === 'StructProperty';\n\nexport type StructProperty = AbstractBaseProperty & {\n type: 'StructProperty';\n subtype: string;\n value: GENERIC_STRUCT_PROPERTY_VALUE;\n};\n\nexport namespace StructProperty {\n\n export function Parse(reader: ContextReader, property: StructProperty, tag: FPropertyTag): void {\n\n const before = reader.getBufferPosition();\n property.value = ParseValue(reader, property.propertyTagType.children[0], tag.binarySize);\n const readBytes = reader.getBufferPosition() - before;\n if (readBytes !== tag.binarySize) {\n if (tag.binarySize - readBytes === 4) {\n // U8, fine - honestly i am not sure whether this is even still relevant. with some bug fixes this most likely has been fixed.\n reader.skipBytes(tag.binarySize - readBytes);\n } else {\n throw new Error(`possibly corrupt. Read ${readBytes} for structproperty of ${JSON.stringify(property.propertyTagType.children[0].name)}, but ${tag.binarySize} were indicated.`);\n }\n }\n }\n\n export function ParseValue(reader: ContextReader, propertyTagType: FPropertyTagNode, size: number): GENERIC_STRUCT_PROPERTY_VALUE {\n\n let value: GENERIC_STRUCT_PROPERTY_VALUE;\n\n switch (propertyTagType.name) {\n case 'Color':\n value = FColor.read(reader);\n break;\n\n case 'IntPoint':\n value = reader.readInt64().toString();\n break;\n\n case 'LinearColor':\n value = FLinearColor.read(reader);\n break;\n\n case 'Vector2D':\n value = (reader.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec2.Parse(reader) : vec2.ParseF(reader);\n break;\n\n case 'Vector':\n case 'Rotator':\n value = (reader.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec3.Parse(reader) : vec3.ParseF(reader);\n break;\n\n case 'Quat':\n case 'Vector4':\n case 'Vector4D':\n value = (reader.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec4.Parse(reader) : vec4.ParseF(reader);\n break;\n\n case 'Box':\n value = ((reader.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) ? {\n min: vec3.Parse(reader),\n max: vec3.Parse(reader),\n isValid: reader.readByte() >= 1\n } : {\n min: vec3.ParseF(reader),\n max: vec3.ParseF(reader),\n isValid: reader.readByte() >= 1\n }) satisfies BoxStructPropertyValue;\n break;\n\n case 'RailroadTrackPosition':\n value = {\n root: reader.readString(),\n instanceName: reader.readString(),\n offset: reader.readFloat32(),\n forward: reader.readFloat32()\n };\n break;\n\n case 'TimerHandle':\n value = reader.readString();\n break;\n\n case 'Guid':\n value = GUID.read(reader);\n break;\n\n case 'ClientIdentityInfo':\n value = FClientIdentityInfo.read(reader);\n break;\n\n case 'InventoryItem':\n const before = reader.getBufferPosition();\n\n value = {\n itemReference: ObjectReference.read(reader)\n } satisfies InventoryItemStructPropertyValue;\n\n // inventory items have potentially an item state. but not before explicit version\n if (reader.context.saveVersion.object >= SaveCustomVersion.RefactoredInventoryItemState) {\n value.itemState = FGDynamicStruct.Parse(reader);\n } else {\n value.legacyItemStateActor = ObjectReference.read(reader);\n }\n\n break;\n\n case 'FluidBox':\n value = {\n value: reader.readFloat32()\n };\n break;\n\n case 'SlateBrush':\n value = reader.readString();\n break;\n\n case 'DateTime':\n value = reader.readInt64().toString();\n break;\n\n case 'UniqueNetIdRepl':\n value = FUniqueNetIdRepl.read(reader, size);\n break;\n\n case 'PlayerInfoHandle':\n value = FPlayerInfoHandle.read(reader);\n break;\n\n // FixsitCamera mod\n case 'FICFrameRange':\n value = FICFrameRange.read(reader);\n break;\n\n // MLB mod\n case 'LBBalancerIndexing':\n value = FLBBalancerIndexing.read(reader);\n break;\n\n // FicsIt-Networks mod\n case 'FINNetworkTrace':\n case 'FIRTrace':\n value = FINNetworkTrace.read(reader);\n break;\n\n case 'FINGPUT1BufferPixel':\n value = FINGPUT1BufferPixel.read(reader);\n break;\n\n case 'FINLuaProcessorStateStorage':\n case 'FINLuaRuntimePersistenceState':\n value = FINLuaRuntimePersistenceState.read(reader, size);\n break;\n\n default:\n value = DynamicStructPropertyValue.read(reader, propertyTagType.name);\n break;\n }\n\n return value;\n }\n\n export function Serialize(writer: ContextWriter, property: StructProperty): void {\n StructProperty.SerializeValue(writer, property.propertyTagType.children[0].name, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, subtype: string, value: GENERIC_STRUCT_PROPERTY_VALUE): void {\n\n switch (subtype) {\n case 'Color':\n FColor.write(writer, value as FColor);\n break;\n\n case 'IntPoint':\n writer.writeInt64(BigInt(value as string))\n break;\n\n case 'LinearColor':\n FLinearColor.write(writer, value as FLinearColor);\n break;\n\n case 'Vector2D':\n value = value as vec2;\n if (writer.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) {\n vec2.Serialize(writer, value);\n } else {\n vec2.SerializeF(writer, value);\n }\n break;\n\n case 'Vector':\n case 'Rotator':\n value = value as vec3;\n if (writer.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) {\n vec3.Serialize(writer, value as vec3);\n } else {\n vec3.SerializeF(writer, value as vec3);\n }\n break;\n\n case 'Quat':\n case 'Vector4':\n case 'Vector4D':\n value = value as vec4;\n if (writer.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) {\n vec4.Serialize(writer, value as vec4);\n } else {\n vec4.SerializeF(writer, value as vec4);\n }\n break;\n\n case 'Box':\n value = value as BoxStructPropertyValue;\n if (writer.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) {\n vec3.Serialize(writer, value.min);\n vec3.Serialize(writer, value.max);\n } else {\n vec3.SerializeF(writer, value.min);\n vec3.SerializeF(writer, value.max);\n }\n writer.writeByte(value.isValid ? 1 : 0);\n break;\n\n case 'RailroadTrackPosition':\n value = value as RailroadTrackPositionStructPropertyValue;\n writer.writeString(value.root);\n writer.writeString(value.instanceName);\n writer.writeFloat32(value.offset);\n writer.writeFloat32(value.forward);\n break;\n\n case 'TimerHandle':\n value = value as string;\n writer.writeString(value);\n break;\n\n case 'Guid':\n GUID.write(writer, value as GUID);\n break;\n\n case 'ClientIdentityInfo':\n FClientIdentityInfo.write(writer, value as FClientIdentityInfo);\n break;\n\n case 'InventoryItem':\n value = value as InventoryItemStructPropertyValue;\n ObjectReference.write(writer, value.itemReference);\n\n if (writer.context.saveVersion.object >= SaveCustomVersion.RefactoredInventoryItemState) {\n FGDynamicStruct.Serialize(writer, value.itemState!);\n } else {\n ObjectReference.write(writer, value.legacyItemStateActor!);\n }\n break;\n\n case 'FluidBox':\n value = value as BasicStructPropertyValue;\n writer.writeFloat32(value.value);\n break;\n\n case 'SlateBrush':\n writer.writeString(value as string);\n break;\n\n case 'DateTime':\n value = value as string;\n writer.writeInt64(BigInt(value));\n break;\n\n case 'UniqueNetIdRepl':\n FUniqueNetIdRepl.write(writer, value as FUniqueNetIdRepl);\n break;\n\n case 'PlayerInfoHandle':\n FPlayerInfoHandle.write(writer, value as FPlayerInfoHandle);\n break;\n\n // MODS\n case 'FICFrameRange':\n FICFrameRange.write(writer, value as FICFrameRange);\n break;\n\n // MLB mod\n case 'LBBalancerIndexing':\n FLBBalancerIndexing.write(writer, value as FLBBalancerIndexing);\n break;\n\n // FicsItNetworks mod\n case 'FINNetworkTrace':\n case 'FIRTrace':\n FINNetworkTrace.write(writer, value as FINNetworkTrace);\n break;\n\n case 'FINGPUT1BufferPixel':\n FINGPUT1BufferPixel.write(writer, value as FINGPUT1BufferPixel);\n break;\n\n case 'FINLuaProcessorStateStorage':\n case 'FINLuaRuntimePersistenceState':\n FINLuaRuntimePersistenceState.write(writer, value as FINLuaRuntimePersistenceState);\n break;\n\n default:\n DynamicStructPropertyValue.write(writer, value as DynamicStructPropertyValue);\n break;\n }\n }\n}\n\n\n"]}
|
|
1
|
+
{"version":3,"file":"StructProperty.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/property/generic/containers/StructProperty.ts"],"names":[],"mappings":";;;AAEA,8EAAyE;AACzE,qFAAkF;AAClF,2DAAwD;AACxD,2EAAwE;AACxE,uEAAoE;AACpE,iFAA8E;AAG9E,+EAA4E;AAC5E,uDAAoD;AAEpD,4FAAyF;AACzF,iFAA8E;AAC9E,kGAA+F;AAC/F,sHAAmH;AACnH,0FAAuF;AACvF,wGAAqG;AACrG,gDAA6C;AAC7C,gDAA6C;AAC7C,gDAA6C;AAkCtC,MAAM,gBAAgB,GAAG,CAAC,QAAa,EAA8B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,KAAK,gBAAgB,CAAC;AAAjJ,QAAA,gBAAgB,oBAAiI;AAO9J,IAAiB,cAAc,CAuR9B;AAvRD,WAAiB,cAAc;IAE3B,SAAgB,KAAK,CAAC,MAAqB,EAAE,QAAwB,EAAE,GAAiB;QAEpF,MAAM,MAAM,GAAG,MAAM,CAAC,iBAAiB,EAAE,CAAC;QAC1C,QAAQ,CAAC,KAAK,GAAG,UAAU,CAAC,MAAM,EAAE,QAAQ,CA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ACxB,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;gBACjC,MAAM;YAEV,KAAK,iBAAiB;gBAClB,mCAAgB,CAAC,KAAK,CAAC,MAAM,EAAE,KAAyB,CAAC,CAAC;gBAC1D,MAAM;YAEV,KAAK,kBAAkB;gBACnB,qCAAiB,CAAC,KAAK,CAAC,MAAM,EAAE,KAA0B,CAAC,CAAC;gBAC5D,MAAM;YAGV,KAAK,eAAe;gBAChB,6BAAa,CAAC,KAAK,CAAC,MAAM,EAAE,KAAsB,CAAC,CAAC;gBACpD,MAAM;YAGV,KAAK,oBAAoB;gBACrB,yCAAmB,CAAC,KAAK,CAAC,MAAM,EAAE,KAA4B,CAAC,CAAC;gBAChE,MAAM;YAGV,KAAK,iBAAiB,CAAC;YACvB,KAAK,UAAU;gBACX,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,KAAwB,CAAC,CAAC;gBACxD,MAAM;YAEV,KAAK,qBAAqB;gBACtB,yCAAmB,CAAC,KAAK,CAAC,MAAM,EAAE,KAA4B,CAAC,CAAC;gBAChE,MAAM;YAEV,KAAK,6BAA6B,CAAC;YACnC,KAAK,+BAA+B;gBAChC,6DAA6B,CAAC,KAAK,CAAC,MAAM,EAAE,KAAsC,CAAC,CAAC;gBACpF,MAAM;YAEV;gBACI,uDAA0B,CAAC,KAAK,CAAC,MAAM,EAAE,KAAmC,CAAC,CAAC;gBAC9E,MAAM;QACd,CAAC;IACL,CAAC;IArIe,6BAAc,iBAqI7B,CAAA;AACL,CAAC,EAvRgB,cAAc,8BAAd,cAAc,QAuR9B","sourcesContent":["import { ContextReader } from '../../../../../context/context-reader';\nimport { ContextWriter } from '../../../../../context/context-writer';\nimport { SaveCustomVersion } from '../../../../save/save-custom-version';\nimport { FClientIdentityInfo } from '../../../structs/binary/FClientIdentityInfo';\nimport { FColor } from '../../../structs/binary/FColor';\nimport { FInventoryItem } from '../../../structs/binary/FInventoryItem';\nimport { FLinearColor } from '../../../structs/binary/FLinearColor';\nimport { FPlayerInfoHandle } from '../../../structs/binary/FPlayerInfoHandle';\nimport { FPropertyTag } from '../../../structs/binary/FPropertyTag';\nimport { FPropertyTagNode } from '../../../structs/binary/FPropertyTagNode';\nimport { FUniqueNetIdRepl } from '../../../structs/binary/FUniqueNetIdRepl';\nimport { GUID } from '../../../structs/binary/GUID';\nimport { col4 } from '../../../structs/col4';\nimport { DynamicStructPropertyValue } from '../../../structs/DynamicStructPropertyValue';\nimport { FICFrameRange } from '../../../structs/mods/FicsItCam/FICFrameRange';\nimport { FINGPUT1BufferPixel } from '../../../structs/mods/FicsItNetworks/FINGPUT1BufferPixel';\nimport { FINLuaRuntimePersistenceState } from '../../../structs/mods/FicsItNetworks/FINLuaRuntimePersistenceState';\nimport { FINNetworkTrace } from '../../../structs/mods/FicsItNetworks/FINNetworkTrace';\nimport { FLBBalancerIndexing } from '../../../structs/mods/ModularLoadBalancers/FLBBalancerIndexing';\nimport { vec2 } from '../../../structs/vec2';\nimport { vec3 } from '../../../structs/vec3';\nimport { vec4 } from '../../../structs/vec4';\nimport { AbstractBaseProperty } from '../AbstractBaseProperty';\n\n\nexport type BasicMultipleStructPropertyValue = {\n values: any;\n};\n\nexport type BasicStructPropertyValue = {\n value: any;\n};\n\nexport type BoxStructPropertyValue = {\n min: vec3;\n max: vec3;\n isValid: boolean;\n};\n\nexport type RailroadTrackPositionStructPropertyValue = {\n root: string;\n instanceName: string;\n offset: number;\n forward: number;\n};\n\nexport type FICFrameRangeStructPropertyValue = {\n begin: string;\n end: string;\n};\n\nexport type GENERIC_STRUCT_PROPERTY_VALUE = BasicMultipleStructPropertyValue | BasicStructPropertyValue | BoxStructPropertyValue | RailroadTrackPositionStructPropertyValue |\n FInventoryItem | FICFrameRangeStructPropertyValue | FClientIdentityInfo | DynamicStructPropertyValue | col4 | vec2 | vec3 | vec4 | string |\n FINNetworkTrace | FINGPUT1BufferPixel | FLBBalancerIndexing | FINLuaRuntimePersistenceState | FUniqueNetIdRepl | FPlayerInfoHandle;\n\nexport const isStructProperty = (property: any): property is StructProperty => !Array.isArray(property) && property.propertyTagType.name === 'StructProperty';\n\nexport type StructProperty = AbstractBaseProperty & {\n type: 'StructProperty';\n value: GENERIC_STRUCT_PROPERTY_VALUE;\n};\n\nexport namespace StructProperty {\n\n export function Parse(reader: ContextReader, property: StructProperty, tag: FPropertyTag): void {\n\n const before = reader.getBufferPosition();\n property.value = ParseValue(reader, property.propertyTagType.children[0], tag.binarySize);\n const readBytes = reader.getBufferPosition() - before;\n if (readBytes !== tag.binarySize) {\n if (tag.binarySize - readBytes === 4) {\n // U8, fine - honestly i am not sure whether this is even still relevant. with some bug fixes this most likely has been fixed.\n reader.skipBytes(tag.binarySize - readBytes);\n } else {\n throw new Error(`possibly corrupt. Read ${readBytes} for structproperty of ${JSON.stringify(property.propertyTagType.children[0].name)}, but ${tag.binarySize} were indicated.`);\n }\n }\n }\n\n export function ParseValue(reader: ContextReader, propertyTagType: FPropertyTagNode, size: number): GENERIC_STRUCT_PROPERTY_VALUE {\n\n let value: GENERIC_STRUCT_PROPERTY_VALUE;\n\n switch (propertyTagType.name) {\n case 'Color':\n value = FColor.read(reader);\n break;\n\n case 'IntPoint':\n value = reader.readInt64().toString();\n break;\n\n case 'LinearColor':\n value = FLinearColor.read(reader);\n break;\n\n case 'Vector2D':\n value = (reader.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec2.Parse(reader) : vec2.ParseF(reader);\n break;\n\n case 'Vector':\n case 'Rotator':\n value = (reader.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec3.Parse(reader) : vec3.ParseF(reader);\n break;\n\n case 'Quat':\n case 'Vector4':\n case 'Vector4D':\n value = (reader.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) ? vec4.Parse(reader) : vec4.ParseF(reader);\n break;\n\n case 'Box':\n value = ((reader.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) ? {\n min: vec3.Parse(reader),\n max: vec3.Parse(reader),\n isValid: reader.readByte() >= 1\n } : {\n min: vec3.ParseF(reader),\n max: vec3.ParseF(reader),\n isValid: reader.readByte() >= 1\n }) satisfies BoxStructPropertyValue;\n break;\n\n case 'RailroadTrackPosition':\n value = {\n root: reader.readString(),\n instanceName: reader.readString(),\n offset: reader.readFloat32(),\n forward: reader.readFloat32()\n };\n break;\n\n case 'TimerHandle':\n value = reader.readString();\n break;\n\n case 'Guid':\n value = GUID.read(reader);\n break;\n\n case 'ClientIdentityInfo':\n value = FClientIdentityInfo.read(reader);\n break;\n\n case 'InventoryItem':\n value = FInventoryItem.read(reader);\n break;\n\n case 'FluidBox':\n value = {\n value: reader.readFloat32()\n };\n break;\n\n case 'SlateBrush':\n value = reader.readString();\n break;\n\n case 'DateTime':\n value = reader.readInt64().toString();\n break;\n\n case 'UniqueNetIdRepl':\n value = FUniqueNetIdRepl.read(reader, size);\n break;\n\n case 'PlayerInfoHandle':\n value = FPlayerInfoHandle.read(reader);\n break;\n\n // FixsitCamera mod\n case 'FICFrameRange':\n value = FICFrameRange.read(reader);\n break;\n\n // MLB mod\n case 'LBBalancerIndexing':\n value = FLBBalancerIndexing.read(reader);\n break;\n\n // FicsIt-Networks mod\n case 'FINNetworkTrace':\n case 'FIRTrace':\n value = FINNetworkTrace.read(reader);\n break;\n\n case 'FINGPUT1BufferPixel':\n value = FINGPUT1BufferPixel.read(reader);\n break;\n\n case 'FINLuaProcessorStateStorage':\n case 'FINLuaRuntimePersistenceState':\n value = FINLuaRuntimePersistenceState.read(reader, size);\n break;\n\n default:\n value = DynamicStructPropertyValue.read(reader, propertyTagType.name);\n break;\n }\n\n return value;\n }\n\n export function Serialize(writer: ContextWriter, property: StructProperty): void {\n StructProperty.SerializeValue(writer, property.propertyTagType.children[0].name, property.value);\n }\n\n export function SerializeValue(writer: ContextWriter, subtype: string, value: GENERIC_STRUCT_PROPERTY_VALUE): void {\n\n switch (subtype) {\n case 'Color':\n FColor.write(writer, value as FColor);\n break;\n\n case 'IntPoint':\n writer.writeInt64(BigInt(value as string))\n break;\n\n case 'LinearColor':\n FLinearColor.write(writer, value as FLinearColor);\n break;\n\n case 'Vector2D':\n value = value as vec2;\n if (writer.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) {\n vec2.Serialize(writer, value);\n } else {\n vec2.SerializeF(writer, value);\n }\n break;\n\n case 'Vector':\n case 'Rotator':\n value = value as vec3;\n if (writer.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) {\n vec3.Serialize(writer, value as vec3);\n } else {\n vec3.SerializeF(writer, value as vec3);\n }\n break;\n\n case 'Quat':\n case 'Vector4':\n case 'Vector4D':\n value = value as vec4;\n if (writer.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) {\n vec4.Serialize(writer, value as vec4);\n } else {\n vec4.SerializeF(writer, value as vec4);\n }\n break;\n\n case 'Box':\n value = value as BoxStructPropertyValue;\n if (writer.context.saveVersion.object >= SaveCustomVersion.SwitchTo64BitSaveArchive) {\n vec3.Serialize(writer, value.min);\n vec3.Serialize(writer, value.max);\n } else {\n vec3.SerializeF(writer, value.min);\n vec3.SerializeF(writer, value.max);\n }\n writer.writeByte(value.isValid ? 1 : 0);\n break;\n\n case 'RailroadTrackPosition':\n value = value as RailroadTrackPositionStructPropertyValue;\n writer.writeString(value.root);\n writer.writeString(value.instanceName);\n writer.writeFloat32(value.offset);\n writer.writeFloat32(value.forward);\n break;\n\n case 'TimerHandle':\n value = value as string;\n writer.writeString(value);\n break;\n\n case 'Guid':\n GUID.write(writer, value as GUID);\n break;\n\n case 'ClientIdentityInfo':\n FClientIdentityInfo.write(writer, value as FClientIdentityInfo);\n break;\n\n case 'InventoryItem':\n FInventoryItem.write(writer, value as FInventoryItem);\n break;\n\n case 'FluidBox':\n value = value as BasicStructPropertyValue;\n writer.writeFloat32(value.value);\n break;\n\n case 'SlateBrush':\n writer.writeString(value as string);\n break;\n\n case 'DateTime':\n value = value as string;\n writer.writeInt64(BigInt(value));\n break;\n\n case 'UniqueNetIdRepl':\n FUniqueNetIdRepl.write(writer, value as FUniqueNetIdRepl);\n break;\n\n case 'PlayerInfoHandle':\n FPlayerInfoHandle.write(writer, value as FPlayerInfoHandle);\n break;\n\n // MODS\n case 'FICFrameRange':\n FICFrameRange.write(writer, value as FICFrameRange);\n break;\n\n // MLB mod\n case 'LBBalancerIndexing':\n FLBBalancerIndexing.write(writer, value as FLBBalancerIndexing);\n break;\n\n // FicsItNetworks mod\n case 'FINNetworkTrace':\n case 'FIRTrace':\n FINNetworkTrace.write(writer, value as FINNetworkTrace);\n break;\n\n case 'FINGPUT1BufferPixel':\n FINGPUT1BufferPixel.write(writer, value as FINGPUT1BufferPixel);\n break;\n\n case 'FINLuaProcessorStateStorage':\n case 'FINLuaRuntimePersistenceState':\n FINLuaRuntimePersistenceState.write(writer, value as FINLuaRuntimePersistenceState);\n break;\n\n default:\n DynamicStructPropertyValue.write(writer, value as DynamicStructPropertyValue);\n break;\n }\n }\n}\n\n\n"]}
|