@etothepii/satisfactory-file-parser 1.1.1 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/tests.yml +24 -0
- package/CHANGELOG.md +95 -0
- package/GUIDE.md +81 -0
- package/README.md +96 -125
- package/build/index.d.ts +21 -3
- package/build/index.d.ts.map +1 -1
- package/build/index.js +21 -3
- package/build/index.js.map +1 -1
- package/build/parser/byte/byte-reader.class.d.ts +1 -1
- package/build/parser/byte/byte-reader.class.d.ts.map +1 -1
- package/build/parser/byte/byte-reader.class.js +4 -4
- package/build/parser/byte/byte-reader.class.js.map +1 -1
- package/build/parser/parser.d.ts +1 -1
- package/build/parser/parser.d.ts.map +1 -1
- package/build/parser/parser.js +1 -1
- package/build/parser/parser.js.map +1 -1
- 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/save/level.class.d.ts.map +1 -1
- package/build/parser/satisfactory/save/level.class.js +3 -1
- package/build/parser/satisfactory/save/level.class.js.map +1 -1
- package/build/parser/satisfactory/types/objects/SaveObject.d.ts +1 -1
- package/build/parser/satisfactory/types/objects/SaveObject.d.ts.map +1 -1
- package/build/parser/satisfactory/types/objects/SaveObject.js.map +1 -1
- package/build/parser/satisfactory/types/property/PropertiesList.d.ts +2 -2
- package/build/parser/satisfactory/types/property/PropertiesList.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/PropertiesList.js +6 -6
- package/build/parser/satisfactory/types/property/PropertiesList.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.d.ts +23 -0
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.js +14 -0
- package/build/parser/satisfactory/types/property/generic/AbstractBaseProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.d.ts +22 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.js +128 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.d.ts +14 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.d.ts +14 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.d.ts +14 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.d.ts +14 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.d.ts +14 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.d.ts +14 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.d.ts +14 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.d.ts +15 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.d.ts +15 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.d.ts +14 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.d.ts +26 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.js +75 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.d.ts +15 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/BoolProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/BoolProperty.js +20 -20
- package/build/parser/satisfactory/types/property/generic/BoolProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/ByteProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ByteProperty.js +20 -21
- package/build/parser/satisfactory/types/property/generic/ByteProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.js +20 -20
- package/build/parser/satisfactory/types/property/generic/DoubleProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts +11 -13
- package/build/parser/satisfactory/types/property/generic/EnumProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/EnumProperty.js +20 -21
- package/build/parser/satisfactory/types/property/generic/EnumProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/FloatProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/FloatProperty.js +20 -20
- package/build/parser/satisfactory/types/property/generic/FloatProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/Int32Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int32Property.js +20 -20
- package/build/parser/satisfactory/types/property/generic/Int32Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/Int64Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int64Property.js +20 -20
- package/build/parser/satisfactory/types/property/generic/Int64Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/Int8Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Int8Property.js +20 -20
- package/build/parser/satisfactory/types/property/generic/Int8Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts +9 -7
- package/build/parser/satisfactory/types/property/generic/MapProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/MapProperty.js +24 -22
- package/build/parser/satisfactory/types/property/generic/MapProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.js +20 -20
- package/build/parser/satisfactory/types/property/generic/ObjectProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts +14 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.d.ts +15 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.d.ts +15 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.js +73 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/SetProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.d.ts +14 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/StrSetProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.d.ts +14 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js +43 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/StructSetProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.d.ts +14 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.d.ts.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.js +23 -0
- package/build/parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty.js.map +1 -0
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js +22 -22
- package/build/parser/satisfactory/types/property/generic/SoftObjectProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/StrProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StrProperty.js +20 -20
- package/build/parser/satisfactory/types/property/generic/StrProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/StructProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/StructProperty.js +27 -25
- package/build/parser/satisfactory/types/property/generic/StructProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/TextProperty.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/TextProperty.js +20 -20
- package/build/parser/satisfactory/types/property/generic/TextProperty.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/Uint32Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint32Property.js +20 -20
- package/build/parser/satisfactory/types/property/generic/Uint32Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/Uint64Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint64Property.js +20 -20
- package/build/parser/satisfactory/types/property/generic/Uint64Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts +11 -10
- package/build/parser/satisfactory/types/property/generic/Uint8Property.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/generic/Uint8Property.js +20 -20
- package/build/parser/satisfactory/types/property/generic/Uint8Property.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.js +1 -1
- package/build/parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties.js.map +1 -1
- package/build/parser/satisfactory/types/property/special/SpecialDroneActionProperties.d.ts +1 -1
- package/build/parser/satisfactory/types/property/special/SpecialDroneActionProperties.d.ts.map +1 -1
- package/build/parser/satisfactory/types/property/special/SpecialDroneActionProperties.js.map +1 -1
- package/build/parser/satisfactory/types/structs/DynamicStructPropertyValue.d.ts +1 -1
- package/build/parser/satisfactory/types/structs/DynamicStructPropertyValue.d.ts.map +1 -1
- package/build/parser/satisfactory/types/structs/DynamicStructPropertyValue.js.map +1 -1
- package/build/parser/stream/reworked/readable-stream-parser.d.ts +1 -1
- package/build/parser/stream/reworked/readable-stream-parser.d.ts.map +1 -1
- package/build/parser/stream/reworked/readable-stream-parser.js +1 -1
- package/build/parser/stream/reworked/readable-stream-parser.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 +5 -4
- package/docs/classes/BlueprintConfigWriter.html +3 -3
- package/docs/classes/BlueprintReader.html +5 -4
- 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 +7 -7
- package/docs/classes/ParserError.html +2 -2
- package/docs/classes/ReadableStreamParser.html +3 -3
- 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 +14 -0
- package/docs/classes/SaveReader.html +5 -4
- 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 -0
- package/docs/functions/ArrayProperty.Parse.html +1 -0
- package/docs/functions/ArrayProperty.Serialize.html +1 -0
- package/docs/functions/BoolArrayProperty.Parse.html +1 -0
- package/docs/functions/BoolArrayProperty.Serialize.html +1 -0
- 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 -0
- package/docs/functions/ByteArrayProperty.Serialize.html +1 -0
- 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 -0
- package/docs/functions/DoubleArrayProperty.Serialize.html +1 -0
- 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 -0
- package/docs/functions/EnumArrayProperty.Serialize.html +1 -0
- 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 -0
- package/docs/functions/FloatArrayProperty.Serialize.html +1 -0
- 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 -0
- package/docs/functions/Int32ArrayProperty.Serialize.html +1 -0
- 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 -0
- package/docs/functions/Int32SetProperty.Serialize.html +1 -0
- package/docs/functions/Int64ArrayProperty.Parse.html +1 -0
- package/docs/functions/Int64ArrayProperty.Serialize.html +1 -0
- 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 -0
- package/docs/functions/ObjectArrayProperty.Serialize.html +1 -0
- 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 -0
- package/docs/functions/ObjectSetProperty.Serialize.html +1 -0
- 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 -0
- package/docs/functions/SetProperty.Parse.html +1 -0
- package/docs/functions/SetProperty.Serialize.html +1 -0
- package/docs/functions/SoftObjectArrayProperty.Parse.html +1 -0
- package/docs/functions/SoftObjectArrayProperty.Serialize.html +1 -0
- 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 -0
- package/docs/functions/StrArrayProperty.Serialize.html +1 -0
- 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 -0
- package/docs/functions/StrSetProperty.Serialize.html +1 -0
- package/docs/functions/StructArrayProperty.Parse.html +1 -0
- package/docs/functions/StructArrayProperty.Serialize.html +1 -0
- 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 -0
- package/docs/functions/StructSetProperty.Serialize.html +1 -0
- package/docs/functions/TextArrayProperty.Parse.html +1 -0
- package/docs/functions/TextArrayProperty.Serialize.html +1 -0
- 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 -0
- package/docs/functions/Uint32SetProperty.Serialize.html +1 -0
- 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 -0
- package/docs/functions/isBoolProperty.html +1 -1
- package/docs/functions/isBuildableSubsystemSpecialProperties.html +1 -1
- package/docs/functions/isByteArrayProperty.html +1 -0
- 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 -0
- package/docs/functions/isDoubleProperty.html +1 -1
- package/docs/functions/isEmptySpecialProperties.html +1 -1
- package/docs/functions/isEnumArrayProperty.html +1 -0
- package/docs/functions/isEnumProperty.html +1 -1
- package/docs/functions/isFloatArrayProperty.html +1 -0
- package/docs/functions/isFloatProperty.html +1 -1
- package/docs/functions/isInt32ArrayProperty.html +1 -0
- package/docs/functions/isInt32Property.html +1 -1
- package/docs/functions/isInt32SetProperty.html +1 -0
- package/docs/functions/isInt64ArrayProperty.html +1 -0
- 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 -0
- package/docs/functions/isObjectProperty.html +1 -1
- package/docs/functions/isObjectSetProperty.html +1 -0
- 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 -0
- package/docs/functions/isSpecialDroneActionProperties.html +1 -1
- package/docs/functions/isStrArrayProperty.html +1 -0
- package/docs/functions/isStrProperty.html +1 -1
- package/docs/functions/isStrSetProperty.html +1 -0
- package/docs/functions/isStructArrayProperty.html +1 -0
- package/docs/functions/isStructProperty.html +1 -1
- package/docs/functions/isStructSetProperty.html +1 -0
- package/docs/functions/isTextArrayProperty.html +1 -0
- 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 -0
- 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 +26 -87
- 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 +4 -0
- package/docs/modules/AbstractBaseProperty.html +2 -0
- package/docs/modules/ArrayProperty.html +5 -0
- package/docs/modules/BoolArrayProperty.html +3 -0
- package/docs/modules/BoolProperty.html +6 -0
- package/docs/modules/BuildableSubsystemSpecialProperties.html +1 -1
- package/docs/modules/ByteArrayProperty.html +3 -0
- 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 +3 -0
- 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 +3 -0
- package/docs/modules/EnumProperty.html +6 -0
- package/docs/modules/FICFrameRange.html +1 -1
- package/docs/modules/FloatArrayProperty.html +3 -0
- 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 +3 -0
- package/docs/modules/Int32Property.html +6 -0
- package/docs/modules/Int32SetProperty.html +3 -0
- package/docs/modules/Int64ArrayProperty.html +3 -0
- 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 +3 -0
- package/docs/modules/ObjectProperty.html +6 -0
- package/docs/modules/ObjectReference.html +1 -1
- package/docs/modules/ObjectSetProperty.html +3 -0
- 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 +5 -0
- package/docs/modules/SoftObjectArrayProperty.html +3 -0
- 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 +3 -0
- package/docs/modules/StrProperty.html +6 -0
- package/docs/modules/StrSetProperty.html +3 -0
- package/docs/modules/StructArrayProperty.html +3 -0
- package/docs/modules/StructProperty.html +6 -0
- package/docs/modules/StructSetProperty.html +3 -0
- package/docs/modules/TextArrayProperty.html +3 -0
- 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 +3 -0
- 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 +92 -24
- package/docs/types/AbstractBaseProperty-1.html +1 -0
- package/docs/types/ArrayProperty.AvailableArrayPropertyTypes.html +1 -0
- 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 -0
- 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 -0
- 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 -0
- 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 -0
- 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 -0
- 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 -0
- package/docs/types/Int32Property-1.html +1 -0
- package/docs/types/Int32SetProperty-1.html +1 -0
- package/docs/types/Int64ArrayProperty-1.html +1 -0
- 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 -0
- package/docs/types/ObjectProperty-1.html +1 -0
- package/docs/types/ObjectReference-1.html +1 -1
- package/docs/types/ObjectSetProperty-1.html +1 -0
- 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 -0
- package/docs/types/SoftObjectArrayProperty-1.html +1 -0
- 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 -0
- package/docs/types/StrProperty-1.html +1 -0
- package/docs/types/StrSetProperty-1.html +1 -0
- package/docs/types/StructArrayProperty-1.html +1 -0
- package/docs/types/StructProperty-1.html +1 -0
- package/docs/types/StructSetProperty-1.html +1 -0
- package/docs/types/TextArrayProperty-1.html +1 -0
- 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 -0
- 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 +3 -3
- package/LICENSE +0 -21
- 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 -6
- package/docs/classes/AbstractProperty.html +0 -4
- package/docs/classes/ArrayProperty.html +0 -13
- package/docs/classes/BasicProperty.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/SetProperty.html +0 -12
- 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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: Tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
branches: [ main ]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
strategy:
|
|
14
|
+
matrix:
|
|
15
|
+
node-version: [20.x, 22.x]
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
20
|
+
uses: actions/setup-node@v4
|
|
21
|
+
with:
|
|
22
|
+
node-version: ${{ matrix.node-version }}
|
|
23
|
+
- run: npm ci
|
|
24
|
+
- run: npm test
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
|
|
2
|
+
# Changelog
|
|
3
|
+
### [2.1.1] (2024-11-24)
|
|
4
|
+
#### Blueprint structure
|
|
5
|
+
* Item costs and recipes in a blueprint are now correctly treated as ObjectReference, instead a single path string.
|
|
6
|
+
#### Internal Updates
|
|
7
|
+
* Migrated the rest of the generic properties towards namespaces
|
|
8
|
+
#### Updated README examples
|
|
9
|
+
#### Provided auto-generated typedoc
|
|
10
|
+
|
|
11
|
+
### [2.0.1] (2024-10-31)
|
|
12
|
+
#### Normal Properties Update
|
|
13
|
+
* Most Normal Properties classes got refactored to namespaces as well. More will come. Please refrain from using instances of them. Background being, that its anyway only static methods and types.
|
|
14
|
+
* Since normal properties of an object are effectively always of type `AbstractBaseProperty | AbstractBaseProperty[]`, the `AbstractBaseProperty` has now all fields and `BasicProperty` got removed as there is no difference anymore between the two. They would be the same now.
|
|
15
|
+
* type guards of "normal" properties like `isObjectProperty()` accept now `any` as parameter and should work now as expected
|
|
16
|
+
* Since ArrayProperties and SetProperties in the save format dont necessarily always have the same structure as their subtype, I introduced own types like `StrArrayProperty` and `Int32SetProperty` with corresponding type guards (e.g. `isStrArrayProperty()`). Means more overhead in code, but hence its more correct in usage.
|
|
17
|
+
#### Bugfix
|
|
18
|
+
* The total conveyor length in the special properties of a ConveyorChainActor got serialized as int32, but correctly now serialize as float32.
|
|
19
|
+
|
|
20
|
+
### [1.1.1] (2024-10-21)
|
|
21
|
+
#### Improved Special Properties
|
|
22
|
+
* Improved on SpecialProperties of BuildableSubsystem and ConveyorChainActor as the meaning became more clear.
|
|
23
|
+
* Special Properties are refactored into their own namespaces and exported.
|
|
24
|
+
* The union type `SpecialAnyProperties` is now automatically derived and more concisely named `SpecialProperties.AvailableSpecialPropertiesTypes` instead, in case you need it.
|
|
25
|
+
|
|
26
|
+
### [1.0.3] (2024-10-17)
|
|
27
|
+
#### Hotfix
|
|
28
|
+
* fix being forced to use callbacks when writing saves or blueprints.
|
|
29
|
+
|
|
30
|
+
### [1.0.2] (2024-10-17)
|
|
31
|
+
#### Internal renaming
|
|
32
|
+
* `...SpecialProperty` got all renamed to `...SpecialProperties`.
|
|
33
|
+
|
|
34
|
+
### [1.0.1] (2024-10-17)
|
|
35
|
+
#### Major breaking changes on Parser usage
|
|
36
|
+
* Cleaned Usage methods of Save / Blueprint Parsing. The callbacks are an optional additional parameter object now instead of required.
|
|
37
|
+
* Re-Added a method to parse Saves in memory again. (sorry for the inconvenience)
|
|
38
|
+
#### Internal structure changes
|
|
39
|
+
* `SatisfactorySave` structure changed, the `grids` and `gridHash` fields are slightly different now, since their meaning became more clear. Not relevant for normal save editing.
|
|
40
|
+
* `Level` is a namespace instead of a class now, since the classes had only static methods anyway.
|
|
41
|
+
#### module build now includes source maps
|
|
42
|
+
#### module build should now include a docs folder for auto-generated documentation
|
|
43
|
+
|
|
44
|
+
### [0.5.1] (2024-10-15)
|
|
45
|
+
#### Added Mod Support
|
|
46
|
+
#### Internal Renamings
|
|
47
|
+
* `DynamicStructPropertyValue` extracted to own file.
|
|
48
|
+
* Parsing of object data partially moved to `SaveObject`.
|
|
49
|
+
* Renamed `DataFields` class to `PropertiesList`.
|
|
50
|
+
* Moved parsing of class-specific properties into own namespace.
|
|
51
|
+
* `ObjectProperty` and `SoftObjectProperty` now reuse the correct method for parsing/serializing the reference value.
|
|
52
|
+
|
|
53
|
+
### [0.4.22] (2024-10-07)
|
|
54
|
+
#### compatibility fix
|
|
55
|
+
* referenced icon libraries in blueprints are now optional when being parsed.
|
|
56
|
+
|
|
57
|
+
### [0.4.21] (2024-10-07)
|
|
58
|
+
#### internal package restructuring
|
|
59
|
+
* restructured some internal packages.
|
|
60
|
+
* provides now typeguards for every property.
|
|
61
|
+
|
|
62
|
+
### [0.4.20] (2024-10-06)
|
|
63
|
+
#### bugfix
|
|
64
|
+
* added parsing of icon library reference to parsing blueprints.
|
|
65
|
+
|
|
66
|
+
### [0.4.19] (2024-10-06)
|
|
67
|
+
#### Migrated repo to public github
|
|
68
|
+
|
|
69
|
+
### [0.4.18] (2024-10-05)
|
|
70
|
+
#### updated README
|
|
71
|
+
|
|
72
|
+
### [0.4.17] (2024-10-05)
|
|
73
|
+
#### updated README
|
|
74
|
+
#### bugfix
|
|
75
|
+
* `ClientIdentityInfo` field names and structure got changed, since the meaning is now more clear.
|
|
76
|
+
* removed trailing object list from satisfactory save object.
|
|
77
|
+
* deleted entities references get serialized again, just based on collectables list.
|
|
78
|
+
|
|
79
|
+
### [0.4.16] (2024-10-03)
|
|
80
|
+
#### bugfix
|
|
81
|
+
* exporting `isSaveEntity` and `isSaveComponent` again.
|
|
82
|
+
|
|
83
|
+
### [0.4.15] (2024-10-02)
|
|
84
|
+
#### updated README
|
|
85
|
+
* changelog document doesn't seem linkable, so it is in the readme for now.
|
|
86
|
+
|
|
87
|
+
### [0.4.14] (2024-10-02)
|
|
88
|
+
#### updated README
|
|
89
|
+
* updated the code examples with more context
|
|
90
|
+
#### Internal renamings (won't affect you if you stick to the code examples)
|
|
91
|
+
* improved the interface for abstract parser classes
|
|
92
|
+
* extended some error log messages
|
|
93
|
+
* added an additional check when parsing struct property InventoryItem, since ported saves often have a few more bytes.
|
|
94
|
+
* changed function name `writeFloat()` to `writeFloat32()` of the save writer.
|
|
95
|
+
* changed variable name `saveOrBlueprintIndicator` to `objectVersion` for objects, since the meaning of that number became now more clear.
|
package/GUIDE.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
|
|
2
|
+
# Basic Concepts
|
|
3
|
+
### SatisfactorySave
|
|
4
|
+
The [SatisfactorySave](https://github.com/etothepii4/satisfactory-file-parser/blob/main/src/parser/satisfactory/save/satisfactory-save.ts) is the main object getting parsed/serialized.
|
|
5
|
+
For Save Editing, only `header` and `levels` are relevant. The rest is meta info or info that does not change when the save changes.
|
|
6
|
+
```js
|
|
7
|
+
SatisfactorySave {
|
|
8
|
+
name: string;
|
|
9
|
+
header: SatisfactorySaveHeader;
|
|
10
|
+
levels: Level[];
|
|
11
|
+
...
|
|
12
|
+
}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Level
|
|
16
|
+
Each [level](https://github.com/etothepii4/satisfactory-file-parser/blob/main/src/parser/satisfactory/save/level.class.ts) has an array of `objects` and `collectibles`. Collectibles refer to the Somersloops and slugs if you collected them. Objects refer to Constructors, Manufacturers, Belts, Pipes, Foundations etc and many more. Each of them is either a [SaveEntity](https://github.com/etothepii4/satisfactory-file-parser/blob/main/src/parser/satisfactory/types/objects/SaveEntity.ts) or [SaveComponent](https://github.com/etothepii4/satisfactory-file-parser/blob/main/src/parser/satisfactory/types/objects/SaveComponent.ts), which both inherit from [SaveObject](https://github.com/etothepii4/satisfactory-file-parser/blob/main/src/parser/satisfactory/types/objects/SaveObject.ts).
|
|
17
|
+
```js
|
|
18
|
+
Level {
|
|
19
|
+
objects: (SaveEntity | SaveComponent)[];
|
|
20
|
+
collectables: ObjectReference[];
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### SaveObjects
|
|
25
|
+
All `SaveObjects` are either a `SaveEntity` or `SaveComponent`. Whereas a `SaveEntity` references child components. This would refer in Unreal Engine to Component and Actor if i am not mistaken.
|
|
26
|
+
|
|
27
|
+
But both have "normal" generic `properties` and some objects have actually `specialProperties`, that are very specific to this type of object and get serialized extra in the save.
|
|
28
|
+
```js
|
|
29
|
+
|
|
30
|
+
SaveObject {
|
|
31
|
+
typePath: string;
|
|
32
|
+
rootObject: string;
|
|
33
|
+
instanceName: string;
|
|
34
|
+
properties: PropertiesMap;
|
|
35
|
+
specialProperties: SpecialProperties.AvailableSpecialPropertiesTypes;
|
|
36
|
+
trailingData: number[] = [];
|
|
37
|
+
objectVersion: number;
|
|
38
|
+
unknownType2: number;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
SaveComponent = SaveObject & {
|
|
42
|
+
parentEntityName: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
SaveEntity = SaveObject & {
|
|
46
|
+
needTransform: boolean;
|
|
47
|
+
transform: Transform;
|
|
48
|
+
wasPlacedInLevel: boolean;
|
|
49
|
+
parentObjectRoot: string;
|
|
50
|
+
parentObjectName: string;
|
|
51
|
+
components: ObjectReference[];
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Generic Properties
|
|
56
|
+
All generic properties inherit from [AbstractBaseProperty](https://github.com/etothepii4/satisfactory-file-parser/blob/main/src/parser/satisfactory/types/property/generic/AbstractBaseProperty.ts).
|
|
57
|
+
For a given name, an object has property of type `AbstractBaseProperty | AbstractBaseProperty[]`. Which just means, that the game on rare occasions serializes multiple properties with the same name, just different `index` as number. Often this `index` is just not relevant, but as mentioned on rare occasions, the game tries to represent an array (Not to be confused with ArrayProperty).
|
|
58
|
+
Other properties such as `FloatProperty` inherit from the `AbstractBAseProperty`.
|
|
59
|
+
```js
|
|
60
|
+
type AbstractBaseProperty = {
|
|
61
|
+
type: string;
|
|
62
|
+
ueType: string;
|
|
63
|
+
name?: string;
|
|
64
|
+
guidInfo?: GUIDInfo;
|
|
65
|
+
index?: number;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
type FloatProperty = AbstractBaseProperty & {
|
|
69
|
+
type: 'FloatProperty';
|
|
70
|
+
value: number;
|
|
71
|
+
};
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Special Properties
|
|
75
|
+
They are specific to the type of object they are. For example objects of type `/Script/FactoryGame.FGLightweightBuildableSubsystem` always have some special properties, the parser calls this one `BuildableSubsystemSpecialProperties`. There you will find a specific structure.
|
|
76
|
+
Objects without any special properties, will always have `EmptySpecialProperties`. this is just the type for the parser to know.
|
|
77
|
+
|
|
78
|
+
## Collectibles (Slugs, Mercer Spheres, Somersloops, ...)
|
|
79
|
+
Collectibles in Satisfactory are only stored as objects in the save file, once they are visible to you.
|
|
80
|
+
If you collected them, they are instead in the `collectibles` array of a level.
|
|
81
|
+
So therefore you CAN NOT know the total list of collectibles alone from the save file, unless you uncovered everything in your save.
|
package/README.md
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
# Satisfactory File Parser
|
|
2
|
-
This is
|
|
3
|
-
The reporitory is written entirely in TypeScript and
|
|
2
|
+
This is a TypeScript [github project](https://github.com/etothepii4/satisfactory-file-parser) to parse Satisfactory Saves/Blueprints. Satisfactory is a game released by Coffee Stain Studios.
|
|
3
|
+
The reporitory is written entirely in TypeScript and is bundled on [NPM](https://www.npmjs.com/package/@etothepii/satisfactory-file-parser).
|
|
4
4
|
|
|
5
5
|
This parser can read, modify and write:
|
|
6
6
|
- Save Files `.sav`
|
|
7
7
|
- Blueprint Files `.sbp`, `.sbpcfg`
|
|
8
8
|
|
|
9
|
+
The parser is for deep save editing, since it just parses to JSON and back.
|
|
10
|
+
The purpose to have an editable structure, game logic is not known.
|
|
11
|
+
It is recommended that you look at the parsed save/blueprint to get an idea what you want to edit.
|
|
12
|
+
|
|
9
13
|
# Supported Versions
|
|
10
14
|
The version support of the packages is indicated below. Some bugs might still be present, see Bug Reporting further down.
|
|
11
15
|
|
|
@@ -18,8 +22,15 @@ Game Version Files of U5 and below are NOT supported.
|
|
|
18
22
|
| U8 | ✅ 0.1.20 - 0.3.7 |
|
|
19
23
|
| U1.0 | ✅ >= 0.4.20 |
|
|
20
24
|
|
|
21
|
-
|
|
25
|
+
|
|
26
|
+
# Installation
|
|
27
|
+
#### npm
|
|
22
28
|
`npm install @etothepii/satisfactory-file-parser`
|
|
29
|
+
#### yarn
|
|
30
|
+
`yarn add @etothepii/satisfactory-file-parser`
|
|
31
|
+
|
|
32
|
+
# Bug Reports or Feedback
|
|
33
|
+
You can always raise an issue on the linked [github project](https://github.com/etothepii4/satisfactory-file-parser) or hit me up on the satisfactory discord `etothepii`.
|
|
23
34
|
|
|
24
35
|
# Mod Support ✅
|
|
25
36
|
By Default, most Mods just reuse Properties and Structs of the base game.
|
|
@@ -64,7 +75,7 @@ jsonFileStream.on('close', () => {
|
|
|
64
75
|
startStreaming();
|
|
65
76
|
```
|
|
66
77
|
|
|
67
|
-
|
|
78
|
+
# Writing a Save
|
|
68
79
|
Consequently, writing a parsed save file back is just as easy.
|
|
69
80
|
The SaveParser has callbacks to assist during syncing on different occasions during the process.
|
|
70
81
|
For example, when writing the header or when writing a chunk of the save body.
|
|
@@ -88,22 +99,7 @@ fs.writeFileSync('./MyModifiedSave.sav', Buffer.concat([fileHeader!, ...bodyChun
|
|
|
88
99
|
```
|
|
89
100
|
|
|
90
101
|
|
|
91
|
-
|
|
92
|
-
You can for example loop through players and print their cached names and positions.
|
|
93
|
-
|
|
94
|
-
```js
|
|
95
|
-
import { isSaveEntity, SatisfactorySave, SaveEntity, StrProperty } from '@etothepii/satisfactory-file-parser';
|
|
96
|
-
|
|
97
|
-
const objects = save.levels.flatMap(level => level.objects);
|
|
98
|
-
const players = objects.filter(obj => isSaveEntity(obj) && obj.typePath === '/Game/FactoryGame/Character/Player/Char_Player.Char_Player_C') as SaveEntity[];
|
|
99
|
-
for (const player of players) {
|
|
100
|
-
const name = (player.properties.mCachedPlayerName as StrProperty).value;
|
|
101
|
-
console.log(name, player.transform.translation);
|
|
102
|
-
}
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
# Usage of Blueprint Parsing
|
|
102
|
+
# Reading Blueprints
|
|
107
103
|
Note, that blueprints consist of 2 files. The `.sbp` main file and the config file `.sbpcfg`.
|
|
108
104
|
|
|
109
105
|
```js
|
|
@@ -115,6 +111,7 @@ const configFile = fs.readFileSync('./MyBlueprint.sbpcfg');
|
|
|
115
111
|
const blueprint = Parser.ParseBlueprintFiles('Myblueprint', mainFile, configFile);
|
|
116
112
|
```
|
|
117
113
|
|
|
114
|
+
# Writing Blueprints
|
|
118
115
|
Consequently, writing a blueprint into binary data works the same way with getting callbacks in the same style as the save parsing.
|
|
119
116
|
```js
|
|
120
117
|
import * as fs from 'fs';
|
|
@@ -140,7 +137,7 @@ fs.writeFileSync('./MyBlueprint.sbp', Buffer.concat([mainFileHeader!, ...mainFil
|
|
|
140
137
|
fs.writeFileSync('./MyBlueprint.sbpcfg', Buffer.from(summary.configFileBinary));
|
|
141
138
|
```
|
|
142
139
|
|
|
143
|
-
|
|
140
|
+
## Additional Options on the Parser Methods
|
|
144
141
|
For every parser call, you can pass optional callbacks to receive additional info.
|
|
145
142
|
Like a callback on the decompressed save body. Parsing saves provides a callback for reporting progress [0,1] and an occasional message.
|
|
146
143
|
```js
|
|
@@ -160,107 +157,81 @@ const blueprint = Parser.ParseBlueprintFiles('Myblueprint', file, configFile, {
|
|
|
160
157
|
});
|
|
161
158
|
```
|
|
162
159
|
|
|
163
|
-
#
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
* changed function name `writeFloat()` to `writeFloat32()` of the save writer.
|
|
242
|
-
* changed variable name `saveOrBlueprintIndicator` to `objectVersion` for objects, since the meaning of that number became now more clear.
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
# License
|
|
246
|
-
MIT License
|
|
247
|
-
|
|
248
|
-
Copyright (c) 2021-2024 etothepii
|
|
249
|
-
|
|
250
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
251
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
252
|
-
in the Software without restriction, including without limitation the rights
|
|
253
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
254
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
255
|
-
furnished to do so, subject to the following conditions:
|
|
256
|
-
|
|
257
|
-
The above copyright notice and this permission notice shall be included in all
|
|
258
|
-
copies or substantial portions of the Software.
|
|
259
|
-
|
|
260
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
261
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
262
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
263
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
264
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
265
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
266
|
-
SOFTWARE.
|
|
160
|
+
# Save Editing Examples (in JS/TS)
|
|
161
|
+
```js
|
|
162
|
+
import { SaveComponent, SaveEntity, StructArrayProperty, Int32Property, ObjectProperty, StrProperty, StructProperty, InventoryItemStructPropertyValue, DynamicStructPropertyValue } from '@etothepii/satisfactory-file-parser';
|
|
163
|
+
|
|
164
|
+
// method to overwrite save objects
|
|
165
|
+
// currently quite inefficient to loop through everything, so theres room to improve in a future version. Feel free to raise an issue.
|
|
166
|
+
const modifyObjects = (...modifiedObjects: (SaveEntity | SaveComponent)[]) => {
|
|
167
|
+
for (const modifiedObject of modifiedObjects) {
|
|
168
|
+
for (const level of save.levels) {
|
|
169
|
+
for (let i = 0; i < level.objects.length; i++) {
|
|
170
|
+
if (level.objects[i].instanceName === modifiedObject.instanceName) {
|
|
171
|
+
level.objects[i] = modifiedObject;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
const objects = save.levels.flatMap(level => level.objects);
|
|
179
|
+
const collectables = save.levels.flatMap(level => level.collectables);
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
## Example Print Hub Terminal Location
|
|
183
|
+
```js
|
|
184
|
+
// get hub terminals. Beware that filter returns a COPIED array and not the original objects.
|
|
185
|
+
const hubTerminals = objects.filter(obj => obj.typePath === '/Game/FactoryGame/Buildable/Factory/HubTerminal/Build_HubTerminal.Build_HubTerminal_C') as SaveEntity[];
|
|
186
|
+
const firstHubPosition = hubTerminals[0].transform.translation;
|
|
187
|
+
console.log(`Hub terminal is located at ${firstHubPosition.x}, ${firstHubPosition.y}, ${firstHubPosition.z}`);
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
## Example Modify Player Locations
|
|
191
|
+
```js
|
|
192
|
+
const players = objects.filter(obj => obj.typePath === '/Game/FactoryGame/Character/Player/Char_Player.Char_Player_C') as SaveEntity[];
|
|
193
|
+
for (const player of players) {
|
|
194
|
+
const name = (player.properties.mCachedPlayerName as StrProperty).value;
|
|
195
|
+
player.transform.translation = {
|
|
196
|
+
x: player.transform.translation.x + 5000,
|
|
197
|
+
y: player.transform.translation.y + 5000,
|
|
198
|
+
z: player.transform.translation.z,
|
|
199
|
+
}
|
|
200
|
+
console.log(`Player ${name} is now located at ${player.transform.translation.x}, ${player.transform.translation.y}, ${player.transform.translation.z}`);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
// modify original save objects
|
|
204
|
+
modifyObjects(...players);
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
## Example Overwrite Item Stack in a Storage Container
|
|
208
|
+
```js
|
|
209
|
+
// get the first storage container, either mk1 or mk2.
|
|
210
|
+
const storageContainers = objects.filter(obj =>
|
|
211
|
+
obj.typePath === '/Game/FactoryGame/Buildable/Factory/StorageContainerMk1/Build_StorageContainerMk1.Build_StorageContainerMk1_C'
|
|
212
|
+
|| obj.typePath === '/Game/FactoryGame/Buildable/Factory/StorageContainerMk2/Build_StorageContainerMk2.Build_StorageContainerMk2_C'
|
|
213
|
+
);
|
|
214
|
+
const firstContainer = storageContainers[0];
|
|
215
|
+
|
|
216
|
+
// the container has a reference name to an inventory component.
|
|
217
|
+
const inventoryReference = firstContainer.properties.mStorageInventory as ObjectProperty;
|
|
218
|
+
const inventory = objects.find(obj => obj.instanceName === inventoryReference.value.pathName) as SaveComponent;
|
|
219
|
+
const inventoryStacks = inventory.properties.mInventoryStacks as StructArrayProperty;
|
|
220
|
+
const firstStack = inventoryStacks.values[0];
|
|
221
|
+
|
|
222
|
+
// Items within ItemStacks are quite nested. And StructProperties can basically be anything.
|
|
223
|
+
// overwrite first item stack with 5 Rotors.
|
|
224
|
+
(((firstStack.value as DynamicStructPropertyValue).properties.Item as StructProperty).value as InventoryItemStructPropertyValue).itemName = '/Game/FactoryGame/Resource/Parts/Rotor/Desc_Rotor.Desc_Rotor_C';
|
|
225
|
+
((firstStack.value as DynamicStructPropertyValue).properties.NumItems as Int32Property).value = 5;
|
|
226
|
+
|
|
227
|
+
// modify original save object
|
|
228
|
+
modifyObjects(firstContainer);
|
|
229
|
+
```
|
|
230
|
+
# [Auto-Generated TypeDoc Reference](https://rawcdn.githack.com/etothepii4/satisfactory-file-parser/blob/main/docs/index.html).
|
|
231
|
+
|
|
232
|
+
# [Basic Guide](https://github.com/etothepii4/satisfactory-file-parser/blob/main/GUIDE.md).
|
|
233
|
+
More detailed explanation of some basic things in the parser.
|
|
234
|
+
|
|
235
|
+
# [Changelog](https://github.com/etothepii4/satisfactory-file-parser/blob/main/CHANGELOG.md)
|
|
236
|
+
|
|
237
|
+
# [Licence](https://github.com/etothepii4/satisfactory-file-parser/blob/main/LICENCE.md)
|
package/build/index.d.ts
CHANGED
|
@@ -4,8 +4,21 @@ export * from './parser/satisfactory/save/satisfactory-save';
|
|
|
4
4
|
export * from './parser/satisfactory/save/save.types';
|
|
5
5
|
export * from './parser/satisfactory/types/objects/SaveComponent';
|
|
6
6
|
export * from './parser/satisfactory/types/objects/SaveEntity';
|
|
7
|
-
export * from './parser/satisfactory/types/
|
|
8
|
-
export * from './parser/satisfactory/types/property/generic/
|
|
7
|
+
export * from './parser/satisfactory/types/objects/SaveObject';
|
|
8
|
+
export * from './parser/satisfactory/types/property/generic/AbstractBaseProperty';
|
|
9
|
+
export * from './parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty';
|
|
10
|
+
export * from './parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty';
|
|
11
|
+
export * from './parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty';
|
|
12
|
+
export * from './parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty';
|
|
13
|
+
export * from './parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty';
|
|
14
|
+
export * from './parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty';
|
|
15
|
+
export * from './parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty';
|
|
16
|
+
export * from './parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty';
|
|
17
|
+
export * from './parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty';
|
|
18
|
+
export * from './parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty';
|
|
19
|
+
export * from './parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty';
|
|
20
|
+
export * from './parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty';
|
|
21
|
+
export * from './parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty';
|
|
9
22
|
export * from './parser/satisfactory/types/property/generic/BoolProperty';
|
|
10
23
|
export * from './parser/satisfactory/types/property/generic/ByteProperty';
|
|
11
24
|
export * from './parser/satisfactory/types/property/generic/DoubleProperty';
|
|
@@ -16,7 +29,12 @@ export * from './parser/satisfactory/types/property/generic/Int64Property';
|
|
|
16
29
|
export * from './parser/satisfactory/types/property/generic/Int8Property';
|
|
17
30
|
export * from './parser/satisfactory/types/property/generic/MapProperty';
|
|
18
31
|
export * from './parser/satisfactory/types/property/generic/ObjectProperty';
|
|
19
|
-
export * from './parser/satisfactory/types/property/generic/SetProperty';
|
|
32
|
+
export * from './parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty';
|
|
33
|
+
export * from './parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty';
|
|
34
|
+
export * from './parser/satisfactory/types/property/generic/SetProperty/SetProperty';
|
|
35
|
+
export * from './parser/satisfactory/types/property/generic/SetProperty/StrSetProperty';
|
|
36
|
+
export * from './parser/satisfactory/types/property/generic/SetProperty/StructSetProperty';
|
|
37
|
+
export * from './parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty';
|
|
20
38
|
export * from './parser/satisfactory/types/property/generic/StrProperty';
|
|
21
39
|
export * from './parser/satisfactory/types/property/generic/StructProperty';
|
|
22
40
|
export * from './parser/satisfactory/types/property/generic/TextProperty';
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,iDAAiD,CAAC;AAChE,cAAc,wCAAwC,CAAC;AACvD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,uCAAuC,CAAC;AACtD,cAAc,mDAAmD,CAAC;AAClE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,iDAAiD,CAAC;AAChE,cAAc,wCAAwC,CAAC;AACvD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,uCAAuC,CAAC;AACtD,cAAc,mDAAmD,CAAC;AAClE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,mEAAmE,CAAC;AAClF,cAAc,0EAA0E,CAAC;AACzF,cAAc,8EAA8E,CAAC;AAC7F,cAAc,8EAA8E,CAAC;AAC7F,cAAc,gFAAgF,CAAC;AAC/F,cAAc,8EAA8E,CAAC;AAC7F,cAAc,+EAA+E,CAAC;AAC9F,cAAc,+EAA+E,CAAC;AAC9F,cAAc,+EAA+E,CAAC;AAC9F,cAAc,gFAAgF,CAAC;AAC/F,cAAc,oFAAoF,CAAC;AACnG,cAAc,6EAA6E,CAAC;AAC5F,cAAc,gFAAgF,CAAC;AAC/F,cAAc,8EAA8E,CAAC;AAC7F,cAAc,2DAA2D,CAAC;AAC1E,cAAc,2DAA2D,CAAC;AAC1E,cAAc,6DAA6D,CAAC;AAC5E,cAAc,2DAA2D,CAAC;AAC1E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,2DAA2D,CAAC;AAC1E,cAAc,0DAA0D,CAAC;AACzE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,2EAA2E,CAAC;AAC1F,cAAc,4EAA4E,CAAC;AAC3F,cAAc,sEAAsE,CAAC;AACrF,cAAc,yEAAyE,CAAC;AACxF,cAAc,4EAA4E,CAAC;AAC3F,cAAc,4EAA4E,CAAC;AAC3F,cAAc,0DAA0D,CAAC;AACzE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,2DAA2D,CAAC;AAC1E,cAAc,6DAA6D,CAAC;AAC5E,cAAc,6DAA6D,CAAC;AAC5E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,qDAAqD,CAAC;AACpE,cAAc,kFAAkF,CAAC;AACjG,cAAc,uEAAuE,CAAC;AACtF,cAAc,kFAAkF,CAAC;AACjG,cAAc,wEAAwE,CAAC;AACvF,cAAc,qEAAqE,CAAC;AACpF,cAAc,2EAA2E,CAAC;AAC1F,cAAc,sEAAsE,CAAC;AACrF,cAAc,yEAAyE,CAAC;AACxF,cAAc,2EAA2E,CAAC;AAC1F,cAAc,gEAAgE,CAAC;AAC/E,cAAc,uEAAuE,CAAC;AACtF,cAAc,0CAA0C,CAAC;AACzD,cAAc,gEAAgE,CAAC;AAC/E,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kEAAkE,CAAC;AACjF,cAAc,qDAAqD,CAAC;AACpE,cAAc,yDAAyD,CAAC;AACxE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AAGzD,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,kDAAkD,CAAC;AAC1G,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,kDAAkD,CAAC;AAC1G,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAClG,OAAO,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAC;AAGrF,cAAc,6BAA6B,CAAC;AAG5C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AAGvF,cAAc,2CAA2C,CAAC"}
|
package/build/index.js
CHANGED
|
@@ -21,8 +21,21 @@ __exportStar(require("./parser/satisfactory/save/satisfactory-save"), exports);
|
|
|
21
21
|
__exportStar(require("./parser/satisfactory/save/save.types"), exports);
|
|
22
22
|
__exportStar(require("./parser/satisfactory/types/objects/SaveComponent"), exports);
|
|
23
23
|
__exportStar(require("./parser/satisfactory/types/objects/SaveEntity"), exports);
|
|
24
|
-
__exportStar(require("./parser/satisfactory/types/
|
|
25
|
-
__exportStar(require("./parser/satisfactory/types/property/generic/
|
|
24
|
+
__exportStar(require("./parser/satisfactory/types/objects/SaveObject"), exports);
|
|
25
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/AbstractBaseProperty"), exports);
|
|
26
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty"), exports);
|
|
27
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty"), exports);
|
|
28
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty"), exports);
|
|
29
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty"), exports);
|
|
30
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty"), exports);
|
|
31
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty"), exports);
|
|
32
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty"), exports);
|
|
33
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty"), exports);
|
|
34
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty"), exports);
|
|
35
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty"), exports);
|
|
36
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty"), exports);
|
|
37
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty"), exports);
|
|
38
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty"), exports);
|
|
26
39
|
__exportStar(require("./parser/satisfactory/types/property/generic/BoolProperty"), exports);
|
|
27
40
|
__exportStar(require("./parser/satisfactory/types/property/generic/ByteProperty"), exports);
|
|
28
41
|
__exportStar(require("./parser/satisfactory/types/property/generic/DoubleProperty"), exports);
|
|
@@ -33,7 +46,12 @@ __exportStar(require("./parser/satisfactory/types/property/generic/Int64Property
|
|
|
33
46
|
__exportStar(require("./parser/satisfactory/types/property/generic/Int8Property"), exports);
|
|
34
47
|
__exportStar(require("./parser/satisfactory/types/property/generic/MapProperty"), exports);
|
|
35
48
|
__exportStar(require("./parser/satisfactory/types/property/generic/ObjectProperty"), exports);
|
|
36
|
-
__exportStar(require("./parser/satisfactory/types/property/generic/SetProperty"), exports);
|
|
49
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty"), exports);
|
|
50
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty"), exports);
|
|
51
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/SetProperty/SetProperty"), exports);
|
|
52
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/SetProperty/StrSetProperty"), exports);
|
|
53
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/SetProperty/StructSetProperty"), exports);
|
|
54
|
+
__exportStar(require("./parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty"), exports);
|
|
37
55
|
__exportStar(require("./parser/satisfactory/types/property/generic/StrProperty"), exports);
|
|
38
56
|
__exportStar(require("./parser/satisfactory/types/property/generic/StructProperty"), exports);
|
|
39
57
|
__exportStar(require("./parser/satisfactory/types/property/generic/TextProperty"), exports);
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,kFAAgE;AAChE,yEAAuD;AACvD,+EAA6D;AAC7D,wEAAsD;AACtD,oFAAkE;AAClE,iFAA+D;AAC/D,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,kFAAgE;AAChE,yEAAuD;AACvD,+EAA6D;AAC7D,wEAAsD;AACtD,oFAAkE;AAClE,iFAA+D;AAC/D,iFAA+D;AAC/D,oGAAkF;AAClF,2GAAyF;AACzF,+GAA6F;AAC7F,+GAA6F;AAC7F,iHAA+F;AAC/F,+GAA6F;AAC7F,gHAA8F;AAC9F,gHAA8F;AAC9F,gHAA8F;AAC9F,iHAA+F;AAC/F,qHAAmG;AACnG,8GAA4F;AAC5F,iHAA+F;AAC/F,+GAA6F;AAC7F,4FAA0E;AAC1E,4FAA0E;AAC1E,8FAA4E;AAC5E,4FAA0E;AAC1E,6FAA2E;AAC3E,6FAA2E;AAC3E,6FAA2E;AAC3E,4FAA0E;AAC1E,2FAAyE;AACzE,8FAA4E;AAC5E,4GAA0F;AAC1F,6GAA2F;AAC3F,uGAAqF;AACrF,0GAAwF;AACxF,6GAA2F;AAC3F,6GAA2F;AAC3F,2FAAyE;AACzE,8FAA4E;AAC5E,4FAA0E;AAC1E,8FAA4E;AAC5E,8FAA4E;AAC5E,6FAA2E;AAC3E,sFAAoE;AACpE,mHAAiG;AACjG,wGAAsF;AACtF,mHAAiG;AACjG,yGAAuF;AACvF,sGAAoF;AACpF,4GAA0F;AAC1F,uGAAqF;AACrF,0GAAwF;AACxF,4GAA0F;AAC1F,iGAA+E;AAC/E,wGAAsF;AACtF,2EAAyD;AACzD,iGAA+E;AAC/E,2EAAyD;AACzD,+EAA6D;AAC7D,8EAA4D;AAC5D,mGAAiF;AACjF,sFAAoE;AACpE,0FAAwE;AACxE,gFAA8D;AAC9D,2EAAyD;AACzD,2EAAyD;AACzD,2EAAyD;AAGzD,qFAA0G;AAAjG,yHAAA,qBAAqB,OAAA;AAAE,mHAAA,eAAe,OAAA;AAC/C,qFAA0G;AAAjG,yHAAA,qBAAqB,OAAA;AAAE,mHAAA,eAAe,OAAA;AAC/C,sEAAoE;AAA3D,yGAAA,UAAU,OAAA;AACnB,sEAAoE;AAA3D,yGAAA,UAAU,OAAA;AACnB,sGAAkG;AAAzF,yIAAA,yBAAyB,OAAA;AAClC,8FAAqF;AAA5E,4HAAA,gBAAgB,OAAA;AAGzB,8DAA4C;AAG5C,0CAAyC;AAAhC,gGAAA,MAAM,OAAA;AACf,0FAAuF;AAA9E,8HAAA,oBAAoB,OAAA;AAG7B,4EAA0D","sourcesContent":["// types & classes for convenience\nexport * from './parser/satisfactory/blueprint/blueprint.types';\nexport * from './parser/satisfactory/save/level.class';\nexport * from './parser/satisfactory/save/satisfactory-save';\nexport * from './parser/satisfactory/save/save.types';\nexport * from './parser/satisfactory/types/objects/SaveComponent';\nexport * from './parser/satisfactory/types/objects/SaveEntity';\nexport * from './parser/satisfactory/types/objects/SaveObject';\nexport * from './parser/satisfactory/types/property/generic/AbstractBaseProperty';\nexport * from './parser/satisfactory/types/property/generic/ArrayProperty/ArrayProperty';\nexport * from './parser/satisfactory/types/property/generic/ArrayProperty/BoolArrayProperty';\nexport * from './parser/satisfactory/types/property/generic/ArrayProperty/ByteArrayProperty';\nexport * from './parser/satisfactory/types/property/generic/ArrayProperty/DoubleArrayProperty';\nexport * from './parser/satisfactory/types/property/generic/ArrayProperty/EnumArrayProperty';\nexport * from './parser/satisfactory/types/property/generic/ArrayProperty/FloatArrayProperty';\nexport * from './parser/satisfactory/types/property/generic/ArrayProperty/Int32ArrayProperty';\nexport * from './parser/satisfactory/types/property/generic/ArrayProperty/Int64ArrayProperty';\nexport * from './parser/satisfactory/types/property/generic/ArrayProperty/ObjectArrayProperty';\nexport * from './parser/satisfactory/types/property/generic/ArrayProperty/SoftObjectArrayProperty';\nexport * from './parser/satisfactory/types/property/generic/ArrayProperty/StrArrayProperty';\nexport * from './parser/satisfactory/types/property/generic/ArrayProperty/StructArrayProperty';\nexport * from './parser/satisfactory/types/property/generic/ArrayProperty/TextArrayProperty';\nexport * from './parser/satisfactory/types/property/generic/BoolProperty';\nexport * from './parser/satisfactory/types/property/generic/ByteProperty';\nexport * from './parser/satisfactory/types/property/generic/DoubleProperty';\nexport * from './parser/satisfactory/types/property/generic/EnumProperty';\nexport * from './parser/satisfactory/types/property/generic/FloatProperty';\nexport * from './parser/satisfactory/types/property/generic/Int32Property';\nexport * from './parser/satisfactory/types/property/generic/Int64Property';\nexport * from './parser/satisfactory/types/property/generic/Int8Property';\nexport * from './parser/satisfactory/types/property/generic/MapProperty';\nexport * from './parser/satisfactory/types/property/generic/ObjectProperty';\nexport * from './parser/satisfactory/types/property/generic/SetProperty/Int32SetProperty';\nexport * from './parser/satisfactory/types/property/generic/SetProperty/ObjectSetProperty';\nexport * from './parser/satisfactory/types/property/generic/SetProperty/SetProperty';\nexport * from './parser/satisfactory/types/property/generic/SetProperty/StrSetProperty';\nexport * from './parser/satisfactory/types/property/generic/SetProperty/StructSetProperty';\nexport * from './parser/satisfactory/types/property/generic/SetProperty/Uint32SetProperty';\nexport * from './parser/satisfactory/types/property/generic/StrProperty';\nexport * from './parser/satisfactory/types/property/generic/StructProperty';\nexport * from './parser/satisfactory/types/property/generic/TextProperty';\nexport * from './parser/satisfactory/types/property/generic/Uint32Property';\nexport * from './parser/satisfactory/types/property/generic/Uint64Property';\nexport * from './parser/satisfactory/types/property/generic/Uint8Property';\nexport * from './parser/satisfactory/types/property/PropertiesList';\nexport * from './parser/satisfactory/types/property/special/BuildableSubsystemSpecialProperties';\nexport * from './parser/satisfactory/types/property/special/CircuitSpecialProperties';\nexport * from './parser/satisfactory/types/property/special/ConveyorChainActorSpecialProperties';\nexport * from './parser/satisfactory/types/property/special/ConveyorSpecialProperties';\nexport * from './parser/satisfactory/types/property/special/EmptySpecialProperties';\nexport * from './parser/satisfactory/types/property/special/ObjectsListSpecialProperties';\nexport * from './parser/satisfactory/types/property/special/PlayerSpecialProperties';\nexport * from './parser/satisfactory/types/property/special/PowerLineSpecialProperties';\nexport * from './parser/satisfactory/types/property/special/SpecialDroneActionProperties';\nexport * from './parser/satisfactory/types/property/special/SpecialProperties';\nexport * from './parser/satisfactory/types/property/special/VehicleSpecialProperties';\nexport * from './parser/satisfactory/types/structs/col4';\nexport * from './parser/satisfactory/types/structs/DynamicStructPropertyValue';\nexport * from './parser/satisfactory/types/structs/GUID';\nexport * from './parser/satisfactory/types/structs/GUIDInfo';\nexport * from './parser/satisfactory/types/structs/MD5Hash';\nexport * from './parser/satisfactory/types/structs/mods/FicsItCam/FICFrameRange';\nexport * from './parser/satisfactory/types/structs/ObjectReference';\nexport * from './parser/satisfactory/types/structs/SoftObjectReference';\nexport * from './parser/satisfactory/types/structs/Transform';\nexport * from './parser/satisfactory/types/structs/vec2';\nexport * from './parser/satisfactory/types/structs/vec3';\nexport * from './parser/satisfactory/types/structs/vec4';\n\n// should better be removed in a future update to prevent shenanigans.\nexport { BlueprintConfigReader, BlueprintReader } from './parser/satisfactory/blueprint/blueprint-reader';\nexport { BlueprintConfigWriter, BlueprintWriter } from './parser/satisfactory/blueprint/blueprint-writer';\nexport { SaveReader } from './parser/satisfactory/save/save-reader';\nexport { SaveWriter } from './parser/satisfactory/save/save-writer';\nexport { SaveStreamJsonStringifier } from './parser/stream/reworked/save-stream-json-stringifier';\nexport { SaveStreamWriter } from './parser/stream/reworked/save-stream-writer.class';\n\n// errors\nexport * from './parser/error/parser.error';\n\n// facade\nexport { Parser } from './parser/parser';\nexport { ReadableStreamParser } from './parser/stream/reworked/readable-stream-parser';\n\n// edit\nexport * from './parser/satisfactory/edit/edit-constants';\n\n"]}
|
|
@@ -12,7 +12,7 @@ export declare abstract class ByteReader implements BinaryReadable {
|
|
|
12
12
|
skipBytes(byteLength?: number): void;
|
|
13
13
|
readByte(): number;
|
|
14
14
|
readBytes(count: number): Uint8Array;
|
|
15
|
-
|
|
15
|
+
bytesToHexRepresentation(bytes: number[]): string[];
|
|
16
16
|
readHex(byteLength: number, hexSeparator?: string): string;
|
|
17
17
|
readInt8(): number;
|
|
18
18
|
readUint8(): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"byte-reader.class.d.ts","sourceRoot":"","sources":["../../../src/parser/byte/byte-reader.class.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAG7D,8BAAsB,UAAW,YAAW,cAAc;IAEzD,SAAS,CAAC,UAAU,EAAG,QAAQ,CAAC;IAChC,SAAS,CAAC,UAAU,EAAG,WAAW,CAAC;IAC5B,SAAS,EAAE,SAAS,CAAC;IAE5B,SAAS,CAAC,WAAW,EAAE,MAAM,CAAK;IAClC,SAAS,CAAC,WAAW,EAAE,MAAM,CAAK;IAClC,SAAS,CAAC,OAAO,EAAE,MAAM,CAAK;gBAElB,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS;IASlD,KAAK,CAAC,aAAa,EAAE,WAAW;IAWhC,SAAS,CAAC,UAAU,SAAI,GAAG,IAAI;IAI/B,QAAQ,IAAI,MAAM;IAIlB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU;
|
|
1
|
+
{"version":3,"file":"byte-reader.class.d.ts","sourceRoot":"","sources":["../../../src/parser/byte/byte-reader.class.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAG7D,8BAAsB,UAAW,YAAW,cAAc;IAEzD,SAAS,CAAC,UAAU,EAAG,QAAQ,CAAC;IAChC,SAAS,CAAC,UAAU,EAAG,WAAW,CAAC;IAC5B,SAAS,EAAE,SAAS,CAAC;IAE5B,SAAS,CAAC,WAAW,EAAE,MAAM,CAAK;IAClC,SAAS,CAAC,WAAW,EAAE,MAAM,CAAK;IAClC,SAAS,CAAC,OAAO,EAAE,MAAM,CAAK;gBAElB,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS;IASlD,KAAK,CAAC,aAAa,EAAE,WAAW;IAWhC,SAAS,CAAC,UAAU,SAAI,GAAG,IAAI;IAI/B,QAAQ,IAAI,MAAM;IAIlB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU;IAGpC,wBAAwB,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE;IAGnD,OAAO,CAAC,UAAU,EAAE,MAAM,EAAE,YAAY,GAAE,MAAY,GAAG,MAAM;IAG/D,QAAQ,IAAI,MAAM;IAIlB,SAAS,IAAI,MAAM;IAInB,SAAS,IAAI,MAAM;IAKnB,UAAU,IAAI,MAAM;IAKpB,SAAS,IAAI,MAAM;IAKnB,UAAU,IAAI,MAAM;IAKpB,QAAQ,IAAI,MAAM;IAKlB,SAAS,IAAI,MAAM;IAGnB,UAAU,IAAI,MAAM;IAMpB,WAAW,IAAI,MAAM;IAKrB,UAAU,IAAI,MAAM;IAKpB,UAAU,IAAI,MAAM;IAgCpB,iBAAiB,QAAO,MAAM,CAAqB;IAEnD,cAAc,UAAW,MAAM,OAAO,MAAM,GAAG,SAAS,KAAG,WAAW,CAA6C;IAEnH,iBAAiB,QAAO,MAAM,CAAyD;IAEvF,eAAe,QAAO,MAAM,CAAsC;IAElE,SAAS,QAAO,WAAW,CAA2B;CAC7D"}
|