@etothepii/satisfactory-file-parser 2.0.1 → 2.1.2
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 +12 -1
- package/GUIDE.md +81 -0
- package/README.md +86 -41
- package/build/parser/satisfactory/blueprint/blueprint-reader.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-reader.js +5 -6
- package/build/parser/satisfactory/blueprint/blueprint-reader.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-writer.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint-writer.js +3 -4
- package/build/parser/satisfactory/blueprint/blueprint-writer.js.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint.types.d.ts +3 -2
- package/build/parser/satisfactory/blueprint/blueprint.types.d.ts.map +1 -1
- package/build/parser/satisfactory/blueprint/blueprint.types.js.map +1 -1
- package/build/parser/satisfactory/edit/edit-constants.d.ts +4 -0
- package/build/parser/satisfactory/edit/edit-constants.d.ts.map +1 -1
- package/build/parser/satisfactory/edit/edit-constants.js +4 -0
- package/build/parser/satisfactory/edit/edit-constants.js.map +1 -1
- package/build/parser/satisfactory/types/property/PropertiesList.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.d.ts +6 -4
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.js +10 -19
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.js +10 -7
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/BoolProperty.js +18 -18
- package/build/parser/satisfactory/types/property/generic/BoolProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ByteProperty.js +18 -19
- package/build/parser/satisfactory/types/property/generic/ByteProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.js +18 -18
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts +9 -11
- package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/EnumProperty.js +18 -19
- package/build/parser/satisfactory/types/property/generic/EnumProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/FloatProperty.js +18 -18
- package/build/parser/satisfactory/types/property/generic/FloatProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int32Property.js +18 -18
- package/build/parser/satisfactory/types/property/generic/Int32Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int64Property.js +18 -18
- package/build/parser/satisfactory/types/property/generic/Int64Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int8Property.js +18 -18
- package/build/parser/satisfactory/types/property/generic/Int8Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts +7 -5
- package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/MapProperty.js +22 -20
- package/build/parser/satisfactory/types/property/generic/MapProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.js +18 -18
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.js +5 -7
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.js +3 -5
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js +20 -20
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StrProperty.js +18 -18
- package/build/parser/satisfactory/types/property/generic/StrProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StructProperty.js +21 -19
- package/build/parser/satisfactory/types/property/generic/StructProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/TextProperty.js +18 -18
- package/build/parser/satisfactory/types/property/generic/TextProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint32Property.js +18 -18
- package/build/parser/satisfactory/types/property/generic/Uint32Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint64Property.js +18 -18
- package/build/parser/satisfactory/types/property/generic/Uint64Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts +9 -8
- package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint8Property.js +18 -18
- package/build/parser/satisfactory/types/property/generic/Uint8Property.js.map +1 -1
- package/docs/assets/highlight.css +7 -0
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/BlueprintConfigReader.html +3 -3
- package/docs/classes/BlueprintConfigWriter.html +3 -3
- package/docs/classes/BlueprintReader.html +3 -3
- package/docs/classes/BlueprintWriter.html +3 -3
- package/docs/classes/CompressionLibraryError.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 +3 -3
- package/docs/classes/SaveStreamJsonStringifier.html +2 -2
- package/docs/classes/SaveStreamWriter.html +2 -2
- package/docs/classes/SaveWriter.html +3 -3
- package/docs/classes/TimeoutError.html +2 -2
- package/docs/classes/UnimplementedError.html +2 -2
- package/docs/classes/UnsupportedVersionError.html +2 -2
- package/docs/functions/AbstractBaseProperty.Create.html +1 -0
- package/docs/functions/ArrayProperty.CalcOverhead.html +1 -1
- package/docs/functions/ArrayProperty.Parse.html +1 -1
- package/docs/functions/ArrayProperty.Serialize.html +1 -1
- package/docs/functions/BoolArrayProperty.Parse.html +1 -1
- package/docs/functions/BoolArrayProperty.Serialize.html +1 -1
- package/docs/functions/BoolProperty.CalcOverhead.html +1 -0
- package/docs/functions/BoolProperty.Parse.html +1 -0
- package/docs/functions/BoolProperty.ReadValue.html +1 -0
- package/docs/functions/BoolProperty.Serialize.html +1 -0
- package/docs/functions/BoolProperty.SerializeValue.html +1 -0
- package/docs/functions/BuildableSubsystemSpecialProperties.Parse.html +1 -1
- package/docs/functions/BuildableSubsystemSpecialProperties.Serialize.html +1 -1
- package/docs/functions/ByteArrayProperty.Parse.html +1 -1
- package/docs/functions/ByteArrayProperty.Serialize.html +1 -1
- package/docs/functions/ByteProperty.CalcOverhead.html +1 -0
- package/docs/functions/ByteProperty.Parse.html +1 -0
- package/docs/functions/ByteProperty.ReadValue.html +1 -0
- package/docs/functions/ByteProperty.Serialize.html +1 -0
- package/docs/functions/ByteProperty.SerializeValue.html +1 -0
- package/docs/functions/CircuitSpecialProperties.Parse.html +1 -1
- package/docs/functions/CircuitSpecialProperties.Serialize.html +1 -1
- package/docs/functions/ConveyorChainActorSpecialProperties.Parse.html +1 -1
- package/docs/functions/ConveyorChainActorSpecialProperties.Serialize.html +1 -1
- package/docs/functions/ConveyorSpecialProperties.Parse.html +1 -1
- package/docs/functions/ConveyorSpecialProperties.Serialize.html +1 -1
- package/docs/functions/DoubleArrayProperty.Parse.html +1 -1
- package/docs/functions/DoubleArrayProperty.Serialize.html +1 -1
- package/docs/functions/DoubleProperty.CalcOverhead.html +1 -0
- package/docs/functions/DoubleProperty.Parse.html +1 -0
- package/docs/functions/DoubleProperty.ReadValue.html +1 -0
- package/docs/functions/DoubleProperty.Serialize.html +1 -0
- package/docs/functions/DoubleProperty.SerializeValue.html +1 -0
- package/docs/functions/DynamicStructPropertyValue.read.html +1 -1
- package/docs/functions/DynamicStructPropertyValue.write.html +1 -1
- package/docs/functions/EmptySpecialProperties.Parse.html +1 -1
- package/docs/functions/EmptySpecialProperties.Serialize.html +1 -1
- package/docs/functions/EnumArrayProperty.Parse.html +1 -1
- package/docs/functions/EnumArrayProperty.Serialize.html +1 -1
- package/docs/functions/EnumProperty.CalcOverhead.html +1 -0
- package/docs/functions/EnumProperty.Parse.html +1 -0
- package/docs/functions/EnumProperty.ReadValue.html +1 -0
- package/docs/functions/EnumProperty.Serialize.html +1 -0
- package/docs/functions/EnumProperty.SerializeValue.html +1 -0
- package/docs/functions/FICFrameRange.Parse.html +1 -1
- package/docs/functions/FICFrameRange.Serialize.html +1 -1
- package/docs/functions/FloatArrayProperty.Parse.html +1 -1
- package/docs/functions/FloatArrayProperty.Serialize.html +1 -1
- package/docs/functions/FloatProperty.CalcOverhead.html +1 -0
- package/docs/functions/FloatProperty.Parse.html +1 -0
- package/docs/functions/FloatProperty.ReadValue.html +1 -0
- package/docs/functions/FloatProperty.Serialize.html +1 -0
- package/docs/functions/FloatProperty.SerializeValue.html +1 -0
- package/docs/functions/GUID.read.html +1 -1
- package/docs/functions/GUID.write.html +1 -1
- package/docs/functions/GUIDInfo.read.html +1 -1
- package/docs/functions/GUIDInfo.write.html +1 -1
- package/docs/functions/Int32ArrayProperty.Parse.html +1 -1
- package/docs/functions/Int32ArrayProperty.Serialize.html +1 -1
- package/docs/functions/Int32Property.CalcOverhead.html +1 -0
- package/docs/functions/Int32Property.Parse.html +1 -0
- package/docs/functions/Int32Property.ReadValue.html +1 -0
- package/docs/functions/Int32Property.Serialize.html +1 -0
- package/docs/functions/Int32Property.SerializeValue.html +1 -0
- package/docs/functions/Int32SetProperty.Parse.html +1 -1
- package/docs/functions/Int32SetProperty.Serialize.html +1 -1
- package/docs/functions/Int64ArrayProperty.Parse.html +1 -1
- package/docs/functions/Int64ArrayProperty.Serialize.html +1 -1
- package/docs/functions/Int64Property.CalcOverhead.html +1 -0
- package/docs/functions/Int64Property.Parse.html +1 -0
- package/docs/functions/Int64Property.ReadValue.html +1 -0
- package/docs/functions/Int64Property.Serialize.html +1 -0
- package/docs/functions/Int64Property.SerializeValue.html +1 -0
- package/docs/functions/Int8Property.CalcOverhead.html +1 -0
- package/docs/functions/Int8Property.Parse.html +1 -0
- package/docs/functions/Int8Property.ReadValue.html +1 -0
- package/docs/functions/Int8Property.Serialize.html +1 -0
- package/docs/functions/Int8Property.SerializeValue.html +1 -0
- package/docs/functions/Level.ReadAllObjectContents.html +1 -1
- package/docs/functions/Level.ReadAllObjectHeaders.html +1 -1
- package/docs/functions/Level.ReadLevel.html +1 -1
- package/docs/functions/Level.ReadNObjectContents.html +1 -1
- package/docs/functions/Level.ReadNObjectHeaders.html +1 -1
- package/docs/functions/Level.SerializeAllObjectContents.html +1 -1
- package/docs/functions/Level.SerializeAllObjectHeaders.html +1 -1
- package/docs/functions/Level.SerializeLevel.html +1 -1
- package/docs/functions/MD5Hash.read.html +1 -1
- package/docs/functions/MD5Hash.write.html +1 -1
- package/docs/functions/MapProperty.CalcOverhead.html +1 -0
- package/docs/functions/MapProperty.Parse.html +1 -0
- package/docs/functions/MapProperty.Serialize.html +1 -0
- package/docs/functions/ObjectArrayProperty.Parse.html +1 -1
- package/docs/functions/ObjectArrayProperty.Serialize.html +1 -1
- package/docs/functions/ObjectProperty.CalcOverhead.html +1 -0
- package/docs/functions/ObjectProperty.Parse.html +1 -0
- package/docs/functions/ObjectProperty.ReadValue.html +1 -0
- package/docs/functions/ObjectProperty.Serialize.html +1 -0
- package/docs/functions/ObjectProperty.SerializeValue.html +1 -0
- package/docs/functions/ObjectReference.read.html +1 -1
- package/docs/functions/ObjectReference.write.html +1 -1
- package/docs/functions/ObjectSetProperty.Parse.html +1 -1
- package/docs/functions/ObjectSetProperty.Serialize.html +1 -1
- package/docs/functions/ObjectsListSpecialProperties.Parse.html +1 -1
- package/docs/functions/ObjectsListSpecialProperties.Serialize.html +1 -1
- package/docs/functions/PlayerSpecialProperties.Parse.html +1 -1
- package/docs/functions/PlayerSpecialProperties.Serialize.html +1 -1
- package/docs/functions/PowerLineSpecialProperties.Parse.html +1 -1
- package/docs/functions/PowerLineSpecialProperties.Serialize.html +1 -1
- package/docs/functions/PropertiesList.ParseList.html +1 -1
- package/docs/functions/PropertiesList.ParseSingleProperty.html +1 -1
- package/docs/functions/PropertiesList.SerializeList.html +1 -1
- package/docs/functions/PropertiesList.SerializeSingleProperty.html +1 -1
- package/docs/functions/SetProperty.CalcOverhead.html +1 -1
- package/docs/functions/SetProperty.Parse.html +1 -1
- package/docs/functions/SetProperty.Serialize.html +1 -1
- package/docs/functions/SoftObjectArrayProperty.Parse.html +1 -1
- package/docs/functions/SoftObjectArrayProperty.Serialize.html +1 -1
- package/docs/functions/SoftObjectReference.read.html +1 -1
- package/docs/functions/SoftObjectReference.write.html +1 -1
- package/docs/functions/SpecialDroneActionProperties.Parse.html +1 -1
- package/docs/functions/SpecialDroneActionProperties.Serialize.html +1 -1
- package/docs/functions/SpecialProperties.ParseClassSpecificSpecialProperties.html +1 -1
- package/docs/functions/SpecialProperties.SerializeClassSpecificSpecialProperties.html +1 -1
- package/docs/functions/StrArrayProperty.Parse.html +1 -1
- package/docs/functions/StrArrayProperty.Serialize.html +1 -1
- package/docs/functions/StrProperty.CalcOverhead.html +1 -0
- package/docs/functions/StrProperty.Parse.html +1 -0
- package/docs/functions/StrProperty.ReadValue.html +1 -0
- package/docs/functions/StrProperty.Serialize.html +1 -0
- package/docs/functions/StrProperty.SerializeValue.html +1 -0
- package/docs/functions/StrSetProperty.Parse.html +1 -1
- package/docs/functions/StrSetProperty.Serialize.html +1 -1
- package/docs/functions/StructArrayProperty.Parse.html +1 -1
- package/docs/functions/StructArrayProperty.Serialize.html +1 -1
- package/docs/functions/StructProperty.CalcOverhead.html +1 -0
- package/docs/functions/StructProperty.Parse.html +1 -0
- package/docs/functions/StructProperty.ParseValue.html +1 -0
- package/docs/functions/StructProperty.Serialize.html +1 -0
- package/docs/functions/StructProperty.SerializeValue.html +1 -0
- package/docs/functions/StructSetProperty.Parse.html +1 -1
- package/docs/functions/StructSetProperty.Serialize.html +1 -1
- package/docs/functions/TextArrayProperty.Parse.html +1 -1
- package/docs/functions/TextArrayProperty.Serialize.html +1 -1
- package/docs/functions/TextProperty.CalcOverhead.html +1 -0
- package/docs/functions/TextProperty.Parse.html +1 -0
- package/docs/functions/TextProperty.ReadValue.html +1 -0
- package/docs/functions/TextProperty.Serialize.html +1 -0
- package/docs/functions/TextProperty.SerializeValue.html +1 -0
- package/docs/functions/Transform.Parse.html +1 -1
- package/docs/functions/Transform.ParseF.html +1 -1
- package/docs/functions/Transform.Serialize.html +1 -1
- package/docs/functions/Transform.SerializeF.html +1 -1
- package/docs/functions/Uint32Property.CalcOverhead.html +1 -0
- package/docs/functions/Uint32Property.Parse.html +1 -0
- package/docs/functions/Uint32Property.ReadValue.html +1 -0
- package/docs/functions/Uint32Property.Serialize.html +1 -0
- package/docs/functions/Uint32Property.SerializeValue.html +1 -0
- package/docs/functions/Uint32SetProperty.Parse.html +1 -1
- package/docs/functions/Uint32SetProperty.Serialize.html +1 -1
- package/docs/functions/Uint64Property.CalcOverhead.html +1 -0
- package/docs/functions/Uint64Property.Parse.html +1 -0
- package/docs/functions/Uint64Property.ReadValue.html +1 -0
- package/docs/functions/Uint64Property.Serialize.html +1 -0
- package/docs/functions/Uint64Property.SerializeValue.html +1 -0
- package/docs/functions/Uint8Property.CalcOverhead.html +1 -0
- package/docs/functions/Uint8Property.Parse.html +1 -0
- package/docs/functions/Uint8Property.ReadValue.html +1 -0
- package/docs/functions/Uint8Property.Serialize.html +1 -0
- package/docs/functions/Uint8Property.SerializeValue.html +1 -0
- package/docs/functions/VehicleSpecialProperties.Parse.html +1 -1
- package/docs/functions/VehicleSpecialProperties.Serialize.html +1 -1
- package/docs/functions/col4.ParseBGRA.html +1 -1
- package/docs/functions/col4.ParseRGBA.html +1 -1
- package/docs/functions/col4.SerializeBGRA.html +1 -1
- package/docs/functions/col4.SerializeRGBA.html +1 -1
- package/docs/functions/isArrayProperty.html +1 -1
- package/docs/functions/isBoolArrayProperty.html +1 -1
- package/docs/functions/isBoolProperty.html +1 -1
- package/docs/functions/isBuildableSubsystemSpecialProperties.html +1 -1
- package/docs/functions/isByteArrayProperty.html +1 -1
- package/docs/functions/isByteProperty.html +1 -1
- package/docs/functions/isCircuitSpecialProperties.html +1 -1
- package/docs/functions/isConveyorChainActorSpecialProperties.html +1 -1
- package/docs/functions/isConveyorSpecialProperties.html +1 -1
- package/docs/functions/isDoubleArrayProperty.html +1 -1
- package/docs/functions/isDoubleProperty.html +1 -1
- package/docs/functions/isEmptySpecialProperties.html +1 -1
- package/docs/functions/isEnumArrayProperty.html +1 -1
- package/docs/functions/isEnumProperty.html +1 -1
- package/docs/functions/isFloatArrayProperty.html +1 -1
- package/docs/functions/isFloatProperty.html +1 -1
- package/docs/functions/isInt32ArrayProperty.html +1 -1
- package/docs/functions/isInt32Property.html +1 -1
- package/docs/functions/isInt32SetProperty.html +1 -1
- package/docs/functions/isInt64ArrayProperty.html +1 -1
- package/docs/functions/isInt64Property.html +1 -1
- package/docs/functions/isInt8Property.html +1 -1
- package/docs/functions/isMapProperty.html +1 -1
- package/docs/functions/isObjectArrayProperty.html +1 -1
- package/docs/functions/isObjectProperty.html +1 -1
- package/docs/functions/isObjectSetProperty.html +1 -1
- package/docs/functions/isObjectsListSpecialProperties.html +1 -1
- package/docs/functions/isPlayerSpecialProperties.html +1 -1
- package/docs/functions/isPowerLineSpecialProperties.html +1 -1
- package/docs/functions/isSaveComponent.html +1 -1
- package/docs/functions/isSaveEntity.html +1 -1
- package/docs/functions/isSetProperty.html +1 -1
- package/docs/functions/isSoftObjectArrayProperty.html +1 -1
- package/docs/functions/isSpecialDroneActionProperties.html +1 -1
- package/docs/functions/isStrArrayProperty.html +1 -1
- package/docs/functions/isStrProperty.html +1 -1
- package/docs/functions/isStrSetProperty.html +1 -1
- package/docs/functions/isStructArrayProperty.html +1 -1
- package/docs/functions/isStructProperty.html +1 -1
- package/docs/functions/isStructSetProperty.html +1 -1
- package/docs/functions/isTextArrayProperty.html +1 -1
- package/docs/functions/isTextProperty.html +1 -1
- package/docs/functions/isUInt64Property.html +1 -1
- package/docs/functions/isUint32Property.html +1 -1
- package/docs/functions/isUint32SetProperty.html +1 -1
- package/docs/functions/isUint8Property.html +1 -1
- package/docs/functions/isVehicleSpecialProperties.html +1 -1
- package/docs/functions/vec2.Parse.html +1 -1
- package/docs/functions/vec2.ParseF.html +1 -1
- package/docs/functions/vec2.Serialize.html +1 -1
- package/docs/functions/vec2.SerializeF.html +1 -1
- package/docs/functions/vec3.Parse.html +1 -1
- package/docs/functions/vec3.ParseF.html +1 -1
- package/docs/functions/vec3.ParseInt.html +1 -1
- package/docs/functions/vec3.Serialize.html +1 -1
- package/docs/functions/vec3.SerializeF.html +1 -1
- package/docs/functions/vec3.SerializeInt.html +1 -1
- package/docs/functions/vec3.add.html +1 -1
- package/docs/functions/vec3.length.html +1 -1
- package/docs/functions/vec3.mult.html +1 -1
- package/docs/functions/vec3.norm.html +1 -1
- package/docs/functions/vec3.sub.html +1 -1
- package/docs/functions/vec4.Parse.html +1 -1
- package/docs/functions/vec4.ParseF.html +1 -1
- package/docs/functions/vec4.Serialize.html +1 -1
- package/docs/functions/vec4.SerializeF.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +24 -29
- package/docs/interfaces/Blueprint.html +2 -2
- package/docs/interfaces/BlueprintConfig.html +2 -2
- package/docs/interfaces/ModData.html +2 -2
- package/docs/interfaces/SatisfactoryModMetadata.html +2 -2
- package/docs/interfaces/SatisfactorySaveHeader.html +2 -2
- package/docs/interfaces/SaveComponentHeader.html +2 -2
- package/docs/interfaces/SaveEntityHeader.html +2 -2
- package/docs/interfaces/SaveObjectHeader.html +2 -2
- package/docs/modules/AbstractBaseProperty.html +2 -0
- package/docs/modules/ArrayProperty.html +1 -1
- package/docs/modules/BoolArrayProperty.html +1 -1
- package/docs/modules/BoolProperty.html +6 -0
- package/docs/modules/BuildableSubsystemSpecialProperties.html +1 -1
- package/docs/modules/ByteArrayProperty.html +1 -1
- package/docs/modules/ByteProperty.html +6 -0
- package/docs/modules/CircuitSpecialProperties.html +1 -1
- package/docs/modules/ConveyorChainActorSpecialProperties.html +1 -1
- package/docs/modules/ConveyorSpecialProperties.html +1 -1
- package/docs/modules/DoubleArrayProperty.html +1 -1
- package/docs/modules/DoubleProperty.html +6 -0
- package/docs/modules/DynamicStructPropertyValue.html +1 -1
- package/docs/modules/EmptySpecialProperties.html +1 -1
- package/docs/modules/EnumArrayProperty.html +1 -1
- package/docs/modules/EnumProperty.html +6 -0
- package/docs/modules/FICFrameRange.html +1 -1
- package/docs/modules/FloatArrayProperty.html +1 -1
- package/docs/modules/FloatProperty.html +6 -0
- package/docs/modules/GUID.html +1 -1
- package/docs/modules/GUIDInfo.html +1 -1
- package/docs/modules/Int32ArrayProperty.html +1 -1
- package/docs/modules/Int32Property.html +6 -0
- package/docs/modules/Int32SetProperty.html +1 -1
- package/docs/modules/Int64ArrayProperty.html +1 -1
- package/docs/modules/Int64Property.html +6 -0
- package/docs/modules/Int8Property.html +6 -0
- package/docs/modules/Level.html +1 -1
- package/docs/modules/MD5Hash.html +1 -1
- package/docs/modules/MapProperty.html +4 -0
- package/docs/modules/ObjectArrayProperty.html +1 -1
- package/docs/modules/ObjectProperty.html +6 -0
- package/docs/modules/ObjectReference.html +1 -1
- package/docs/modules/ObjectSetProperty.html +1 -1
- package/docs/modules/ObjectsListSpecialProperties.html +1 -1
- package/docs/modules/PlayerSpecialProperties.html +1 -1
- package/docs/modules/PowerLineSpecialProperties.html +1 -1
- package/docs/modules/PropertiesList.html +1 -1
- package/docs/modules/SetProperty.html +1 -1
- package/docs/modules/SoftObjectArrayProperty.html +1 -1
- package/docs/modules/SoftObjectReference.html +1 -1
- package/docs/modules/SpecialDroneActionProperties.html +1 -1
- package/docs/modules/SpecialProperties.html +1 -1
- package/docs/modules/StrArrayProperty.html +1 -1
- package/docs/modules/StrProperty.html +6 -0
- package/docs/modules/StrSetProperty.html +1 -1
- package/docs/modules/StructArrayProperty.html +1 -1
- package/docs/modules/StructProperty.html +6 -0
- package/docs/modules/StructSetProperty.html +1 -1
- package/docs/modules/TextArrayProperty.html +1 -1
- package/docs/modules/TextProperty.html +6 -0
- package/docs/modules/Transform.html +1 -1
- package/docs/modules/Uint32Property.html +6 -0
- package/docs/modules/Uint32SetProperty.html +1 -1
- package/docs/modules/Uint64Property.html +6 -0
- package/docs/modules/Uint8Property.html +6 -0
- package/docs/modules/VehicleSpecialProperties.html +1 -1
- package/docs/modules/col4.html +1 -1
- package/docs/modules/vec2.html +1 -1
- package/docs/modules/vec3.html +1 -1
- package/docs/modules/vec4.html +1 -1
- package/docs/modules.html +37 -20
- package/docs/types/AbstractBaseProperty-1.html +1 -0
- package/docs/types/ArrayProperty.AvailableArrayPropertyTypes.html +1 -1
- package/docs/types/ArrayPropertyStructValueFields.html +1 -1
- package/docs/types/BasicMultipleStructPropertyValue.html +1 -1
- package/docs/types/BasicStructPropertyValue.html +1 -1
- package/docs/types/BlueprintHeader.html +1 -1
- package/docs/types/BoolArrayProperty-1.html +1 -1
- package/docs/types/BoolProperty-1.html +1 -0
- package/docs/types/BoxStructPropertyValue.html +1 -1
- package/docs/types/BuildableSubsystemSpecialProperties-1.html +1 -1
- package/docs/types/BuildableTypeInstance.html +1 -1
- package/docs/types/ByteArrayProperty-1.html +1 -1
- package/docs/types/ByteProperty-1.html +1 -0
- package/docs/types/BytePropertyValue.html +1 -1
- package/docs/types/CircuitSpecialProperties-1.html +1 -1
- package/docs/types/ClientIdentityInfo.html +1 -1
- package/docs/types/ConveyorChainActorSpecialProperties-1.html +1 -1
- package/docs/types/ConveyorChainSegmentSpecialProperties.html +1 -1
- package/docs/types/ConveyorItemSpecialProperties.html +1 -1
- package/docs/types/ConveyorSpecialProperties-1.html +1 -1
- package/docs/types/DoubleArrayProperty-1.html +1 -1
- package/docs/types/DoubleProperty-1.html +1 -0
- package/docs/types/DynamicStructPropertyValue-1.html +1 -1
- package/docs/types/EmptySpecialProperties-1.html +1 -1
- package/docs/types/EnumArrayProperty-1.html +1 -1
- package/docs/types/EnumProperty-1.html +1 -0
- package/docs/types/FICFrameRange-1.html +1 -1
- package/docs/types/FICFrameRangeStructPropertyValue.html +1 -1
- package/docs/types/FloatArrayProperty-1.html +1 -1
- package/docs/types/FloatProperty-1.html +1 -0
- package/docs/types/GENERIC_MAP_KEY_TYPE.html +1 -1
- package/docs/types/GENERIC_MAP_VALUE_TYPE.html +1 -1
- package/docs/types/GENERIC_STRUCT_PROPERTY_VALUE.html +1 -1
- package/docs/types/GUID-1.html +1 -1
- package/docs/types/GUIDInfo-1.html +1 -1
- package/docs/types/Int32ArrayProperty-1.html +1 -1
- package/docs/types/Int32Property-1.html +1 -0
- package/docs/types/Int32SetProperty-1.html +1 -1
- package/docs/types/Int64ArrayProperty-1.html +1 -1
- package/docs/types/Int64Property-1.html +1 -0
- package/docs/types/Int8Property-1.html +1 -0
- package/docs/types/InventoryItemStructPropertyValue.html +1 -1
- package/docs/types/Level-1.html +1 -1
- package/docs/types/MAP_STRUCT_KEY_PROXY.html +1 -1
- package/docs/types/MD5Hash-1.html +1 -1
- package/docs/types/MapProperty-1.html +1 -0
- package/docs/types/ObjectArrayProperty-1.html +1 -1
- package/docs/types/ObjectProperty-1.html +1 -0
- package/docs/types/ObjectReference-1.html +1 -1
- package/docs/types/ObjectSetProperty-1.html +1 -1
- package/docs/types/ObjectsListSpecialProperties-1.html +1 -1
- package/docs/types/PlayerSpecialProperties-1.html +1 -1
- package/docs/types/PowerLineSpecialProperties-1.html +1 -1
- package/docs/types/PropertiesMap.html +1 -1
- package/docs/types/RailroadTrackPositionStructPropertyValue.html +1 -1
- package/docs/types/RoughSaveVersion.html +1 -1
- package/docs/types/SetProperty.AvailableSetPropertyTypes.html +1 -1
- package/docs/types/SoftObjectArrayProperty-1.html +1 -1
- package/docs/types/SoftObjectReference-1.html +1 -1
- package/docs/types/SpecialDroneAction.html +1 -1
- package/docs/types/SpecialDroneActionProperties-1.html +1 -1
- package/docs/types/SpecialProperties.AvailableSpecialPropertiesTypes.html +1 -1
- package/docs/types/StrArrayProperty-1.html +1 -1
- package/docs/types/StrProperty-1.html +1 -0
- package/docs/types/StrSetProperty-1.html +1 -1
- package/docs/types/StructArrayProperty-1.html +1 -1
- package/docs/types/StructProperty-1.html +1 -0
- package/docs/types/StructSetProperty-1.html +1 -1
- package/docs/types/TextArrayProperty-1.html +1 -1
- package/docs/types/TextProperty-1.html +1 -0
- package/docs/types/TextPropertyValue.html +1 -1
- package/docs/types/Transform-1.html +1 -1
- package/docs/types/Uint32Property-1.html +1 -0
- package/docs/types/Uint32SetProperty-1.html +1 -1
- package/docs/types/Uint64Property-1.html +1 -0
- package/docs/types/Uint8Property-1.html +1 -0
- package/docs/types/VehicleSpecialProperties-1.html +1 -1
- package/docs/types/col4-1.html +1 -1
- package/docs/types/vec2-1.html +1 -1
- package/docs/types/vec3-1.html +1 -1
- package/docs/types/vec4-1.html +1 -1
- package/docs/variables/EDIT.html +1 -1
- package/package.json +2 -2
- package/build/parser/satisfactory/types/property/generic/ArrayProperty.d.ts +0 -23
- package/build/parser/satisfactory/types/property/generic/ArrayProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/ArrayProperty.js +0 -172
- package/build/parser/satisfactory/types/property/generic/ArrayProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/BasicProperty.d.ts +0 -26
- package/build/parser/satisfactory/types/property/generic/BasicProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/BasicProperty.js +0 -29
- package/build/parser/satisfactory/types/property/generic/BasicProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty.d.ts +0 -13
- package/build/parser/satisfactory/types/property/generic/SetProperty.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty.js +0 -95
- package/build/parser/satisfactory/types/property/generic/SetProperty.js.map +0 -1
- package/build/parser/satisfactory/types/property/special/SpecialAnyProperties.d.ts +0 -55
- package/build/parser/satisfactory/types/property/special/SpecialAnyProperties.d.ts.map +0 -1
- package/build/parser/satisfactory/types/property/special/SpecialAnyProperties.js +0 -3
- package/build/parser/satisfactory/types/property/special/SpecialAnyProperties.js.map +0 -1
- package/docs/classes/AbstractBaseProperty.html +0 -7
- package/docs/classes/BoolProperty.html +0 -13
- package/docs/classes/ByteProperty.html +0 -13
- package/docs/classes/DoubleProperty.html +0 -13
- package/docs/classes/EnumProperty.html +0 -13
- package/docs/classes/FloatProperty.html +0 -13
- package/docs/classes/Int32Property.html +0 -13
- package/docs/classes/Int64Property.html +0 -13
- package/docs/classes/Int8Property.html +0 -13
- package/docs/classes/MapProperty.html +0 -17
- package/docs/classes/ObjectProperty.html +0 -13
- package/docs/classes/StrProperty.html +0 -13
- package/docs/classes/StructProperty.html +0 -18
- package/docs/classes/TextProperty.html +0 -13
- package/docs/classes/Uint32Property.html +0 -13
- package/docs/classes/Uint64Property.html +0 -13
- package/docs/classes/Uint8Property.html +0 -13
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etothepii/satisfactory-file-parser",
|
|
3
3
|
"author": "etothepii",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.1.2",
|
|
5
5
|
"description": "A file parser for satisfactory files. Includes save files and blueprint files.",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
7
7
|
"main": "./build/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"test": "tsc --noEmit && set PARSER_DEBUG=debug&& jest --config=jest.config.json --max_old_space_size=30720",
|
|
18
18
|
"doc": "typedoc src/index.ts",
|
|
19
|
-
"build": "tsc
|
|
19
|
+
"build": "tsc",
|
|
20
20
|
"prepublishOnly": "npm run build && npm version patch"
|
|
21
21
|
},
|
|
22
22
|
"repository": {
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BinaryReadable } from '../../../../byte/binary-readable.interface';
|
|
2
|
-
import { ByteWriter } from '../../../../byte/byte-writer.class';
|
|
3
|
-
import { BasicProperty } from './BasicProperty';
|
|
4
|
-
export type ArrayPropertyStructValueFields = {
|
|
5
|
-
allStructType: string;
|
|
6
|
-
allIndex: number;
|
|
7
|
-
allGuid: number;
|
|
8
|
-
allUnk1?: number;
|
|
9
|
-
allUnk2?: number;
|
|
10
|
-
allUnk3?: number;
|
|
11
|
-
allUnk4?: number;
|
|
12
|
-
};
|
|
13
|
-
export declare const isArrayProperty: (property: BasicProperty) => property is ArrayProperty<any>;
|
|
14
|
-
export declare class ArrayProperty<T> extends BasicProperty {
|
|
15
|
-
subtype: string;
|
|
16
|
-
values: T[];
|
|
17
|
-
structValueFields?: ArrayPropertyStructValueFields | undefined;
|
|
18
|
-
constructor(subtype: string, values: T[], ueType?: string, index?: number, structValueFields?: ArrayPropertyStructValueFields | undefined);
|
|
19
|
-
static Parse(reader: BinaryReadable, ueType: string, index: number, propertyName: string): ArrayProperty<any>;
|
|
20
|
-
static CalcOverhead(property: ArrayProperty<any>): number;
|
|
21
|
-
static Serialize(writer: ByteWriter, property: ArrayProperty<any>, propertyName: string): void;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=ArrayProperty.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrayProperty.d.ts","sourceRoot":"","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@@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ArrayProperty = exports.isArrayProperty = void 0;
|
|
4
|
-
const parser_error_1 = require("../../../../error/parser.error");
|
|
5
|
-
const BasicProperty_1 = require("./BasicProperty");
|
|
6
|
-
const BoolProperty_1 = require("./BoolProperty");
|
|
7
|
-
const ByteProperty_1 = require("./ByteProperty");
|
|
8
|
-
const DoubleProperty_1 = require("./DoubleProperty");
|
|
9
|
-
const EnumProperty_1 = require("./EnumProperty");
|
|
10
|
-
const FloatProperty_1 = require("./FloatProperty");
|
|
11
|
-
const Int32Property_1 = require("./Int32Property");
|
|
12
|
-
const Int64Property_1 = require("./Int64Property");
|
|
13
|
-
const ObjectProperty_1 = require("./ObjectProperty");
|
|
14
|
-
const SoftObjectProperty_1 = require("./SoftObjectProperty");
|
|
15
|
-
const StrProperty_1 = require("./StrProperty");
|
|
16
|
-
const StructProperty_1 = require("./StructProperty");
|
|
17
|
-
const TextProperty_1 = require("./TextProperty");
|
|
18
|
-
const isArrayProperty = (property) => property.type === 'ArrayProperty';
|
|
19
|
-
exports.isArrayProperty = isArrayProperty;
|
|
20
|
-
class ArrayProperty extends BasicProperty_1.BasicProperty {
|
|
21
|
-
constructor(subtype, values, ueType = 'ArrayProperty', index = 0, structValueFields) {
|
|
22
|
-
super({ type: 'ArrayProperty', ueType, index });
|
|
23
|
-
this.subtype = subtype;
|
|
24
|
-
this.values = values;
|
|
25
|
-
this.structValueFields = structValueFields;
|
|
26
|
-
}
|
|
27
|
-
static Parse(reader, ueType, index, propertyName) {
|
|
28
|
-
const subtype = reader.readString();
|
|
29
|
-
reader.skipBytes(1);
|
|
30
|
-
let property;
|
|
31
|
-
const elementCount = reader.readInt32();
|
|
32
|
-
switch (subtype) {
|
|
33
|
-
case "FloatProperty":
|
|
34
|
-
property = new ArrayProperty(subtype, new Array(elementCount).fill(0).map(() => FloatProperty_1.FloatProperty.ReadValue(reader)), ueType, index);
|
|
35
|
-
break;
|
|
36
|
-
case "BoolProperty":
|
|
37
|
-
property = new ArrayProperty(subtype, new Array(elementCount).fill(0).map(() => BoolProperty_1.BoolProperty.ReadValue(reader)), ueType, index);
|
|
38
|
-
break;
|
|
39
|
-
case "IntProperty":
|
|
40
|
-
property = new ArrayProperty(subtype, new Array(elementCount).fill(0).map(() => Int32Property_1.Int32Property.ReadValue(reader)), ueType, index);
|
|
41
|
-
break;
|
|
42
|
-
case "Int64Property":
|
|
43
|
-
property = new ArrayProperty(subtype, new Array(elementCount).fill(0).map(() => Int64Property_1.Int64Property.ReadValue(reader)), ueType, index);
|
|
44
|
-
break;
|
|
45
|
-
case "DoubleProperty":
|
|
46
|
-
property = new ArrayProperty(subtype, new Array(elementCount).fill(0).map(() => DoubleProperty_1.DoubleProperty.ReadValue(reader)), ueType, index);
|
|
47
|
-
break;
|
|
48
|
-
case "ByteProperty":
|
|
49
|
-
property = new ArrayProperty(subtype, new Array(elementCount).fill(0).map(() => ByteProperty_1.ByteProperty.ReadValue(reader)), ueType, index);
|
|
50
|
-
break;
|
|
51
|
-
case "StrProperty":
|
|
52
|
-
property = new ArrayProperty(subtype, new Array(elementCount).fill(0).map(() => StrProperty_1.StrProperty.ReadValue(reader)), ueType, index);
|
|
53
|
-
break;
|
|
54
|
-
case "EnumProperty":
|
|
55
|
-
property = new ArrayProperty(subtype, new Array(elementCount).fill(0).map(() => EnumProperty_1.EnumProperty.ReadValue(reader)), ueType, index);
|
|
56
|
-
break;
|
|
57
|
-
case "TextProperty":
|
|
58
|
-
property = new ArrayProperty(subtype, new Array(elementCount).fill(0).map(() => TextProperty_1.TextProperty.ReadValue(reader)), ueType, index);
|
|
59
|
-
break;
|
|
60
|
-
case "InterfaceProperty":
|
|
61
|
-
case "ObjectProperty":
|
|
62
|
-
property = new ArrayProperty(subtype, new Array(elementCount).fill(0).map(() => ObjectProperty_1.ObjectProperty.ReadValue(reader)), ueType, index);
|
|
63
|
-
break;
|
|
64
|
-
case "SoftObjectProperty":
|
|
65
|
-
property = new ArrayProperty(subtype, new Array(elementCount).fill(0).map(() => SoftObjectProperty_1.SoftObjectProperty.ReadValue(reader)), ueType, index);
|
|
66
|
-
break;
|
|
67
|
-
case "StructProperty":
|
|
68
|
-
const name = reader.readString();
|
|
69
|
-
const type = reader.readString();
|
|
70
|
-
const binarySize = reader.readInt32();
|
|
71
|
-
const allIndex = reader.readInt32();
|
|
72
|
-
const allStructType = reader.readString();
|
|
73
|
-
const allGuid = reader.readInt32();
|
|
74
|
-
const allUnk1 = reader.readInt32();
|
|
75
|
-
const allUnk2 = reader.readInt32();
|
|
76
|
-
const allUnk3 = reader.readInt32();
|
|
77
|
-
const allUnk4 = reader.readByte();
|
|
78
|
-
const innerStructValueFields = { allStructType, allIndex, allGuid };
|
|
79
|
-
if (allUnk1 !== 0) {
|
|
80
|
-
innerStructValueFields.allUnk1 = allUnk1;
|
|
81
|
-
}
|
|
82
|
-
if (allUnk2 !== 0) {
|
|
83
|
-
innerStructValueFields.allUnk2 = allUnk2;
|
|
84
|
-
}
|
|
85
|
-
if (allUnk3 !== 0) {
|
|
86
|
-
innerStructValueFields.allUnk3 = allUnk3;
|
|
87
|
-
}
|
|
88
|
-
if (allUnk4 !== 0) {
|
|
89
|
-
innerStructValueFields.allUnk4 = allUnk4;
|
|
90
|
-
}
|
|
91
|
-
const before = reader.getBufferPosition();
|
|
92
|
-
const maArr = new Array(elementCount).fill(0).map(() => {
|
|
93
|
-
const struct = new StructProperty_1.StructProperty(allStructType, type, allIndex, allGuid);
|
|
94
|
-
struct.value = StructProperty_1.StructProperty.ParseValue(reader, allStructType, binarySize);
|
|
95
|
-
return struct;
|
|
96
|
-
});
|
|
97
|
-
const readBytes = reader.getBufferPosition() - before;
|
|
98
|
-
if (readBytes !== binarySize) {
|
|
99
|
-
throw new Error('possibly corrupt in array of struct.');
|
|
100
|
-
}
|
|
101
|
-
property = new ArrayProperty(subtype, maArr, ueType, index, innerStructValueFields);
|
|
102
|
-
break;
|
|
103
|
-
default:
|
|
104
|
-
throw new parser_error_1.UnimplementedError(`Unknown subtype ${subtype} for ${ueType}. Not implemented.`);
|
|
105
|
-
}
|
|
106
|
-
return property;
|
|
107
|
-
}
|
|
108
|
-
static CalcOverhead(property) {
|
|
109
|
-
return property.subtype.length + 5 + 1;
|
|
110
|
-
}
|
|
111
|
-
static Serialize(writer, property, propertyName) {
|
|
112
|
-
writer.writeString(property.subtype);
|
|
113
|
-
writer.writeByte(0);
|
|
114
|
-
writer.writeInt32(property.values.length);
|
|
115
|
-
switch (property.subtype) {
|
|
116
|
-
case "FloatProperty":
|
|
117
|
-
property.values.forEach(v => FloatProperty_1.FloatProperty.SerializeValue(writer, v));
|
|
118
|
-
break;
|
|
119
|
-
case "BoolProperty":
|
|
120
|
-
property.values.forEach(v => BoolProperty_1.BoolProperty.SerializeValue(writer, v));
|
|
121
|
-
break;
|
|
122
|
-
case "IntProperty":
|
|
123
|
-
property.values.forEach(v => Int32Property_1.Int32Property.SerializeValue(writer, v));
|
|
124
|
-
break;
|
|
125
|
-
case "Int64Property":
|
|
126
|
-
property.values.forEach(v => Int64Property_1.Int64Property.SerializeValue(writer, v));
|
|
127
|
-
break;
|
|
128
|
-
case "DoubleProperty":
|
|
129
|
-
property.values.forEach(v => DoubleProperty_1.DoubleProperty.SerializeValue(writer, v));
|
|
130
|
-
break;
|
|
131
|
-
case "ByteProperty":
|
|
132
|
-
property.values.forEach(v => ByteProperty_1.ByteProperty.SerializeValue(writer, v));
|
|
133
|
-
break;
|
|
134
|
-
case "StrProperty":
|
|
135
|
-
property.values.forEach(v => StrProperty_1.StrProperty.SerializeValue(writer, v));
|
|
136
|
-
break;
|
|
137
|
-
case "EnumProperty":
|
|
138
|
-
property.values.forEach(v => EnumProperty_1.EnumProperty.SerializeValue(writer, v));
|
|
139
|
-
break;
|
|
140
|
-
case "TextProperty":
|
|
141
|
-
property.values.forEach(v => TextProperty_1.TextProperty.SerializeValue(writer, v));
|
|
142
|
-
break;
|
|
143
|
-
case "InterfaceProperty":
|
|
144
|
-
case "ObjectProperty":
|
|
145
|
-
property.values.forEach(v => ObjectProperty_1.ObjectProperty.SerializeValue(writer, v));
|
|
146
|
-
break;
|
|
147
|
-
case "SoftObjectProperty":
|
|
148
|
-
property.values.forEach(v => SoftObjectProperty_1.SoftObjectProperty.SerializeValue(writer, v));
|
|
149
|
-
break;
|
|
150
|
-
case "StructProperty":
|
|
151
|
-
writer.writeString(propertyName);
|
|
152
|
-
writer.writeString(property.subtype);
|
|
153
|
-
const lenIndicator = writer.getBufferPosition();
|
|
154
|
-
writer.writeInt32(0);
|
|
155
|
-
writer.writeInt32(property.structValueFields.allIndex);
|
|
156
|
-
writer.writeString(property.structValueFields.allStructType);
|
|
157
|
-
writer.writeInt32(property.structValueFields.allGuid);
|
|
158
|
-
writer.writeInt32(property.structValueFields.allUnk1 ?? 0);
|
|
159
|
-
writer.writeInt32(property.structValueFields.allUnk2 ?? 0);
|
|
160
|
-
writer.writeInt32(property.structValueFields.allUnk3 ?? 0);
|
|
161
|
-
writer.writeByte(property.structValueFields.allUnk4 ?? 0);
|
|
162
|
-
const before = writer.getBufferPosition();
|
|
163
|
-
property.values.forEach(v => StructProperty_1.StructProperty.SerializeValue(writer, property.structValueFields.allStructType, v.value));
|
|
164
|
-
writer.writeBinarySizeFromPosition(lenIndicator, before);
|
|
165
|
-
break;
|
|
166
|
-
default:
|
|
167
|
-
throw new Error(`Unknown array property ${property.ueType}, ${property.type}`);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
exports.ArrayProperty = ArrayProperty;
|
|
172
|
-
//# sourceMappingURL=ArrayProperty.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrayProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/ArrayProperty.ts"],"names":[],"mappings":";;;AAEA,iEAAoE;AAGpE,mDAAgD;AAChD,iDAA8C;AAC9C,iDAA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IAAI,CAAC,CAAC,CAAC;gBAC5D,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,iBAAkB,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;gBAE3D,MAAM,MAAM,GAAG,MAAM,CAAC,iBAAiB,EAAE,CAAC;gBAC1C,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,+BAAc,CAAC,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,iBAAkB,CAAC,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;gBACxH,MAAM,CAAC,2BAA2B,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;gBACzD,MAAM;YAEV;gBACI,MAAM,IAAI,KAAK,CAAC,0BAA0B,QAAQ,CAAC,MAAM,KAAK,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;QACvF,CAAC;IACL,CAAC;CACJ;AAtMD,sCAsMC","sourcesContent":["import { BinaryReadable } from '../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../byte/byte-writer.class';\nimport { UnimplementedError } from '../../../../error/parser.error';\nimport { ObjectReference } from '../../structs/ObjectReference';\nimport { SoftObjectReference } from '../../structs/SoftObjectReference';\nimport { BasicProperty } from './BasicProperty';\nimport { BoolProperty } from './BoolProperty';\nimport { ByteProperty } from './ByteProperty';\nimport { DoubleProperty } from './DoubleProperty';\nimport { EnumProperty } from './EnumProperty';\nimport { FloatProperty } from './FloatProperty';\nimport { Int32Property } from './Int32Property';\nimport { Int64Property } from './Int64Property';\nimport { ObjectProperty } from './ObjectProperty';\nimport { SoftObjectProperty } from './SoftObjectProperty';\nimport { StrProperty } from './StrProperty';\nimport { StructProperty } from './StructProperty';\nimport { TextProperty, TextPropertyValue } from './TextProperty';\n\n\nexport type ArrayPropertyStructValueFields = {\n allStructType: string;\n allIndex: number;\n allGuid: number;\n allUnk1?: number;\n allUnk2?: number;\n allUnk3?: number;\n allUnk4?: number;\n};\n\nexport const isArrayProperty = (property: BasicProperty): property is ArrayProperty<any> => property.type === 'ArrayProperty';\n\nexport class ArrayProperty<T> extends BasicProperty {\n\n constructor(public subtype: string, public values: T[], ueType: string = 'ArrayProperty', index: number = 0, public structValueFields?: ArrayPropertyStructValueFields) {\n super({ type: 'ArrayProperty', ueType, index });\n }\n\n public static Parse(reader: BinaryReadable, ueType: string, index: number, propertyName: string): ArrayProperty<any> {\n const subtype = reader.readString();\n reader.skipBytes(1); // 0\n\n let property;\n const elementCount = reader.readInt32();\n switch (subtype) {\n case \"FloatProperty\":\n property = new ArrayProperty<number>(subtype, new Array(elementCount).fill(0).map(() => FloatProperty.ReadValue(reader)), ueType, index);\n break;\n\n case \"BoolProperty\":\n property = new ArrayProperty<boolean>(subtype, new Array(elementCount).fill(0).map(() => BoolProperty.ReadValue(reader)), ueType, index);\n break;\n\n case \"IntProperty\":\n property = new ArrayProperty<number>(subtype, new Array(elementCount).fill(0).map(() => Int32Property.ReadValue(reader)), ueType, index);\n break;\n\n case \"Int64Property\":\n property = new ArrayProperty<string>(subtype, new Array(elementCount).fill(0).map(() => Int64Property.ReadValue(reader)), ueType, index);\n break;\n\n case \"DoubleProperty\":\n property = new ArrayProperty<number>(subtype, new Array(elementCount).fill(0).map(() => DoubleProperty.ReadValue(reader)), ueType, index);\n break;\n\n case \"ByteProperty\":\n property = new ArrayProperty<number>(subtype, new Array(elementCount).fill(0).map(() => ByteProperty.ReadValue(reader)), ueType, index);\n break;\n\n case \"StrProperty\":\n property = new ArrayProperty<string>(subtype, new Array(elementCount).fill(0).map(() => StrProperty.ReadValue(reader)), ueType, index);\n break;\n\n case \"EnumProperty\":\n property = new ArrayProperty<string>(subtype, new Array(elementCount).fill(0).map(() => EnumProperty.ReadValue(reader)), ueType, index);\n break;\n\n case \"TextProperty\":\n property = new ArrayProperty<TextPropertyValue>(subtype, new Array(elementCount).fill(0).map(() => TextProperty.ReadValue(reader)), ueType, index);\n break;\n\n case \"InterfaceProperty\":\n case \"ObjectProperty\":\n property = new ArrayProperty<ObjectReference>(subtype, new Array(elementCount).fill(0).map(() => ObjectProperty.ReadValue(reader)), ueType, index);\n break;\n\n case \"SoftObjectProperty\":\n property = new ArrayProperty<SoftObjectReference>(subtype, new Array(elementCount).fill(0).map(() => SoftObjectProperty.ReadValue(reader)), ueType, index);\n break;\n\n\n case \"StructProperty\":\n\n const name = reader.readString(); // Same as currentProperty.name\n const type = reader.readString(); // StructProperty\n\n const binarySize = reader.readInt32(); // structureSize\n const allIndex = reader.readInt32(); // 0\n\n const allStructType = reader.readString();\n const allGuid = reader.readInt32();\n\n const allUnk1 = reader.readInt32();\n const allUnk2 = reader.readInt32();\n const allUnk3 = reader.readInt32();\n const allUnk4 = reader.readByte();\n\n const innerStructValueFields: ArrayPropertyStructValueFields = { allStructType, allIndex, allGuid };\n if (allUnk1 !== 0) {\n innerStructValueFields.allUnk1 = allUnk1;\n }\n if (allUnk2 !== 0) {\n innerStructValueFields.allUnk2 = allUnk2;\n }\n if (allUnk3 !== 0) {\n innerStructValueFields.allUnk3 = allUnk3;\n }\n if (allUnk4 !== 0) {\n innerStructValueFields.allUnk4 = allUnk4;\n }\n\n\n const before = reader.getBufferPosition();\n const maArr = new Array(elementCount).fill(0).map(() => {\n\n const struct = new StructProperty(allStructType, type, allIndex, allGuid);\n\n // we do NOT assign individual unk's here. Since they are only serialized always on ArrayProperty's Level once for all elements.\n struct.value = StructProperty.ParseValue(reader, allStructType, binarySize);\n return struct;\n });\n const readBytes = reader.getBufferPosition() - before;\n if (readBytes !== binarySize) {\n throw new Error('possibly corrupt in array of struct.');\n }\n\n // Array Properties with struct values have some more properties.\n property = new ArrayProperty<StructProperty>(subtype, maArr, ueType, index, innerStructValueFields);\n break;\n\n default:\n throw new UnimplementedError(`Unknown subtype ${subtype} for ${ueType}. Not implemented.`);\n\n }\n\n return property;\n }\n\n public static CalcOverhead(property: ArrayProperty<any>): number {\n return property.subtype.length + 5 + 1;\n }\n\n public static Serialize(writer: ByteWriter, property: ArrayProperty<any>, propertyName: string): void {\n\n writer.writeString(property.subtype);\n writer.writeByte(0);\n writer.writeInt32(property.values.length);\n\n switch (property.subtype) {\n case \"FloatProperty\":\n property.values.forEach(v => FloatProperty.SerializeValue(writer, v));\n break;\n\n case \"BoolProperty\":\n property.values.forEach(v => BoolProperty.SerializeValue(writer, v));\n break;\n\n case \"IntProperty\":\n property.values.forEach(v => Int32Property.SerializeValue(writer, v));\n break;\n\n case \"Int64Property\":\n property.values.forEach(v => Int64Property.SerializeValue(writer, v));\n break;\n\n case \"DoubleProperty\":\n property.values.forEach(v => DoubleProperty.SerializeValue(writer, v));\n break;\n\n case \"ByteProperty\":\n property.values.forEach(v => ByteProperty.SerializeValue(writer, v));\n break;\n\n case \"StrProperty\":\n property.values.forEach(v => StrProperty.SerializeValue(writer, v));\n break;\n\n case \"EnumProperty\":\n property.values.forEach(v => EnumProperty.SerializeValue(writer, v));\n break;\n\n case \"TextProperty\":\n property.values.forEach(v => TextProperty.SerializeValue(writer, v));\n break;\n\n case \"InterfaceProperty\":\n case \"ObjectProperty\":\n property.values.forEach(v => ObjectProperty.SerializeValue(writer, v));\n break;\n\n case \"SoftObjectProperty\":\n property.values.forEach(v => SoftObjectProperty.SerializeValue(writer, v));\n break;\n\n case \"StructProperty\":\n\n writer.writeString(propertyName);\n writer.writeString(property.subtype);\n\n const lenIndicator = writer.getBufferPosition();\n writer.writeInt32(0);\n writer.writeInt32(property.structValueFields!.allIndex);\n\n writer.writeString(property.structValueFields!.allStructType);\n writer.writeInt32(property.structValueFields!.allGuid);\n\n writer.writeInt32(property.structValueFields!.allUnk1 ?? 0);\n writer.writeInt32(property.structValueFields!.allUnk2 ?? 0);\n writer.writeInt32(property.structValueFields!.allUnk3 ?? 0);\n writer.writeByte(property.structValueFields!.allUnk4 ?? 0);\n\n const before = writer.getBufferPosition();\n property.values.forEach(v => StructProperty.SerializeValue(writer, property.structValueFields!.allStructType, v.value));\n writer.writeBinarySizeFromPosition(lenIndicator, before);\n break;\n\n default:\n throw new Error(`Unknown array property ${property.ueType}, ${property.type}`);\n }\n }\n}\n"]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { GUIDInfo } from '../../structs/GUIDInfo';
|
|
2
|
-
export type PropertiesMap = {
|
|
3
|
-
[name: string]: AbstractBaseProperty | AbstractBaseProperty[];
|
|
4
|
-
};
|
|
5
|
-
export declare abstract class AbstractProperty {
|
|
6
|
-
type: string;
|
|
7
|
-
index?: number | undefined;
|
|
8
|
-
constructor(type: string, index?: number | undefined);
|
|
9
|
-
}
|
|
10
|
-
export declare abstract class AbstractBaseProperty extends AbstractProperty {
|
|
11
|
-
ueType: string;
|
|
12
|
-
name: string;
|
|
13
|
-
constructor(type: string, ueType: string, index: number);
|
|
14
|
-
}
|
|
15
|
-
type AbstractBasePropertyOptions = {
|
|
16
|
-
type: string;
|
|
17
|
-
ueType: string;
|
|
18
|
-
guidInfo?: GUIDInfo;
|
|
19
|
-
index: number;
|
|
20
|
-
};
|
|
21
|
-
export declare abstract class BasicProperty extends AbstractBaseProperty {
|
|
22
|
-
guidInfo: GUIDInfo;
|
|
23
|
-
constructor(options: AbstractBasePropertyOptions);
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
26
|
-
//# sourceMappingURL=BasicProperty.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BasicProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/BasicProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAGlD,MAAM,MAAM,aAAa,GAAG;IAC3B,CAAC,IAAI,EAAE,MAAM,GAAG,oBAAoB,GAAG,oBAAoB,EAAE,CAAC;CAC9D,CAAC;AAEF,8BAAsB,gBAAgB;IAClB,IAAI,EAAE,MAAM;IAAS,KAAK,CAAC,EAAE,MAAM;gBAAnC,IAAI,EAAE,MAAM,EAAS,KAAK,CAAC,EAAE,MAAM,YAAA;CACtD;AAED,8BAAsB,oBAAqB,SAAQ,gBAAgB;IAKjC,MAAM,EAAE,MAAM;IAHxC,IAAI,EAAE,MAAM,CAAM;gBAGb,IAAI,EAAE,MAAM,EAAS,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;CAG9D;AAQD,KAAK,2BAA2B,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AACF,8BAAsB,aAAc,SAAQ,oBAAoB;IAExD,QAAQ,EAAE,QAAQ,CAAa;gBAE1B,OAAO,EAAE,2BAA2B;CAMhD"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BasicProperty = exports.AbstractBaseProperty = exports.AbstractProperty = void 0;
|
|
4
|
-
class AbstractProperty {
|
|
5
|
-
constructor(type, index) {
|
|
6
|
-
this.type = type;
|
|
7
|
-
this.index = index;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.AbstractProperty = AbstractProperty;
|
|
11
|
-
class AbstractBaseProperty extends AbstractProperty {
|
|
12
|
-
constructor(type, ueType, index) {
|
|
13
|
-
super(type, index && index !== 0 ? index : undefined);
|
|
14
|
-
this.ueType = ueType;
|
|
15
|
-
this.name = '';
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.AbstractBaseProperty = AbstractBaseProperty;
|
|
19
|
-
class BasicProperty extends AbstractBaseProperty {
|
|
20
|
-
constructor(options) {
|
|
21
|
-
super(options.type, options.ueType, options.index ?? 0);
|
|
22
|
-
this.guidInfo = undefined;
|
|
23
|
-
if (options.guidInfo !== undefined) {
|
|
24
|
-
this.guidInfo = options.guidInfo;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.BasicProperty = BasicProperty;
|
|
29
|
-
//# sourceMappingURL=BasicProperty.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BasicProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/BasicProperty.ts"],"names":[],"mappings":";;;AAOA,MAAsB,gBAAgB;IACrC,YAAmB,IAAY,EAAS,KAAc;QAAnC,SAAI,GAAJ,IAAI,CAAQ;QAAS,UAAK,GAAL,KAAK,CAAS;IAAI,CAAC;CAC3D;AAFD,4CAEC;AAED,MAAsB,oBAAqB,SAAQ,gBAAgB;IAKlE,YAAY,IAAY,EAAS,MAAc,EAAE,KAAa;QAC7D,KAAK,CAAC,IAAI,EAAE,KAAK,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;QADtB,WAAM,GAAN,MAAM,CAAQ;QAHxC,SAAI,GAAW,EAAE,CAAC;IAKzB,CAAC;CACD;AARD,oDAQC;AAcD,MAAsB,aAAc,SAAQ,oBAAoB;IAI/D,YAAY,OAAoC;QAC/C,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC;QAHlD,aAAQ,GAAa,SAAS,CAAC;QAIrC,IAAI,OAAO,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;YACpC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,CAAC;IACF,CAAC;CACD;AAVD,sCAUC","sourcesContent":["import { GUIDInfo } from '../../structs/GUIDInfo';\n\n\nexport type PropertiesMap = {\n\t[name: string]: AbstractBaseProperty | AbstractBaseProperty[];\n};\n\nexport abstract class AbstractProperty {\n\tconstructor(public type: string, public index?: number) { }\n}\n\nexport abstract class AbstractBaseProperty extends AbstractProperty {\n\n\tpublic name: string = '';\n\n\t// overhead like Guid is not calculated into property size\n\tconstructor(type: string, public ueType: string, index: number) {\n\t\tsuper(type, index && index !== 0 ? index : undefined);\n\t}\n}\n\n/**\n * @type denotes our internal type.\n * @ueType denotes the type like Unreal Engine calls it, like IntProperty\n * @guidInfo denotes the GUID info of this property, i think there never was one observed. they always were not defined.\n * @index index of a property, in case it is part of an array.\n */\ntype AbstractBasePropertyOptions = {\n\ttype: string;\n\tueType: string;\n\tguidInfo?: GUIDInfo;\n\tindex: number;\n};\nexport abstract class BasicProperty extends AbstractBaseProperty {\n\n\tpublic guidInfo: GUIDInfo = undefined;\n\n\tconstructor(options: AbstractBasePropertyOptions) {\n\t\tsuper(options.type, options.ueType, options.index ?? 0);\n\t\tif (options.guidInfo !== undefined) {\n\t\t\tthis.guidInfo = options.guidInfo;\n\t\t}\n\t}\n}\n\n"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BinaryReadable } from '../../../../byte/binary-readable.interface';
|
|
2
|
-
import { ByteWriter } from '../../../../byte/byte-writer.class';
|
|
3
|
-
import { BasicProperty } from './BasicProperty';
|
|
4
|
-
export declare const isSetProperty: (property: BasicProperty) => property is SetProperty<any>;
|
|
5
|
-
export declare class SetProperty<T> extends BasicProperty {
|
|
6
|
-
subtype: string;
|
|
7
|
-
values: T[];
|
|
8
|
-
constructor(subtype: string, values: T[], ueType: string, index: number);
|
|
9
|
-
static Parse(reader: BinaryReadable, ueType: string, index: number, propertyName: string): SetProperty<any>;
|
|
10
|
-
static CalcOverhead(property: SetProperty<any>): number;
|
|
11
|
-
static Serialize(writer: ByteWriter, property: SetProperty<any>): void;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=SetProperty.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SetProperty.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/SetProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAIhE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAMhD,eAAO,MAAM,aAAa,aAAc,aAAa,KAAG,QAAQ,IAAI,WAAW,CAAC,GAAG,CAAoC,CAAC;AAExH,qBAAa,WAAW,CAAC,CAAC,CAAE,SAAQ,aAAa;IAE1B,OAAO,EAAE,MAAM;IAAS,MAAM,EAAE,CAAC,EAAE;gBAAnC,OAAO,EAAE,MAAM,EAAS,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;WAIvE,KAAK,CAAC,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,WAAW,CAAC,GAAG,CAAC;WA8CpG,YAAY,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM;WAIhD,SAAS,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,IAAI;CA2ChF"}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SetProperty = exports.isSetProperty = void 0;
|
|
4
|
-
const GUID_1 = require("../../structs/GUID");
|
|
5
|
-
const vec3_1 = require("../../structs/vec3");
|
|
6
|
-
const BasicProperty_1 = require("./BasicProperty");
|
|
7
|
-
const Int32Property_1 = require("./Int32Property");
|
|
8
|
-
const ObjectProperty_1 = require("./ObjectProperty");
|
|
9
|
-
const StrProperty_1 = require("./StrProperty");
|
|
10
|
-
const Uint32Property_1 = require("./Uint32Property");
|
|
11
|
-
const isSetProperty = (property) => property.type === 'SetProperty';
|
|
12
|
-
exports.isSetProperty = isSetProperty;
|
|
13
|
-
class SetProperty extends BasicProperty_1.BasicProperty {
|
|
14
|
-
constructor(subtype, values, ueType, index) {
|
|
15
|
-
super({ type: 'SetProperty', ueType, index });
|
|
16
|
-
this.subtype = subtype;
|
|
17
|
-
this.values = values;
|
|
18
|
-
}
|
|
19
|
-
static Parse(reader, ueType, index, propertyName) {
|
|
20
|
-
const subtype = reader.readString();
|
|
21
|
-
reader.skipBytes(1);
|
|
22
|
-
reader.skipBytes(4);
|
|
23
|
-
const elementCount = reader.readInt32();
|
|
24
|
-
let property;
|
|
25
|
-
switch (subtype) {
|
|
26
|
-
case "UInt32Property":
|
|
27
|
-
property = new SetProperty(subtype, new Array(elementCount).fill(0).map(() => Uint32Property_1.Uint32Property.ReadValue(reader)), ueType, index);
|
|
28
|
-
break;
|
|
29
|
-
case "IntProperty":
|
|
30
|
-
property = new SetProperty(subtype, new Array(elementCount).fill(0).map(() => Int32Property_1.Int32Property.ReadValue(reader)), ueType, index);
|
|
31
|
-
break;
|
|
32
|
-
case "ObjectProperty":
|
|
33
|
-
property = new SetProperty(subtype, new Array(elementCount).fill(0).map(() => ObjectProperty_1.ObjectProperty.ReadValue(reader)), ueType, index);
|
|
34
|
-
break;
|
|
35
|
-
case "NameProperty":
|
|
36
|
-
property = new SetProperty(subtype, new Array(elementCount).fill(0).map(() => StrProperty_1.StrProperty.ReadValue(reader)), ueType, index);
|
|
37
|
-
break;
|
|
38
|
-
case "StructProperty":
|
|
39
|
-
if (propertyName === 'mRemovalLocations') {
|
|
40
|
-
property = new SetProperty(subtype, new Array(elementCount).fill(0).map(() => vec3_1.vec3.ParseF(reader)), ueType, index);
|
|
41
|
-
}
|
|
42
|
-
if (propertyName === 'mDestroyedPickups' || propertyName === 'mLootedDropPods') {
|
|
43
|
-
property = new SetProperty(subtype, new Array(elementCount).fill(0).map(() => GUID_1.GUID.read(reader)), ueType, index);
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
throw new Error(`Not Implemented SetProperty of StructProperty for property ${propertyName}.`);
|
|
47
|
-
}
|
|
48
|
-
break;
|
|
49
|
-
default:
|
|
50
|
-
throw new Error(`Not Implemented SetProperty of ${subtype}.`);
|
|
51
|
-
}
|
|
52
|
-
return property;
|
|
53
|
-
}
|
|
54
|
-
static CalcOverhead(property) {
|
|
55
|
-
return property.subtype.length + 5 + 1;
|
|
56
|
-
}
|
|
57
|
-
static Serialize(writer, property) {
|
|
58
|
-
writer.writeString(property.subtype);
|
|
59
|
-
writer.writeByte(0);
|
|
60
|
-
writer.writeInt32(0);
|
|
61
|
-
writer.writeInt32(property.values.length);
|
|
62
|
-
switch (property.subtype) {
|
|
63
|
-
case "IntProperty":
|
|
64
|
-
case "Int32Property":
|
|
65
|
-
property.values.forEach(v => Int32Property_1.Int32Property.SerializeValue(writer, v));
|
|
66
|
-
break;
|
|
67
|
-
case "UIntProperty":
|
|
68
|
-
case "UInt32Property":
|
|
69
|
-
property.values.forEach(v => Uint32Property_1.Uint32Property.SerializeValue(writer, v));
|
|
70
|
-
break;
|
|
71
|
-
case "ObjectProperty":
|
|
72
|
-
property.values.forEach(v => ObjectProperty_1.ObjectProperty.SerializeValue(writer, v));
|
|
73
|
-
break;
|
|
74
|
-
case "NameProperty":
|
|
75
|
-
property.values.forEach(v => StrProperty_1.StrProperty.SerializeValue(writer, v));
|
|
76
|
-
break;
|
|
77
|
-
case "StructProperty":
|
|
78
|
-
if (property.name === 'mRemovalLocations') {
|
|
79
|
-
console.warn('serializing mRemovalLocations, this is still under investigation.');
|
|
80
|
-
property.values.forEach(v => vec3_1.vec3.SerializeF(writer, v));
|
|
81
|
-
}
|
|
82
|
-
else if (property.name === 'mDestroyedPickups' || property.name === 'mLootedDropPods') {
|
|
83
|
-
property.values.forEach(v => GUID_1.GUID.write(writer, v));
|
|
84
|
-
}
|
|
85
|
-
else {
|
|
86
|
-
throw new Error(`Not Implemented serializing SetProperty of StructProperty for property ${property.name}.`);
|
|
87
|
-
}
|
|
88
|
-
break;
|
|
89
|
-
default:
|
|
90
|
-
throw new Error(`Not Implemented SetProperty of ${property.subtype}.`);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
exports.SetProperty = SetProperty;
|
|
95
|
-
//# sourceMappingURL=SetProperty.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SetProperty.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/generic/SetProperty.ts"],"names":[],"mappings":";;;AAEA,6CAA0C;AAE1C,6CAA0C;AAC1C,mDAAgD;AAChD,mDAAgD;AAChD,qDAAkD;AAClD,+CAA4C;AAC5C,qDAAkD;AAE3C,MAAM,aAAa,GAAG,CAAC,QAAuB,EAAgC,EAAE,CAAC,QAAQ,CAAC,IAAI,KAAK,aAAa,CAAC;AAA3G,QAAA,aAAa,iBAA8F;AAExH,MAAa,WAAe,SAAQ,6BAAa;IAE7C,YAAmB,OAAe,EAAS,MAAW,EAAE,MAAc,EAAE,KAAa;QACjF,KAAK,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;QAD/B,YAAO,GAAP,OAAO,CAAQ;QAAS,WAAM,GAAN,MAAM,CAAK;IAEtD,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,MAAsB,EAAE,MAAc,EAAE,KAAa,EAAE,YAAoB;QAE3F,MAAM,OAAO,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;QACpC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;QACpB,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;QACpB,MAAM,YAAY,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAExC,IAAI,QAA0B,CAAC;QAC/B,QAAQ,OAAO,EAAE,CAAC;YAEd,KAAK,gBAAgB;gBACjB,QAAQ,GAAG,IAAI,WAAW,CAAS,OAAO,EAAE,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,+BAAc,CAAC,SAAS,CAAC,MAAM,CAAC,C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,CAAC,CAAC;gBACvE,MAAM;YAEV,KAAK,gBAAgB;gBACjB,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,+BAAc,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;gBACvE,MAAM;YAEV,KAAK,cAAc;gBACf,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAW,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;gBACpE,MAAM;YAEV,KAAK,gBAAgB;gBAEjB,IAAI,QAAQ,CAAC,IAAI,KAAK,mBAAmB,EAAE,CAAC;oBACxC,OAAO,CAAC,IAAI,CAAC,mEAAmE,CAAC,CAAC;oBAClF,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,WAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;gBAC7D,CAAC;qBAAM,IAAI,QAAQ,CAAC,IAAI,KAAK,mBAAmB,IAAI,QAAQ,CAAC,IAAI,KAAK,iBAAiB,EAAE,CAAC;oBACtF,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,WAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;gBACxD,CAAC;qBAAM,CAAC;oBACJ,MAAM,IAAI,KAAK,CAAC,0EAA0E,QAAQ,CAAC,IAAI,GAAG,CAAC,CAAC;gBAChH,CAAC;gBACD,MAAM;YAGV;gBACI,MAAM,IAAI,KAAK,CAAC,kCAAkC,QAAQ,CAAC,OAAO,GAAG,CAAC,CAAC;QAC/E,CAAC;IACL,CAAC;CACJ;AAnGD,kCAmGC","sourcesContent":["import { BinaryReadable } from '../../../../byte/binary-readable.interface';\nimport { ByteWriter } from '../../../../byte/byte-writer.class';\nimport { GUID } from '../../structs/GUID';\nimport { ObjectReference } from '../../structs/ObjectReference';\nimport { vec3 } from '../../structs/vec3';\nimport { BasicProperty } from './BasicProperty';\nimport { Int32Property } from './Int32Property';\nimport { ObjectProperty } from './ObjectProperty';\nimport { StrProperty } from './StrProperty';\nimport { Uint32Property } from './Uint32Property';\n\nexport const isSetProperty = (property: BasicProperty): property is SetProperty<any> => property.type === 'SetProperty';\n\nexport class SetProperty<T> extends BasicProperty {\n\n constructor(public subtype: string, public values: T[], ueType: string, index: number) {\n super({ type: 'SetProperty', ueType, index });\n }\n\n public static Parse(reader: BinaryReadable, ueType: string, index: number, propertyName: string): SetProperty<any> {\n\n const subtype = reader.readString();\n reader.skipBytes(1); // 0\n reader.skipBytes(4); // 0\n const elementCount = reader.readInt32();\n\n let property: SetProperty<any>;\n switch (subtype) {\n\n case \"UInt32Property\":\n property = new SetProperty<number>(subtype, new Array(elementCount).fill(0).map(() => Uint32Property.ReadValue(reader)), ueType, index);\n break;\n\n case \"IntProperty\":\n property = new SetProperty<number>(subtype, new Array(elementCount).fill(0).map(() => Int32Property.ReadValue(reader)), ueType, index);\n break;\n\n case \"ObjectProperty\":\n property = new SetProperty<ObjectReference>(subtype, new Array(elementCount).fill(0).map(() => ObjectProperty.ReadValue(reader)), ueType, index);\n break;\n\n case \"NameProperty\":\n property = new SetProperty<string>(subtype, new Array(elementCount).fill(0).map(() => StrProperty.ReadValue(reader)), ueType, index);\n break;\n\n case \"StructProperty\":\n\n if (propertyName === 'mRemovalLocations') {\n property = new SetProperty<vec3>(subtype, new Array(elementCount).fill(0).map(() => vec3.ParseF(reader)), ueType, index);\n }\n\n if (propertyName === 'mDestroyedPickups' || propertyName === 'mLootedDropPods') {\n property = new SetProperty<GUID>(subtype, new Array(elementCount).fill(0).map(() => GUID.read(reader)), ueType, index);\n } else {\n throw new Error(`Not Implemented SetProperty of StructProperty for property ${propertyName}.`);\n }\n break;\n\n default:\n throw new Error(`Not Implemented SetProperty of ${subtype}.`);\n }\n\n return property!;\n }\n\n public static CalcOverhead(property: SetProperty<any>): number {\n return property.subtype.length + 5 + 1;\n }\n\n public static Serialize(writer: ByteWriter, property: SetProperty<any>): void {\n writer.writeString(property.subtype);\n writer.writeByte(0);\n writer.writeInt32(0);\n writer.writeInt32(property.values.length);\n\n switch (property.subtype) {\n\n case \"IntProperty\":\n case \"Int32Property\":\n property.values.forEach(v => Int32Property.SerializeValue(writer, v));\n break;\n\n case \"UIntProperty\":\n case \"UInt32Property\":\n property.values.forEach(v => Uint32Property.SerializeValue(writer, v));\n break;\n\n case \"ObjectProperty\":\n property.values.forEach(v => ObjectProperty.SerializeValue(writer, v));\n break;\n\n case \"NameProperty\":\n property.values.forEach(v => StrProperty.SerializeValue(writer, v));\n break;\n\n case \"StructProperty\":\n // outdated i guess\n if (property.name === 'mRemovalLocations') {\n console.warn('serializing mRemovalLocations, this is still under investigation.');\n property.values.forEach(v => vec3.SerializeF(writer, v));\n } else if (property.name === 'mDestroyedPickups' || property.name === 'mLootedDropPods') {\n property.values.forEach(v => GUID.write(writer, v));\n } else {\n throw new Error(`Not Implemented serializing SetProperty of StructProperty for property ${property.name}.`);\n }\n break;\n\n\n default:\n throw new Error(`Not Implemented SetProperty of ${property.subtype}.`);\n }\n }\n}\n"]}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ObjectReference } from '../../structs/ObjectReference';
|
|
2
|
-
import { Transform } from '../../structs/Transform';
|
|
3
|
-
import { vec2 } from '../../structs/vec2';
|
|
4
|
-
import { vec3 } from '../../structs/vec3';
|
|
5
|
-
export type SpecialAnyProperties = EmptySpecialProperties | PowerLineSpecialProperties | PlayerSpecialProperties | ConveyorChainActorSpecialProperties | BuildableSubsystemSpecialProperties;
|
|
6
|
-
export type EmptySpecialProperties = {};
|
|
7
|
-
export type PowerLineSpecialProperties = {
|
|
8
|
-
source: ObjectReference;
|
|
9
|
-
target: ObjectReference;
|
|
10
|
-
sourceTranslation?: vec3;
|
|
11
|
-
targetTranslation?: vec3;
|
|
12
|
-
};
|
|
13
|
-
export type PlayerSpecialProperties = {
|
|
14
|
-
flag: number;
|
|
15
|
-
eosData?: string;
|
|
16
|
-
steamPlayerData?: string;
|
|
17
|
-
};
|
|
18
|
-
export type ConveyorItemSpecialProperties = {
|
|
19
|
-
position: number;
|
|
20
|
-
itemName: string;
|
|
21
|
-
};
|
|
22
|
-
export type ConveyorChainSegmentSpecialProperties = {
|
|
23
|
-
chainActorRef: ObjectReference;
|
|
24
|
-
beltRef: ObjectReference;
|
|
25
|
-
someCount: number;
|
|
26
|
-
unknownUseBytes: number[];
|
|
27
|
-
firstItemIndex: number;
|
|
28
|
-
lastItemIndex: number;
|
|
29
|
-
beltIndexInChain: number;
|
|
30
|
-
};
|
|
31
|
-
export type ConveyorChainActorSpecialProperties = {
|
|
32
|
-
firstBelt: ObjectReference;
|
|
33
|
-
lastBelt: ObjectReference;
|
|
34
|
-
beltsInChain: ConveyorChainSegmentSpecialProperties[];
|
|
35
|
-
unknownInts: [number, number];
|
|
36
|
-
firstChainItemIndex: number;
|
|
37
|
-
lastChainItemIndex: number;
|
|
38
|
-
items: ConveyorItemSpecialProperties[];
|
|
39
|
-
};
|
|
40
|
-
export type BuildableTypeInstance = {
|
|
41
|
-
transform: Transform;
|
|
42
|
-
unknownUseNumbers: [vec2, vec3];
|
|
43
|
-
swatchSlotTypePath: string;
|
|
44
|
-
paintFinishPath: string;
|
|
45
|
-
recipeTypePath: string;
|
|
46
|
-
patternPath: string;
|
|
47
|
-
blueprintProxy: ObjectReference;
|
|
48
|
-
};
|
|
49
|
-
export type BuildableSubsystemSpecialProperties = {
|
|
50
|
-
buildables: {
|
|
51
|
-
typePath: string;
|
|
52
|
-
instances: BuildableTypeInstance[];
|
|
53
|
-
}[];
|
|
54
|
-
};
|
|
55
|
-
//# sourceMappingURL=SpecialAnyProperties.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpecialAnyProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/SpecialAn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AAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,6BAA6B,EAAE,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAChC,SAAS,EAAE,SAAS,CAAC;IACrB,iBAAiB,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAChC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,eAAe,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAC9C,UAAU,EAAE;QACR,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,qBAAqB,EAAE,CAAC;KACtC,EAAE,CAAC;CACP,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpecialAnyProperties.js","sourceRoot":"","sources":["../../../../../../src/parser/satisfactory/types/property/special/SpecialAnyProperties.ts"],"names":[],"mappings":"","sourcesContent":["import { ObjectReference } from '../../structs/ObjectReference';\nimport { Transform } from '../../structs/Transform';\nimport { vec2 } from '../../structs/vec2';\nimport { vec3 } from '../../structs/vec3';\n\n\nexport type SpecialAnyProperties = EmptySpecialProperties | PowerLineSpecialProperties | PlayerSpecialProperties | ConveyorChainActorSpecialProperties | BuildableSubsystemSpecialProperties;\n\nexport type EmptySpecialProperties = {\n\n};\n\nexport type PowerLineSpecialProperties = {\n source: ObjectReference;\n target: ObjectReference;\n sourceTranslation?: vec3;\n targetTranslation?: vec3;\n};\n\nexport type PlayerSpecialProperties = {\n flag: number;\n eosData?: string;\n steamPlayerData?: string;\n};\n\nexport type ConveyorItemSpecialProperties = {\n position: number;\n itemName: string;\n};\n\nexport type ConveyorChainSegmentSpecialProperties = {\n chainActorRef: ObjectReference;\n beltRef: ObjectReference;\n someCount: number;\n unknownUseBytes: number[];\n firstItemIndex: number;\n lastItemIndex: number;\n beltIndexInChain: number;\n}\n\nexport type ConveyorChainActorSpecialProperties = {\n firstBelt: ObjectReference;\n lastBelt: ObjectReference;\n beltsInChain: ConveyorChainSegmentSpecialProperties[];\n unknownInts: [number, number];\n firstChainItemIndex: number;\n lastChainItemIndex: number;\n items: ConveyorItemSpecialProperties[];\n};\n\nexport type BuildableTypeInstance = {\n transform: Transform;\n unknownUseNumbers: [vec2, vec3];\n swatchSlotTypePath: string;\n paintFinishPath: string;\n recipeTypePath: string;\n patternPath: string;\n blueprintProxy: ObjectReference;\n};\n\nexport type BuildableSubsystemSpecialProperties = {\n buildables: {\n typePath: string;\n instances: BuildableTypeInstance[];\n }[];\n};\n"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AbstractBaseProperty | @etothepii/satisfactory-file-parser</title><meta name="description" content="Documentation for @etothepii/satisfactory-file-parser"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@etothepii/satisfactory-file-parser</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@etothepii/satisfactory-file-parser</a></li><li><a href="AbstractBaseProperty.html">AbstractBaseProperty</a></li></ul><h1>Class AbstractBaseProperty<code class="tsd-tag">Abstract</code></h1></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a href="../hierarchy.html#AbstractBaseProperty">view full</a>)</h4><ul class="tsd-hierarchy"><li><span class="target">AbstractBaseProperty</span><ul class="tsd-hierarchy"><li><a href="BoolProperty.html" class="tsd-signature-type tsd-kind-class">BoolProperty</a></li><li><a href="ByteProperty.html" class="tsd-signature-type tsd-kind-class">ByteProperty</a></li><li><a href="DoubleProperty.html" class="tsd-signature-type tsd-kind-class">DoubleProperty</a></li><li><a href="EnumProperty.html" class="tsd-signature-type tsd-kind-class">EnumProperty</a></li><li><a href="FloatProperty.html" class="tsd-signature-type tsd-kind-class">FloatProperty</a></li><li><a href="Int32Property.html" class="tsd-signature-type tsd-kind-class">Int32Property</a></li><li><a href="Int64Property.html" class="tsd-signature-type tsd-kind-class">Int64Property</a></li><li><a href="Int8Property.html" class="tsd-signature-type tsd-kind-class">Int8Property</a></li><li><a href="MapProperty.html" class="tsd-signature-type tsd-kind-class">MapProperty</a></li><li><a href="ObjectProperty.html" class="tsd-signature-type tsd-kind-class">ObjectProperty</a></li><li><a href="StrProperty.html" class="tsd-signature-type tsd-kind-class">StrProperty</a></li><li><a href="StructProperty.html" class="tsd-signature-type tsd-kind-class">StructProperty</a></li><li><a href="TextProperty.html" class="tsd-signature-type tsd-kind-class">TextProperty</a></li><li><a href="Uint32Property.html" class="tsd-signature-type tsd-kind-class">Uint32Property</a></li><li><a href="Uint64Property.html" class="tsd-signature-type tsd-kind-class">Uint64Property</a></li><li><a href="Uint8Property.html" class="tsd-signature-type tsd-kind-class">Uint8Property</a></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/etothepii4/satisfactory-file-parser/blob/95ee767e63762f6395b91bd67cc0912253ac5315/src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts#L24">src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts:24</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="AbstractBaseProperty.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
2
|
-
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="AbstractBaseProperty.html#guidInfo" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>guid<wbr/>Info</span></a>
|
|
3
|
-
<a href="AbstractBaseProperty.html#index" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>index</span></a>
|
|
4
|
-
<a href="AbstractBaseProperty.html#name" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a>
|
|
5
|
-
<a href="AbstractBaseProperty.html#type" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a>
|
|
6
|
-
<a href="AbstractBaseProperty.html#ueType" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ue<wbr/>Type</span></a>
|
|
7
|
-
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_AbstractBaseProperty" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Abstract<wbr/>Base<wbr/>Property</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="AbstractBaseProperty.html" class="tsd-signature-type tsd-kind-class">AbstractBaseProperty</a><a href="#constructor.new_AbstractBaseProperty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">AbstractBasePropertyOptions</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="AbstractBaseProperty.html" class="tsd-signature-type tsd-kind-class">AbstractBaseProperty</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/etothepii4/satisfactory-file-parser/blob/95ee767e63762f6395b91bd67cc0912253ac5315/src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts#L32">src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts:32</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="guidInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>guid<wbr/>Info</span><a href="#guidInfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">guid<wbr/>Info</span><span class="tsd-signature-symbol">:</span> <a href="../types/GUIDInfo-1.html" class="tsd-signature-type tsd-kind-type-alias">GUIDInfo</a><span class="tsd-signature-symbol"> = undefined</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/etothepii4/satisfactory-file-parser/blob/95ee767e63762f6395b91bd67cc0912253ac5315/src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts#L30">src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts:30</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="index" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>index</span><a href="#index" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">index</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = undefined</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/etothepii4/satisfactory-file-parser/blob/95ee767e63762f6395b91bd67cc0912253ac5315/src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts#L29">src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts:29</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="name" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ''</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/etothepii4/satisfactory-file-parser/blob/95ee767e63762f6395b91bd67cc0912253ac5315/src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts#L28">src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts:28</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="type" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/etothepii4/satisfactory-file-parser/blob/95ee767e63762f6395b91bd67cc0912253ac5315/src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts#L26">src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts:26</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="ueType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ue<wbr/>Type</span><a href="#ueType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ue<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/etothepii4/satisfactory-file-parser/blob/95ee767e63762f6395b91bd67cc0912253ac5315/src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts#L27">src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts:27</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#guidInfo" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>guid<wbr/>Info</span></a><a href="#index" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>index</span></a><a href="#name" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a><a href="#type" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a><a href="#ueType" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ue<wbr/>Type</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@etothepii/satisfactory-file-parser</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|