Files
SVSimServer/SVSim.EmulatedEntrypoint/Models/Dtos/Responses/Deck/DeckUpdateResponse.cs
2026-05-23 14:18:18 -04:00

18 lines
705 B
C#

using MessagePack;
using SVSim.EmulatedEntrypoint.Models.Dtos.Common;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Responses.Deck;
/// <summary>
/// /deck/update response. Minimum-viable per spec is just {achieved_info, reward_list};
/// the full shape also includes the refreshed deck list. We include user_deck_list to
/// save the client a follow-up /deck/info round-trip.
/// </summary>
[MessagePackObject]
public class DeckUpdateResponse
{
[Key("user_deck_list")] public List<UserDeck>? UserDeckList { get; set; }
[Key("achieved_info")] public Dictionary<string, object> AchievedInfo { get; set; } = new();
[Key("reward_list")] public List<Reward> RewardList { get; set; } = new();
}