satisfactory-json
Advanced tools
Comparing version 0.0.52 to 0.0.53
@@ -48,3 +48,3 @@ "use strict"; | ||
// From Unreal Engine 4.23 on, the culture invariant strings are stored without history. This applies to Satisfactory builds from 140822 on. | ||
builder.if(function (ctx) { return ctx.tmp.buildVersion >= 140822; }, function (builder) { | ||
builder.if(function (ctx) { return ctx.tmp.buildVersion >= 139650; }, function (builder) { | ||
builder.int('hasCultureInvariantString').if(function (ctx) { return ctx.obj.hasCultureInvariantString == 1; }, function (builder) { | ||
@@ -51,0 +51,0 @@ builder.str('cultureInvariantString'); |
@@ -20,2 +20,3 @@ "use strict"; | ||
.if(function (ctx) { return ctx.obj.saveHeaderType >= 5; }, function (bldr) { return bldr.byte('sessionVisibility'); }) | ||
.if(function (ctx) { return ctx.obj.saveHeaderType >= 7; }, function (bldr) { return bldr.int('editorObjectVersion'); }) | ||
.if(function (ctx) { return ctx.obj.saveVersion >= 21; }, function (builder) { | ||
@@ -22,0 +23,0 @@ builder.startCompression().bufferStart('_length', true); |
@@ -10,3 +10,4 @@ export interface SaveGame { | ||
saveDateTime: string; | ||
sessionVisibility: number; | ||
sessionVisibility?: number; | ||
editorObjectVersion?: number; | ||
actors: Actor[]; | ||
@@ -13,0 +14,0 @@ components: Component[]; |
{ | ||
"name": "satisfactory-json", | ||
"version": "0.0.52", | ||
"version": "0.0.53", | ||
"description": "Convert Satisfactory save files to JSON and back", | ||
@@ -13,4 +13,4 @@ "author": "ficsit-felix", | ||
"@types/pako": "^1.0.1", | ||
"@typescript-eslint/eslint-plugin": "^4.14.0", | ||
"@typescript-eslint/parser": "^4.14.0", | ||
"@typescript-eslint/eslint-plugin": "^4.14.1", | ||
"@typescript-eslint/parser": "^4.14.1", | ||
"commander": "^7.0.0", | ||
@@ -50,2 +50,2 @@ "eslint": "^7.16.0", | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
292521
4387