@etothepii/satisfactory-file-parser
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -248,2 +248,4 @@ import { ByteWriter } from "../../.."; | ||
} | ||
export type GENERIC_MAP_KEY_TYPE = number | ObjectReference | boolean | GENERIC_STRUCT_PROPERTY_VALUE; | ||
export type GENERIC_MAP_VALUE_TYPE = number | ObjectReference | boolean | GENERIC_STRUCT_PROPERTY_VALUE; | ||
export declare class MapProperty extends BasicProperty { | ||
@@ -257,6 +259,3 @@ keyType: string; | ||
remainingData: number[]; | ||
values: { | ||
key: any; | ||
value: any; | ||
}[]; | ||
values: [key: GENERIC_MAP_KEY_TYPE, value: GENERIC_MAP_VALUE_TYPE][]; | ||
constructor(keyType: string, valueType: string, ueType: string, index: number); | ||
@@ -263,0 +262,0 @@ static Parse(reader: BinaryReadable, propertyName: string, buildVersion: number, size: number, ueType?: string, index?: number): MapProperty; |
@@ -901,3 +901,3 @@ "use strict"; | ||
this.valueType = valueType; | ||
this.modeType = 2; | ||
this.modeType = 0; | ||
this.modeUnk2 = ''; | ||
@@ -920,3 +920,4 @@ this.modeUnk3 = ''; | ||
if (propertyName === 'mSaveData' || propertyName === 'mUnresolvedSaveData') { | ||
key = reader.readBytes(12); | ||
key = propertyName; | ||
reader.skipBytes(12); | ||
} | ||
@@ -971,2 +972,3 @@ else { | ||
} | ||
property.values.push([key, value]); | ||
} | ||
@@ -973,0 +975,0 @@ return property; |
{ | ||
"name": "@etothepii/satisfactory-file-parser", | ||
"author": "etothepii", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "A file parser for satisfactory files. Includes save files and blueprint files.", | ||
@@ -6,0 +6,0 @@ "types": "./build/index.d.ts", |
@@ -22,3 +22,3 @@ # Satisfactory File Parser | ||
| U6 + U7 | ✅ 0.0.1 - 0.0.34 | | ||
| U8 | ⚠️ >= 0.1.11 (Reading only) | | ||
| U8 | ⚠️ >= 0.1.12 (Reading only) | | ||
@@ -25,0 +25,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
230503
4985