using System.Text.Json.Serialization;
using MessagePack;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Responses.LeaderSkin;
///
/// Response shape for POST /leader_skin/set. Per LeaderSkinUpdateTask.Parse:
/// - is_random_leader_skin echoes the mode the server actually applied.
/// - leader_skin_id is only consumed by the client when random mode is on (it picks
/// one of the pool to display). In non-random mode the client uses the request's id.
/// - leader_skin_id_list is the active shuffle pool (empty for non-random).
///
[MessagePackObject]
public class LeaderSkinSetResponse
{
[JsonPropertyName("is_random_leader_skin")]
[Key("is_random_leader_skin")]
public bool IsRandomLeaderSkin { get; set; }
[JsonPropertyName("leader_skin_id")]
[Key("leader_skin_id")]
public int LeaderSkinId { get; set; }
[JsonPropertyName("leader_skin_id_list")]
[Key("leader_skin_id_list")]
public List LeaderSkinIdList { get; set; } = new();
}