import_viewer: round-trip ViewerAchievement + counter
This commit is contained in:
@@ -37,6 +37,9 @@ public class ImportViewerRequest
|
||||
[JsonPropertyName("mission_meta")] public ImportMissionMeta? MissionMeta { get; set; }
|
||||
|
||||
[JsonPropertyName("missions")] public List<ImportMission>? Missions { get; set; }
|
||||
|
||||
[JsonPropertyName("achievements")]
|
||||
public List<ImportAchievement>? Achievements { get; set; }
|
||||
}
|
||||
|
||||
public class ImportDeck
|
||||
@@ -98,6 +101,15 @@ public class ImportMission
|
||||
public int? Slot { get; set; }
|
||||
}
|
||||
|
||||
public class ImportAchievement
|
||||
{
|
||||
[JsonPropertyName("achievement_type")] public int AchievementType { get; set; }
|
||||
[JsonPropertyName("level")] public int Level { get; set; }
|
||||
[JsonPropertyName("now_achieved_level")] public int NowAchievedLevel { get; set; }
|
||||
[JsonPropertyName("result_announce_saw_level")] public int ResultAnnounceSawLevel { get; set; }
|
||||
[JsonPropertyName("total_count")] public int TotalCount { get; set; }
|
||||
}
|
||||
|
||||
public class ImportMissionMeta
|
||||
{
|
||||
[JsonPropertyName("has_received_pick_two_mission")]
|
||||
|
||||
Reference in New Issue
Block a user