import_viewer: round-trip ViewerStoryProgress with per-family offsets

This commit is contained in:
gamer147
2026-06-23 20:05:13 -04:00
parent 2cb254553f
commit 79e936dcf2
3 changed files with 206 additions and 0 deletions

View File

@@ -40,6 +40,9 @@ public class ImportViewerRequest
[JsonPropertyName("achievements")]
public List<ImportAchievement>? Achievements { get; set; }
[JsonPropertyName("story_progress")]
public List<ImportStoryProgress>? StoryProgress { get; set; }
}
public class ImportDeck
@@ -110,6 +113,15 @@ public class ImportAchievement
[JsonPropertyName("total_count")] public int TotalCount { get; set; }
}
public class ImportStoryProgress
{
[JsonPropertyName("story_api_type")] public int StoryApiType { get; set; }
[JsonPropertyName("story_id")] public int StoryId { get; set; }
[JsonPropertyName("sub_chapter_id")] public int? SubChapterId { get; set; }
[JsonPropertyName("is_finish")] public bool IsFinish { get; set; }
[JsonPropertyName("is_skipped")] public bool IsSkipped { get; set; }
}
public class ImportMissionMeta
{
[JsonPropertyName("has_received_pick_two_mission")]