返回提交历史
Modified
src/services/importService.ts
+9
-2
XFEstudio/XFESpaceNinjaServer
feat(import): NokkoColony & retro settings (#3961)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3961 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
c14637e2
代码差异
1 个文件
+9
-2
@@ -367,7 +367,10 @@ export const importInventory = (db: TInventoryDatabaseDocument, client: Partial<
367
367
"Partner",
368
368
"Counselor",
369
369
"Harvestable",
370
"DeathSquadable"
370
"DeathSquadable",
371
"RetroFastTyping",
372
"RetroPlayAllConvos",
373
"RetroDisableKissInboxMessage"
371
374
] as const) {
372
375
if (client[key] !== undefined) {
373
376
db[key] = client[key];
@@ -393,7 +396,8 @@ export const importInventory = (db: TInventoryDatabaseDocument, client: Partial<
393
396
"EntratiLabConquestCacheScoreMission",
394
397
"EchoesHexConquestUnlocked",
395
398
"EchoesHexConquestHardModeStatus",
396
"EchoesHexConquestCacheScoreMission"
399
"EchoesHexConquestCacheScoreMission",
400
"RetroWallpaperId"
397
401
] as const) {
398
402
if (client[key] !== undefined) {
399
403
db[key] = client[key];
@@ -575,6 +579,9 @@ export const importInventory = (db: TInventoryDatabaseDocument, client: Partial<
575
579
if (client.Settings !== undefined) {
576
580
db.Settings = client.Settings;
577
581
}
582
if (client.NokkoColony !== undefined) {
583
db.NokkoColony = client.NokkoColony;
584
}
578
585
if (client.Sketches !== undefined) {
579
586
db.Sketches = client.Sketches;
580
587
}