@etothepii/satisfactory-file-parser 4.0.2 → 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 +5 -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 -8
- 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/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.d.ts
CHANGED
|
@@ -1,40 +1,22 @@
|
|
|
1
1
|
import { ContextReader } from '../../../../context/context-reader';
|
|
2
2
|
import { ContextWriter } from '../../../../context/context-writer';
|
|
3
|
+
import { FConveyorBeltItem } from '../../structs/binary/FConveyorBeltItem';
|
|
4
|
+
import { FConveyorChainSplineSegment } from '../../structs/binary/FConveyorChainSplineSegment';
|
|
3
5
|
import { ObjectReference } from '../../structs/ObjectReference';
|
|
4
|
-
import { vec3 } from '../../structs/vec3';
|
|
5
6
|
export declare const isConveyorChainActorSpecialProperties: (obj: any) => obj is ConveyorChainActorSpecialProperties;
|
|
6
7
|
export type ConveyorChainActorSpecialProperties = {
|
|
7
8
|
type: 'ConveyorChainActorSpecialProperties';
|
|
8
9
|
firstBelt: ObjectReference;
|
|
9
10
|
lastBelt: ObjectReference;
|
|
10
|
-
beltsInChain:
|
|
11
|
+
beltsInChain: FConveyorChainSplineSegment[];
|
|
11
12
|
totalLength: number;
|
|
12
13
|
totalNumberItemsMaybe: number;
|
|
13
14
|
firstChainItemIndex: number;
|
|
14
15
|
lastChainItemIndex: number;
|
|
15
|
-
items:
|
|
16
|
+
items: FConveyorBeltItem[];
|
|
16
17
|
};
|
|
17
18
|
export declare namespace ConveyorChainActorSpecialProperties {
|
|
18
19
|
const Parse: (reader: ContextReader) => ConveyorChainActorSpecialProperties;
|
|
19
20
|
const Serialize: (writer: ContextWriter, property: ConveyorChainActorSpecialProperties) => void;
|
|
20
21
|
}
|
|
21
|
-
export type ConveyorChainSegmentSpecialProperties = {
|
|
22
|
-
chainActorRef: ObjectReference;
|
|
23
|
-
beltRef: ObjectReference;
|
|
24
|
-
splinePoints: {
|
|
25
|
-
location: vec3;
|
|
26
|
-
arriveTangent: vec3;
|
|
27
|
-
leaveTangent: vec3;
|
|
28
|
-
}[];
|
|
29
|
-
offsetAtStart: number;
|
|
30
|
-
startsAtLength: number;
|
|
31
|
-
endsAtLength: number;
|
|
32
|
-
firstItemIndex: number;
|
|
33
|
-
lastItemIndex: number;
|
|
34
|
-
beltIndexInChain: number;
|
|
35
|
-
};
|
|
36
|
-
export type ConveyorItemSpecialProperties = {
|
|
37
|
-
position: number;
|
|
38
|
-
itemReference: ObjectReference;
|
|
39
|
-
};
|
|
40
22
|
//# sourceMappingURL=ConveyorChainActorSpecialProperties.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConveyorChainActorSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ConveyorChainActorSpecialProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGhE,eAAO,MAAM,qCAAqC,QAAS,GAAG,KAAG,GAAG,IAAI,mCAAyF,CAAC;AAElK,MAAM,MAAM,mCAAmC,GAAG;IAC9C,IAAI,EAAE,qCAAqC,CAAC;IAC5C,SAAS,EAAE,eAAe,CAAC;IAC3B,QAAQ,EAAE,eAAe,CAAC;IAC1B,YAAY,EAAE,2BAA2B,EAAE,CAAC;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC9B,CAAC;AAEF,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,KAAK,WAAY,aAAa,KAAG,mCAkC7C,CAAC;IAEK,MAAM,SAAS,WAAY,aAAa,YAAY,mCAAmC,KAAG,IAmBhG,CAAC;CACL"}
|
package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConveyorChainActorSpecialProperties = exports.isConveyorChainActorSpecialProperties = void 0;
|
|
4
|
+
const FConveyorBeltItem_1 = require("../../structs/binary/FConveyorBeltItem");
|
|
5
|
+
const FConveyorChainSplineSegment_1 = require("../../structs/binary/FConveyorChainSplineSegment");
|
|
4
6
|
const ObjectReference_1 = require("../../structs/ObjectReference");
|
|
5
|
-
const vec3_1 = require("../../structs/vec3");
|
|
6
7
|
const isConveyorChainActorSpecialProperties = (obj) => obj.type === 'ConveyorChainActorSpecialProperties';
|
|
7
8
|
exports.isConveyorChainActorSpecialProperties = isConveyorChainActorSpecialProperties;
|
|
8
9
|
var ConveyorChainActorSpecialProperties;
|
|
@@ -13,34 +14,7 @@ var ConveyorChainActorSpecialProperties;
|
|
|
13
14
|
const countBeltsInChain = reader.readInt32();
|
|
14
15
|
const beltsInChain = [];
|
|
15
16
|
for (let i = 0; i < countBeltsInChain; i++) {
|
|
16
|
-
|
|
17
|
-
const beltRef = ObjectReference_1.ObjectReference.read(reader);
|
|
18
|
-
const splinePointsCount = reader.readInt32();
|
|
19
|
-
const splinePoints = [];
|
|
20
|
-
for (let j = 0; j < splinePointsCount; j++) {
|
|
21
|
-
splinePoints.push({
|
|
22
|
-
location: vec3_1.vec3.Parse(reader),
|
|
23
|
-
arriveTangent: vec3_1.vec3.Parse(reader),
|
|
24
|
-
leaveTangent: vec3_1.vec3.Parse(reader),
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
const offsetAtStart = reader.readFloat32();
|
|
28
|
-
const startsAtLength = reader.readFloat32();
|
|
29
|
-
const endsAtLength = reader.readFloat32();
|
|
30
|
-
const firstItemIndex = reader.readInt32();
|
|
31
|
-
const lastItemIndex = reader.readInt32();
|
|
32
|
-
const beltIndexInChain = reader.readInt32();
|
|
33
|
-
beltsInChain.push({
|
|
34
|
-
chainActorRef,
|
|
35
|
-
beltRef,
|
|
36
|
-
splinePoints,
|
|
37
|
-
offsetAtStart,
|
|
38
|
-
startsAtLength,
|
|
39
|
-
endsAtLength,
|
|
40
|
-
firstItemIndex,
|
|
41
|
-
lastItemIndex,
|
|
42
|
-
beltIndexInChain
|
|
43
|
-
});
|
|
17
|
+
beltsInChain.push(FConveyorChainSplineSegment_1.FConveyorChainSplineSegment.read(reader));
|
|
44
18
|
}
|
|
45
19
|
const totalLength = reader.readFloat32();
|
|
46
20
|
const totalNumberItemsMaybe = reader.readInt32();
|
|
@@ -49,10 +23,7 @@ var ConveyorChainActorSpecialProperties;
|
|
|
49
23
|
const countItemsInChain = reader.readInt32();
|
|
50
24
|
const items = [];
|
|
51
25
|
for (let n = 0; n < countItemsInChain; n++) {
|
|
52
|
-
|
|
53
|
-
reader.readInt32();
|
|
54
|
-
const position = reader.readInt32();
|
|
55
|
-
items.push({ itemReference: item, position });
|
|
26
|
+
items.push(FConveyorBeltItem_1.FConveyorBeltItem.read(reader));
|
|
56
27
|
}
|
|
57
28
|
return {
|
|
58
29
|
type: 'ConveyorChainActorSpecialProperties',
|
|
@@ -71,20 +42,7 @@ var ConveyorChainActorSpecialProperties;
|
|
|
71
42
|
ObjectReference_1.ObjectReference.write(writer, property.firstBelt);
|
|
72
43
|
writer.writeInt32(property.beltsInChain.length);
|
|
73
44
|
for (const belt of property.beltsInChain) {
|
|
74
|
-
|
|
75
|
-
ObjectReference_1.ObjectReference.write(writer, belt.beltRef);
|
|
76
|
-
writer.writeInt32(belt.splinePoints.length);
|
|
77
|
-
for (const splinepoint of belt.splinePoints) {
|
|
78
|
-
vec3_1.vec3.Serialize(writer, splinepoint.location);
|
|
79
|
-
vec3_1.vec3.Serialize(writer, splinepoint.arriveTangent);
|
|
80
|
-
vec3_1.vec3.Serialize(writer, splinepoint.leaveTangent);
|
|
81
|
-
}
|
|
82
|
-
writer.writeFloat32(belt.offsetAtStart);
|
|
83
|
-
writer.writeFloat32(belt.startsAtLength);
|
|
84
|
-
writer.writeFloat32(belt.endsAtLength);
|
|
85
|
-
writer.writeInt32(belt.firstItemIndex);
|
|
86
|
-
writer.writeInt32(belt.lastItemIndex);
|
|
87
|
-
writer.writeInt32(belt.beltIndexInChain);
|
|
45
|
+
FConveyorChainSplineSegment_1.FConveyorChainSplineSegment.write(writer, belt);
|
|
88
46
|
}
|
|
89
47
|
writer.writeFloat32(property.totalLength);
|
|
90
48
|
writer.writeInt32(property.totalNumberItemsMaybe);
|
|
@@ -92,9 +50,7 @@ var ConveyorChainActorSpecialProperties;
|
|
|
92
50
|
writer.writeInt32(property.lastChainItemIndex);
|
|
93
51
|
writer.writeInt32(property.items.length);
|
|
94
52
|
for (const item of property.items) {
|
|
95
|
-
|
|
96
|
-
writer.writeInt32(0);
|
|
97
|
-
writer.writeInt32(item.position);
|
|
53
|
+
FConveyorBeltItem_1.FConveyorBeltItem.write(writer, item);
|
|
98
54
|
}
|
|
99
55
|
};
|
|
100
56
|
})(ConveyorChainActorSpecialProperties || (exports.ConveyorChainActorSpecialProperties = ConveyorChainActorSpecialProperties = {}));
|
package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConveyorChainActorSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"file":"ConveyorChainActorSpecialProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.ts"],"names":[],"mappings":";;;AAEA,8EAA2E;AAC3E,kGAA+F;AAC/F,mEAAgE;AAGzD,MAAM,qCAAqC,GAAG,CAAC,GAAQ,EAA8C,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,qCAAqC,CAAC;AAArJ,QAAA,qCAAqC,yCAAgH;AAclK,IAAiB,mCAAmC,CAyDnD;AAzDD,WAAiB,mCAAmC;IACnC,yCAAK,GAAG,CAAC,MAAqB,EAAuC,EAAE;QAEhF,MAAM,QAAQ,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC9C,MAAM,SAAS,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC/C,MAAM,iBAAiB,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAE7C,MAAM,YAAY,GAAkC,EAAE,CAAC;QACvD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,iBAAiB,EAAE,CAAC,EAAE,EAAE,CAAC;YACzC,YAAY,CAAC,IAAI,CAAC,yDAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAChE,CAAC;QAED,MAAM,WAAW,GAAG,MAAM,CAAC,WAAW,EAAE,CAAC;QACzC,MAAM,qBAAqB,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAEjD,MAAM,mBAAmB,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAC/C,MAAM,kBAAkB,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAC9C,MAAM,iBAAiB,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAE7C,MAAM,KAAK,GAAwB,EAAE,CAAC;QACtC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,iBAAiB,EAAE,CAAC,EAAE,EAAE,CAAC;YACzC,KAAK,CAAC,IAAI,CAAC,qCAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC/C,CAAC;QAED,OAAO;YACH,IAAI,EAAE,qCAAqC;YAC3C,SAAS,EAAE,SAAS;YACpB,QAAQ,EAAE,QAAQ;YAClB,YAAY;YACZ,WAAW;YACX,qBAAqB;YACrB,mBAAmB;YACnB,kBAAkB;YAClB,KAAK;SACR,CAAC;IACN,CAAC,CAAC;IAEW,6CAAS,GAAG,CAAC,MAAqB,EAAE,QAA6C,EAAQ,EAAE;QAEpG,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;QACjD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC;QAClD,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;QAEhD,KAAK,MAAM,IAAI,IAAI,QAAQ,CAAC,YAAY,EAAE,CAAC;YACvC,yDAA2B,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QACpD,CAAC;QAED,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;QAC1C,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;QAClD,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;QAChD,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;QAC/C,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAEzC,KAAK,MAAM,IAAI,IAAI,QAAQ,CAAC,KAAK,EAAE,CAAC;YAChC,qCAAiB,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAC1C,CAAC;IACL,CAAC,CAAC;AACN,CAAC,EAzDgB,mCAAmC,mDAAnC,mCAAmC,QAyDnD","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FConveyorBeltItem } from '../../structs/binary/FConveyorBeltItem';\nimport { FConveyorChainSplineSegment } from '../../structs/binary/FConveyorChainSplineSegment';\nimport { ObjectReference } from '../../structs/ObjectReference';\n\n\nexport const isConveyorChainActorSpecialProperties = (obj: any): obj is ConveyorChainActorSpecialProperties => obj.type === 'ConveyorChainActorSpecialProperties';\n\nexport type ConveyorChainActorSpecialProperties = {\n type: 'ConveyorChainActorSpecialProperties';\n firstBelt: ObjectReference;\n lastBelt: ObjectReference;\n beltsInChain: FConveyorChainSplineSegment[];\n totalLength: number;\n totalNumberItemsMaybe: number;\n firstChainItemIndex: number;\n lastChainItemIndex: number;\n items: FConveyorBeltItem[];\n};\n\nexport namespace ConveyorChainActorSpecialProperties {\n export const Parse = (reader: ContextReader): ConveyorChainActorSpecialProperties => {\n\n const lastBelt = ObjectReference.read(reader);\n const firstBelt = ObjectReference.read(reader);\n const countBeltsInChain = reader.readInt32();\n\n const beltsInChain: FConveyorChainSplineSegment[] = [];\n for (let i = 0; i < countBeltsInChain; i++) {\n beltsInChain.push(FConveyorChainSplineSegment.read(reader));\n }\n\n const totalLength = reader.readFloat32();\n const totalNumberItemsMaybe = reader.readInt32();\n\n const firstChainItemIndex = reader.readInt32();\n const lastChainItemIndex = reader.readInt32();\n const countItemsInChain = reader.readInt32();\n\n const items: FConveyorBeltItem[] = [];\n for (let n = 0; n < countItemsInChain; n++) {\n items.push(FConveyorBeltItem.read(reader));\n }\n\n return {\n type: 'ConveyorChainActorSpecialProperties',\n firstBelt: firstBelt,\n lastBelt: lastBelt,\n beltsInChain,\n totalLength,\n totalNumberItemsMaybe,\n firstChainItemIndex,\n lastChainItemIndex,\n items\n };\n };\n\n export const Serialize = (writer: ContextWriter, property: ConveyorChainActorSpecialProperties): void => {\n\n ObjectReference.write(writer, property.lastBelt);\n ObjectReference.write(writer, property.firstBelt);\n writer.writeInt32(property.beltsInChain.length);\n\n for (const belt of property.beltsInChain) {\n FConveyorChainSplineSegment.write(writer, belt);\n }\n\n writer.writeFloat32(property.totalLength);\n writer.writeInt32(property.totalNumberItemsMaybe);\n writer.writeInt32(property.firstChainItemIndex);\n writer.writeInt32(property.lastChainItemIndex);\n writer.writeInt32(property.items.length);\n\n for (const item of property.items) {\n FConveyorBeltItem.write(writer, item);\n }\n };\n}\n"]}
|
|
@@ -12,11 +12,11 @@ var FGDynamicStruct;
|
|
|
12
12
|
};
|
|
13
13
|
if (struct.hasValidStruct) {
|
|
14
14
|
struct.structReference = ObjectReference_1.ObjectReference.read(reader);
|
|
15
|
+
const savedPayloadSize = reader.readInt32();
|
|
15
16
|
if (reader.context.mods.FicsItNetworks !== undefined && FINItemStateFileSystem_1.FINItemStateFileSystem.IsFINItemStateFileSystem(struct)) {
|
|
16
|
-
struct.rawBytes = FINItemStateFileSystem_1.FINItemStateFileSystem.read(reader);
|
|
17
|
+
struct.rawBytes = FINItemStateFileSystem_1.FINItemStateFileSystem.read(reader, savedPayloadSize);
|
|
17
18
|
}
|
|
18
19
|
else {
|
|
19
|
-
const binarySize = reader.readInt32();
|
|
20
20
|
struct.properties = PropertiesList_1.PropertiesList.ParseList(reader);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FGDynamicStruct.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/FGDynamicStruct.ts"],"names":[],"mappings":";;;AAGA,+DAA4D;AAC5D,yFAAsF;AACtF,uDAAoD;AAcpD,IAAiB,eAAe,CAqC/B;AArCD,WAAiB,eAAe;IACf,qBAAK,GAAG,CAAC,MAAqB,EAAmB,EAAE;QAE5D,MAAM,MAAM,GAAoB;YAC5B,cAAc,EAAE,MAAM,CAAC,SAAS,EAAE,IAAI,CAAC;SAC1C,CAAC;QAEF,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;YACxB,MAAM,CAAC,eAAe,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"FGDynamicStruct.js","sourceRoot":"","sources":["../../../../../src/parser/satisfactory/types/structs/FGDynamicStruct.ts"],"names":[],"mappings":";;;AAGA,+DAA4D;AAC5D,yFAAsF;AACtF,uDAAoD;AAcpD,IAAiB,eAAe,CAqC/B;AArCD,WAAiB,eAAe;IACf,qBAAK,GAAG,CAAC,MAAqB,EAAmB,EAAE;QAE5D,MAAM,MAAM,GAAoB;YAC5B,cAAc,EAAE,MAAM,CAAC,SAAS,EAAE,IAAI,CAAC;SAC1C,CAAC;QAEF,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;YACxB,MAAM,CAAC,eAAe,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACtD,MAAM,gBAAgB,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;YAE5C,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,KAAK,SAAS,IAAI,+CAAsB,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC9G,MAAM,CAAC,QAAQ,GAAG,+CAAsB,CAAC,IAAI,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;YAC5E,CAAC;iBAAM,CAAC;gBACJ,MAAM,CAAC,UAAU,GAAG,+BAAc,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;YACzD,CAAC;QAEL,CAAC;QAED,OAAO,MAAM,CAAC;IAClB,CAAC,CAAA;IAEY,yBAAS,GAAG,CAAC,MAAqB,EAAE,MAAuB,EAAQ,EAAE;QAC9E,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACjD,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;YACxB,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,eAAgB,CAAC,CAAC;YAEvD,MAAM,MAAM,GAAG,MAAM,CAAC,iBAAiB,EAAE,CAAC;YAC1C,MAAM,CAAC,cAAc,EAAE,CAAC;YACxB,IAAI,+CAAsB,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC1D,+CAAsB,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,QAAS,CAAC,CAAC;YAC3D,CAAC;iBAAM,CAAC;gBACJ,+BAAc,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,UAAW,CAAC,CAAC;YAC7D,CAAC;YACD,MAAM,CAAC,2BAA2B,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC;QAC3D,CAAC;IACL,CAAC,CAAA;AACL,CAAC,EArCgB,eAAe,+BAAf,eAAe,QAqC/B","sourcesContent":["import { ContextReader } from '../../../context/context-reader';\nimport { ContextWriter } from '../../../context/context-writer';\nimport { PropertiesMap } from '../property/generic/AbstractBaseProperty';\nimport { PropertiesList } from '../property/PropertiesList';\nimport { FINItemStateFileSystem } from './mods/FicsItNetworks/FINItemStateFileSystem';\nimport { ObjectReference } from './ObjectReference';\n\n\n/**\n * generic Dynamic struct. if @param hasValidStruct is true, it also has a @param structReference and @param properties. Else not.\n * @param rawBytes is only filled for the FIN mod so far.\n */\nexport type FGDynamicStruct = {\n hasValidStruct: boolean;\n structReference?: ObjectReference;\n properties?: PropertiesMap;\n rawBytes?: number[];\n};\n\nexport namespace FGDynamicStruct {\n export const Parse = (reader: ContextReader): FGDynamicStruct => {\n\n const struct: FGDynamicStruct = {\n hasValidStruct: reader.readInt32() >= 1\n };\n\n if (struct.hasValidStruct) {\n struct.structReference = ObjectReference.read(reader);\n const savedPayloadSize = reader.readInt32();\n\n if (reader.context.mods.FicsItNetworks !== undefined && FINItemStateFileSystem.IsFINItemStateFileSystem(struct)) {\n struct.rawBytes = FINItemStateFileSystem.read(reader, savedPayloadSize);\n } else {\n struct.properties = PropertiesList.ParseList(reader);\n }\n\n }\n\n return struct;\n }\n\n export const Serialize = (writer: ContextWriter, struct: FGDynamicStruct): void => {\n writer.writeInt32(struct.hasValidStruct ? 1 : 0);\n if (struct.hasValidStruct) {\n ObjectReference.write(writer, struct.structReference!);\n\n const before = writer.getBufferPosition();\n writer.writeInt32Zero();\n if (FINItemStateFileSystem.IsFINItemStateFileSystem(struct)) {\n FINItemStateFileSystem.write(writer, struct.rawBytes!);\n } else {\n PropertiesList.SerializeList(writer, struct.properties!);\n }\n writer.writeBinarySizeFromPosition(before, before + 4);\n }\n }\n}"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ContextReader } from '../../../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../../../context/context-writer';
|
|
3
|
+
import { FInventoryItem } from './FInventoryItem';
|
|
4
|
+
export type FConveyorBeltItem = {
|
|
5
|
+
item: FInventoryItem;
|
|
6
|
+
position: number;
|
|
7
|
+
};
|
|
8
|
+
export declare namespace FConveyorBeltItem {
|
|
9
|
+
function read(reader: ContextReader): FConveyorBeltItem;
|
|
10
|
+
function write(writer: ContextWriter, value: FConveyorBeltItem): void;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=FConveyorBeltItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FConveyorBeltItem.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/FConveyorBeltItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,MAAM,iBAAiB,GAAG;IAC5B,IAAI,EAAE,cAAc,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,yBAAiB,iBAAiB,CAAC;IAC/B,SAAgB,IAAI,CAAC,MAAM,EAAE,aAAa,GAAG,iBAAiB,CAK7D;IAED,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAG3E;CACJ"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FConveyorBeltItem = void 0;
|
|
4
|
+
const FInventoryItem_1 = require("./FInventoryItem");
|
|
5
|
+
var FConveyorBeltItem;
|
|
6
|
+
(function (FConveyorBeltItem) {
|
|
7
|
+
function read(reader) {
|
|
8
|
+
return {
|
|
9
|
+
item: FInventoryItem_1.FInventoryItem.read(reader),
|
|
10
|
+
position: reader.readFloat32()
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
FConveyorBeltItem.read = read;
|
|
14
|
+
function write(writer, value) {
|
|
15
|
+
FInventoryItem_1.FInventoryItem.write(writer, value.item);
|
|
16
|
+
writer.writeFloat32(value.position);
|
|
17
|
+
}
|
|
18
|
+
FConveyorBeltItem.write = write;
|
|
19
|
+
})(FConveyorBeltItem || (exports.FConveyorBeltItem = FConveyorBeltItem = {}));
|
|
20
|
+
;
|
|
21
|
+
//# sourceMappingURL=FConveyorBeltItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FConveyorBeltItem.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/FConveyorBeltItem.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAOlD,IAAiB,iBAAiB,CAYjC;AAZD,WAAiB,iBAAiB;IAC9B,SAAgB,IAAI,CAAC,MAAqB;QACtC,OAAO;YACH,IAAI,EAAE,+BAAc,CAAC,IAAI,CAAC,MAAM,CAAC;YACjC,QAAQ,EAAE,MAAM,CAAC,WAAW,EAAE;SACjC,CAAA;IACL,CAAC;IALe,sBAAI,OAKnB,CAAA;IAED,SAAgB,KAAK,CAAC,MAAqB,EAAE,KAAwB;QACjE,+BAAc,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;QACzC,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IACxC,CAAC;IAHe,uBAAK,QAGpB,CAAA;AACL,CAAC,EAZgB,iBAAiB,iCAAjB,iBAAiB,QAYjC;AAAA,CAAC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { FInventoryItem } from './FInventoryItem';\n\nexport type FConveyorBeltItem = {\n item: FInventoryItem;\n position: number;\n};\n\nexport namespace FConveyorBeltItem {\n export function read(reader: ContextReader): FConveyorBeltItem {\n return {\n item: FInventoryItem.read(reader),\n position: reader.readFloat32()\n }\n }\n\n export function write(writer: ContextWriter, value: FConveyorBeltItem): void {\n FInventoryItem.write(writer, value.item);\n writer.writeFloat32(value.position);\n }\n};"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ContextReader } from "../../../../context/context-reader";
|
|
2
|
+
import { ContextWriter } from "../../../../context/context-writer";
|
|
3
|
+
import { ObjectReference } from "../ObjectReference";
|
|
4
|
+
import { vec3 } from "../vec3";
|
|
5
|
+
export type FConveyorChainSplineSegment = {
|
|
6
|
+
chainActorRef: ObjectReference;
|
|
7
|
+
beltRef: ObjectReference;
|
|
8
|
+
splinePoints: {
|
|
9
|
+
location: vec3;
|
|
10
|
+
arriveTangent: vec3;
|
|
11
|
+
leaveTangent: vec3;
|
|
12
|
+
}[];
|
|
13
|
+
offsetAtStart: number;
|
|
14
|
+
startsAtLength: number;
|
|
15
|
+
endsAtLength: number;
|
|
16
|
+
firstItemIndex: number;
|
|
17
|
+
lastItemIndex: number;
|
|
18
|
+
beltIndexInChain: number;
|
|
19
|
+
};
|
|
20
|
+
export declare namespace FConveyorChainSplineSegment {
|
|
21
|
+
function read(reader: ContextReader): {
|
|
22
|
+
chainActorRef: ObjectReference;
|
|
23
|
+
beltRef: ObjectReference;
|
|
24
|
+
splinePoints: {
|
|
25
|
+
location: vec3;
|
|
26
|
+
arriveTangent: vec3;
|
|
27
|
+
leaveTangent: vec3;
|
|
28
|
+
}[];
|
|
29
|
+
offsetAtStart: number;
|
|
30
|
+
startsAtLength: number;
|
|
31
|
+
endsAtLength: number;
|
|
32
|
+
firstItemIndex: number;
|
|
33
|
+
lastItemIndex: number;
|
|
34
|
+
beltIndexInChain: number;
|
|
35
|
+
};
|
|
36
|
+
function write(writer: ContextWriter, belt: FConveyorChainSplineSegment): void;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=FConveyorChainSplineSegment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FConveyorChainSplineSegment.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/FConveyorChainSplineSegment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,MAAM,MAAM,2BAA2B,GAAG;IACtC,aAAa,EAAE,eAAe,CAAC;IAC/B,OAAO,EAAE,eAAe,CAAC;IACzB,YAAY,EAAE;QACV,QAAQ,EAAE,IAAI,CAAC;QACf,aAAa,EAAE,IAAI,CAAC;QACpB,YAAY,EAAE,IAAI,CAAC;KACtB,EAAE,CAAC;IACJ,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,yBAAiB,2BAA2B,CAAC;IACzC,SAAgB,IAAI,CAAC,MAAM,EAAE,aAAa;;;;sBAKN,IAAI;2BAAiB,IAAI;0BAAgB,IAAI;;;;;;;;MA4BhF;IAED,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,2BAA2B,QAkB7E;CACJ"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FConveyorChainSplineSegment = void 0;
|
|
4
|
+
const ObjectReference_1 = require("../ObjectReference");
|
|
5
|
+
const vec3_1 = require("../vec3");
|
|
6
|
+
var FConveyorChainSplineSegment;
|
|
7
|
+
(function (FConveyorChainSplineSegment) {
|
|
8
|
+
function read(reader) {
|
|
9
|
+
const chainActorRef = ObjectReference_1.ObjectReference.read(reader);
|
|
10
|
+
const beltRef = ObjectReference_1.ObjectReference.read(reader);
|
|
11
|
+
const splinePointsCount = reader.readInt32();
|
|
12
|
+
const splinePoints = [];
|
|
13
|
+
for (let j = 0; j < splinePointsCount; j++) {
|
|
14
|
+
splinePoints.push({
|
|
15
|
+
location: vec3_1.vec3.Parse(reader),
|
|
16
|
+
arriveTangent: vec3_1.vec3.Parse(reader),
|
|
17
|
+
leaveTangent: vec3_1.vec3.Parse(reader),
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
const offsetAtStart = reader.readFloat32();
|
|
21
|
+
const startsAtLength = reader.readFloat32();
|
|
22
|
+
const endsAtLength = reader.readFloat32();
|
|
23
|
+
const firstItemIndex = reader.readInt32();
|
|
24
|
+
const lastItemIndex = reader.readInt32();
|
|
25
|
+
const beltIndexInChain = reader.readInt32();
|
|
26
|
+
return {
|
|
27
|
+
chainActorRef,
|
|
28
|
+
beltRef,
|
|
29
|
+
splinePoints,
|
|
30
|
+
offsetAtStart,
|
|
31
|
+
startsAtLength,
|
|
32
|
+
endsAtLength,
|
|
33
|
+
firstItemIndex,
|
|
34
|
+
lastItemIndex,
|
|
35
|
+
beltIndexInChain
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
FConveyorChainSplineSegment.read = read;
|
|
39
|
+
function write(writer, belt) {
|
|
40
|
+
ObjectReference_1.ObjectReference.write(writer, belt.chainActorRef);
|
|
41
|
+
ObjectReference_1.ObjectReference.write(writer, belt.beltRef);
|
|
42
|
+
writer.writeInt32(belt.splinePoints.length);
|
|
43
|
+
for (const splinepoint of belt.splinePoints) {
|
|
44
|
+
vec3_1.vec3.Serialize(writer, splinepoint.location);
|
|
45
|
+
vec3_1.vec3.Serialize(writer, splinepoint.arriveTangent);
|
|
46
|
+
vec3_1.vec3.Serialize(writer, splinepoint.leaveTangent);
|
|
47
|
+
}
|
|
48
|
+
writer.writeFloat32(belt.offsetAtStart);
|
|
49
|
+
writer.writeFloat32(belt.startsAtLength);
|
|
50
|
+
writer.writeFloat32(belt.endsAtLength);
|
|
51
|
+
writer.writeInt32(belt.firstItemIndex);
|
|
52
|
+
writer.writeInt32(belt.lastItemIndex);
|
|
53
|
+
writer.writeInt32(belt.beltIndexInChain);
|
|
54
|
+
}
|
|
55
|
+
FConveyorChainSplineSegment.write = write;
|
|
56
|
+
})(FConveyorChainSplineSegment || (exports.FConveyorChainSplineSegment = FConveyorChainSplineSegment = {}));
|
|
57
|
+
//# sourceMappingURL=FConveyorChainSplineSegment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FConveyorChainSplineSegment.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/FConveyorChainSplineSegment.ts"],"names":[],"mappings":";;;AAEA,wDAAqD;AACrD,kCAA+B;AAkB/B,IAAiB,2BAA2B,CAuD3C;AAvDD,WAAiB,2BAA2B;IACxC,SAAgB,IAAI,CAAC,MAAqB;QACtC,MAAM,aAAa,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACnD,MAAM,OAAO,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC7C,MAAM,iBAAiB,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAE7C,MAAM,YAAY,GAAmE,EAAE,CAAC;QACxF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,iBAAiB,EAAE,CAAC,EAAE,EAAE,CAAC;YACzC,YAAY,CAAC,IAAI,CAAC;gBACd,QAAQ,EAAE,WAAI,CAAC,KAAK,CAAC,MAAM,CAAC;gBAC5B,aAAa,EAAE,WAAI,CAAC,KAAK,CAAC,MAAM,CAAC;gBACjC,YAAY,EAAE,WAAI,CAAC,KAAK,CAAC,MAAM,CAAC;aACnC,CAAC,CAAC;QACP,CAAC;QAGD,MAAM,aAAa,GAAG,MAAM,CAAC,WAAW,EAAE,CAAC;QAC3C,MAAM,cAAc,GAAG,MAAM,CAAC,WAAW,EAAE,CAAC;QAC5C,MAAM,YAAY,GAAG,MAAM,CAAC,WAAW,EAAE,CAAC;QAC1C,MAAM,cAAc,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAC1C,MAAM,aAAa,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QACzC,MAAM,gBAAgB,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAE5C,OAAO;YACH,aAAa;YACb,OAAO;YACP,YAAY;YACZ,aAAa;YACb,cAAc;YACd,YAAY;YACZ,cAAc;YACd,aAAa;YACb,gBAAgB;SACmB,CAAC;IAC5C,CAAC;IAjCe,gCAAI,OAiCnB,CAAA;IAED,SAAgB,KAAK,CAAC,MAAqB,EAAE,IAAiC;QAC1E,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;QAClD,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;QAG5C,KAAK,MAAM,WAAW,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;YAC1C,WAAI,CAAC,SAAS,CAAC,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;YAC7C,WAAI,CAAC,SAAS,CAAC,MAAM,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;YAClD,WAAI,CAAC,SAAS,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;QACrD,CAAC;QAED,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACxC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACzC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACvC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACvC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACtC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC7C,CAAC;IAlBe,iCAAK,QAkBpB,CAAA;AACL,CAAC,EAvDgB,2BAA2B,2CAA3B,2BAA2B,QAuD3C","sourcesContent":["import { ContextReader } from \"../../../../context/context-reader\";\nimport { ContextWriter } from \"../../../../context/context-writer\";\nimport { ObjectReference } from \"../ObjectReference\";\nimport { vec3 } from \"../vec3\";\n\nexport type FConveyorChainSplineSegment = {\n chainActorRef: ObjectReference;\n beltRef: ObjectReference;\n splinePoints: {\n location: vec3;\n arriveTangent: vec3;\n leaveTangent: vec3;\n }[];\n offsetAtStart: number;\n startsAtLength: number;\n endsAtLength: number;\n firstItemIndex: number;\n lastItemIndex: number;\n beltIndexInChain: number;\n};\n\nexport namespace FConveyorChainSplineSegment {\n export function read(reader: ContextReader) {\n const chainActorRef = ObjectReference.read(reader);\n const beltRef = ObjectReference.read(reader);\n const splinePointsCount = reader.readInt32();\n\n const splinePoints: { location: vec3; arriveTangent: vec3; leaveTangent: vec3; }[] = [];\n for (let j = 0; j < splinePointsCount; j++) {\n splinePoints.push({\n location: vec3.Parse(reader),\n arriveTangent: vec3.Parse(reader),\n leaveTangent: vec3.Parse(reader),\n });\n }\n\n // indices which items of this chain are on this belt.\n const offsetAtStart = reader.readFloat32();\n const startsAtLength = reader.readFloat32();\n const endsAtLength = reader.readFloat32();\n const firstItemIndex = reader.readInt32();\n const lastItemIndex = reader.readInt32();\n const beltIndexInChain = reader.readInt32();\n\n return {\n chainActorRef,\n beltRef,\n splinePoints,\n offsetAtStart,\n startsAtLength,\n endsAtLength,\n firstItemIndex,\n lastItemIndex,\n beltIndexInChain\n } satisfies FConveyorChainSplineSegment;\n }\n\n export function write(writer: ContextWriter, belt: FConveyorChainSplineSegment) {\n ObjectReference.write(writer, belt.chainActorRef);\n ObjectReference.write(writer, belt.beltRef);\n writer.writeInt32(belt.splinePoints.length);\n\n\n for (const splinepoint of belt.splinePoints) {\n vec3.Serialize(writer, splinepoint.location);\n vec3.Serialize(writer, splinepoint.arriveTangent);\n vec3.Serialize(writer, splinepoint.leaveTangent);\n }\n\n writer.writeFloat32(belt.offsetAtStart);\n writer.writeFloat32(belt.startsAtLength);\n writer.writeFloat32(belt.endsAtLength);\n writer.writeInt32(belt.firstItemIndex);\n writer.writeInt32(belt.lastItemIndex);\n writer.writeInt32(belt.beltIndexInChain);\n }\n}"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ContextReader } from '../../../../context/context-reader';
|
|
2
|
+
import { ContextWriter } from '../../../../context/context-writer';
|
|
3
|
+
import { FGDynamicStruct } from '../FGDynamicStruct';
|
|
4
|
+
import { ObjectReference } from '../ObjectReference';
|
|
5
|
+
export type FInventoryItem = {
|
|
6
|
+
itemReference: ObjectReference;
|
|
7
|
+
itemState?: FGDynamicStruct;
|
|
8
|
+
legacyItemStateActor?: ObjectReference;
|
|
9
|
+
};
|
|
10
|
+
export declare namespace FInventoryItem {
|
|
11
|
+
function read(reader: ContextReader): FInventoryItem;
|
|
12
|
+
function write(writer: ContextWriter, value: FInventoryItem): void;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=FInventoryItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FInventoryItem.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/FInventoryItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,MAAM,cAAc,GAAG;IACzB,aAAa,EAAE,eAAe,CAAC;IAC/B,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,oBAAoB,CAAC,EAAE,eAAe,CAAC;CAC1C,CAAC;AAEF,yBAAiB,cAAc,CAAC;IAC5B,SAAgB,IAAI,CAAC,MAAM,EAAE,aAAa,GAAG,cAAc,CAa1D;IAED,SAAgB,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,cAAc,GAAG,IAAI,CASxE;CACJ"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FInventoryItem = void 0;
|
|
4
|
+
const save_custom_version_1 = require("../../../save/save-custom-version");
|
|
5
|
+
const FGDynamicStruct_1 = require("../FGDynamicStruct");
|
|
6
|
+
const ObjectReference_1 = require("../ObjectReference");
|
|
7
|
+
var FInventoryItem;
|
|
8
|
+
(function (FInventoryItem) {
|
|
9
|
+
function read(reader) {
|
|
10
|
+
let value = {
|
|
11
|
+
itemReference: ObjectReference_1.ObjectReference.read(reader)
|
|
12
|
+
};
|
|
13
|
+
if (reader.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.RefactoredInventoryItemState) {
|
|
14
|
+
value.itemState = FGDynamicStruct_1.FGDynamicStruct.Parse(reader);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
value.legacyItemStateActor = ObjectReference_1.ObjectReference.read(reader);
|
|
18
|
+
}
|
|
19
|
+
return value;
|
|
20
|
+
}
|
|
21
|
+
FInventoryItem.read = read;
|
|
22
|
+
function write(writer, value) {
|
|
23
|
+
ObjectReference_1.ObjectReference.write(writer, value.itemReference);
|
|
24
|
+
if (writer.context.saveVersion.object >= save_custom_version_1.SaveCustomVersion.RefactoredInventoryItemState) {
|
|
25
|
+
FGDynamicStruct_1.FGDynamicStruct.Serialize(writer, value.itemState);
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
ObjectReference_1.ObjectReference.write(writer, value.legacyItemStateActor);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
FInventoryItem.write = write;
|
|
32
|
+
})(FInventoryItem || (exports.FInventoryItem = FInventoryItem = {}));
|
|
33
|
+
;
|
|
34
|
+
//# sourceMappingURL=FInventoryItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FInventoryItem.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/structs/binary/FInventoryItem.ts"],"names":[],"mappings":";;;AAEA,2EAAsE;AACtE,wDAAqD;AACrD,wDAAqD;AAQrD,IAAiB,cAAc,CA0B9B;AA1BD,WAAiB,cAAc;IAC3B,SAAgB,IAAI,CAAC,MAAqB;QACtC,IAAI,KAAK,GAAmB;YACxB,aAAa,EAAE,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC;SAC9C,CAAC;QAGF,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,MAAM,IAAI,uCAAiB,CAAC,4BAA4B,EAAE,CAAC;YACtF,KAAK,CAAC,SAAS,GAAG,iCAAe,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACpD,CAAC;aAAM,CAAC;YACJ,KAAK,CAAC,oBAAoB,GAAG,iCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC9D,CAAC;QAED,OAAO,KAAK,CAAC;IACjB,CAAC;IAbe,mBAAI,OAanB,CAAA;IAED,SAAgB,KAAK,CAAC,MAAqB,EAAE,KAAqB;QAE9D,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;QAEnD,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,MAAM,IAAI,uCAAiB,CAAC,4BAA4B,EAAE,CAAC;YACtF,iCAAe,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,SAAU,CAAC,CAAC;QACxD,CAAC;aAAM,CAAC;YACJ,iCAAe,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,oBAAqB,CAAC,CAAC;QAC/D,CAAC;IACL,CAAC;IATe,oBAAK,QASpB,CAAA;AACL,CAAC,EA1BgB,cAAc,8BAAd,cAAc,QA0B9B;AAAA,CAAC","sourcesContent":["import { ContextReader } from '../../../../context/context-reader';\nimport { ContextWriter } from '../../../../context/context-writer';\nimport { SaveCustomVersion } from '../../../save/save-custom-version';\nimport { FGDynamicStruct } from '../FGDynamicStruct';\nimport { ObjectReference } from '../ObjectReference';\n\nexport type FInventoryItem = {\n itemReference: ObjectReference;\n itemState?: FGDynamicStruct;\n legacyItemStateActor?: ObjectReference;\n};\n\nexport namespace FInventoryItem {\n export function read(reader: ContextReader): FInventoryItem {\n let value: FInventoryItem = {\n itemReference: ObjectReference.read(reader)\n };\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 return value;\n }\n\n export function write(writer: ContextWriter, value: FInventoryItem): void {\n\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 }\n};"]}
|
package/build/parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export type FINItemStateFileSystem = number[];
|
|
|
6
6
|
export declare namespace FINItemStateFileSystem {
|
|
7
7
|
const ExactStructReference: ObjectReference;
|
|
8
8
|
const IsFINItemStateFileSystem: (struct: FGDynamicStruct) => boolean;
|
|
9
|
-
const read: (reader: ContextReader) => FINItemStateFileSystem;
|
|
9
|
+
const read: (reader: ContextReader, numBytes: number) => FINItemStateFileSystem;
|
|
10
10
|
const write: (writer: ContextWriter, rawBytes: FINItemStateFileSystem) => void;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=FINItemStateFileSystem.d.ts.map
|
package/build/parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FINItemStateFileSystem.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAKxD,MAAM,MAAM,sBAAsB,GAAG,MAAM,EAAE,CAAC;AAE9C,yBAAiB,sBAAsB,CAAC;IAE7B,MAAM,oBAAoB,EAAE,eAGlC,CAAC;IAEK,MAAM,wBAAwB,WAAY,eAAe,KAAG,OAElE,CAAA;IAEM,MAAM,IAAI,WAAY,aAAa,KAAG,
|
|
1
|
+
{"version":3,"file":"FINItemStateFileSystem.d.ts","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAKxD,MAAM,MAAM,sBAAsB,GAAG,MAAM,EAAE,CAAC;AAE9C,yBAAiB,sBAAsB,CAAC;IAE7B,MAAM,oBAAoB,EAAE,eAGlC,CAAC;IAEK,MAAM,wBAAwB,WAAY,eAAe,KAAG,OAElE,CAAA;IAEM,MAAM,IAAI,WAAY,aAAa,YAAY,MAAM,KAAG,sBAE9D,CAAA;IAEM,MAAM,KAAK,WAAY,aAAa,YAAY,sBAAsB,KAAG,IAE/E,CAAA;CACJ"}
|
package/build/parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem.js
CHANGED
|
@@ -11,8 +11,7 @@ var FINItemStateFileSystem;
|
|
|
11
11
|
FINItemStateFileSystem.IsFINItemStateFileSystem = (struct) => {
|
|
12
12
|
return ObjectReference_1.ObjectReference.IsEqual(struct.structReference, FINItemStateFileSystem.ExactStructReference);
|
|
13
13
|
};
|
|
14
|
-
FINItemStateFileSystem.read = (reader) => {
|
|
15
|
-
const numBytes = reader.readInt32();
|
|
14
|
+
FINItemStateFileSystem.read = (reader, numBytes) => {
|
|
16
15
|
return Array.from(reader.readBytes(numBytes));
|
|
17
16
|
};
|
|
18
17
|
FINItemStateFileSystem.write = (writer, rawBytes) => {
|
package/build/parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FINItemStateFileSystem.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem.ts"],"names":[],"mappings":";;;AAGA,2DAAwD;AAOxD,IAAiB,sBAAsB,
|
|
1
|
+
{"version":3,"file":"FINItemStateFileSystem.js","sourceRoot":"","sources":["../../../../../../../src/parser/satisfactory/types/structs/mods/FicsItNetworks/FINItemStateFileSystem.ts"],"names":[],"mappings":";;;AAGA,2DAAwD;AAOxD,IAAiB,sBAAsB,CAkBtC;AAlBD,WAAiB,sBAAsB;IAEtB,2CAAoB,GAAoB;QACjD,SAAS,EAAE,EAAE;QACb,QAAQ,EAAE,uDAAuD;KACpE,CAAC;IAEW,+CAAwB,GAAG,CAAC,MAAuB,EAAW,EAAE;QACzE,OAAO,iCAAe,CAAC,OAAO,CAAC,MAAM,CAAC,eAAgB,EAAE,uBAAA,oBAAoB,CAAC,CAAC;IAClF,CAAC,CAAA;IAEY,2BAAI,GAAG,CAAC,MAAqB,EAAE,QAAgB,EAA0B,EAAE;QACpF,OAAO,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;IAClD,CAAC,CAAA;IAEY,4BAAK,GAAG,CAAC,MAAqB,EAAE,QAAgC,EAAQ,EAAE;QACnF,MAAM,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;IACrC,CAAC,CAAA;AACL,CAAC,EAlBgB,sBAAsB,sCAAtB,sBAAsB,QAkBtC","sourcesContent":["import { ContextReader } from \"../../../../../context/context-reader\";\nimport { ContextWriter } from \"../../../../../context/context-writer\";\nimport { FGDynamicStruct } from \"../../FGDynamicStruct\";\nimport { ObjectReference } from \"../../ObjectReference\";\n\n/**\n * specifically the FileSystem item state of the FicsItNetworks mod has just raw bytes.\n */\nexport type FINItemStateFileSystem = number[];\n\nexport namespace FINItemStateFileSystem {\n\n export const ExactStructReference: ObjectReference = {\n levelName: '',\n pathName: '/Script/FicsItNetworksComputer.FINItemStateFileSystem'\n };\n\n export const IsFINItemStateFileSystem = (struct: FGDynamicStruct): boolean => {\n return ObjectReference.IsEqual(struct.structReference!, ExactStructReference);\n }\n\n export const read = (reader: ContextReader, numBytes: number): FINItemStateFileSystem => {\n return Array.from(reader.readBytes(numBytes));\n }\n\n export const write = (writer: ContextWriter, rawBytes: FINItemStateFileSystem): void => {\n writer.writeBytesArray(rawBytes);\n }\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parser.spec.d.ts","sourceRoot":"","sources":["../../src/test/parser.spec.ts"],"names":[],"mappings":""}
|