From bd2eaa9e97e3d143d4f1d2d74c367f4166b56b5a Mon Sep 17 00:00:00 2001 From: gamer147 Date: Fri, 29 May 2026 10:54:53 -0400 Subject: [PATCH] refactor(deck): re-type /deck/info trial_deck_list to List? Co-Authored-By: Claude Sonnet 4.6 --- .../Models/Dtos/Responses/Deck/DeckListResponse.cs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/SVSim.EmulatedEntrypoint/Models/Dtos/Responses/Deck/DeckListResponse.cs b/SVSim.EmulatedEntrypoint/Models/Dtos/Responses/Deck/DeckListResponse.cs index 2e77a33..a7f1b2c 100644 --- a/SVSim.EmulatedEntrypoint/Models/Dtos/Responses/Deck/DeckListResponse.cs +++ b/SVSim.EmulatedEntrypoint/Models/Dtos/Responses/Deck/DeckListResponse.cs @@ -1,4 +1,5 @@ using MessagePack; +using SVSim.EmulatedEntrypoint.Models.Dtos.Common; using System.Text.Json.Serialization; namespace SVSim.EmulatedEntrypoint.Models.Dtos.Responses.Deck; @@ -53,11 +54,11 @@ public class DeckListResponse [Key("user_leader_skin_setting_list")] public Dictionary UserLeaderSkinSettingList { get; set; } = new(); /// - /// Trial / tutorial-specific decks. Prod emits this on /deck/info (All format) but - /// OMITS the key entirely on /deck/my_list (specific-format) — controller mirrors that - /// asymmetry by leaving this null on specific-format responses. Empty array in the - /// 2026-05-23 prod capture; entry shape TBD. + /// Trial / archetype decks. Prod emits this on /deck/info (All format) but OMITS the key + /// entirely on /deck/my_list (specific-format) — controller mirrors that asymmetry by + /// leaving this null on specific-format responses. Emitted EMPTY on /deck/info (matches the + /// 2026-05-23 prod capture); story/get_deck_list is where trial decks are actually populated. /// [JsonPropertyName("trial_deck_list")] - [Key("trial_deck_list")] public List? TrialDeckList { get; set; } + [Key("trial_deck_list")] public List? TrialDeckList { get; set; } }