Files
SVSimServer/SVSim.EmulatedEntrypoint/Models/Dtos/Common/ArenaTwoPick/RewardEntryDto.cs
2026-05-31 10:40:06 -04:00

23 lines
751 B
C#

using System.Text.Json.Serialization;
using MessagePack;
using SVSim.EmulatedEntrypoint.Models.Dtos.Common;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Common.ArenaTwoPick;
/// <summary>
/// One entry on the TK2 reward_list / rewards wire arrays. Matches the entry-response capture
/// (reward_type int, reward_id int, reward_num string).
/// </summary>
[MessagePackObject]
public class RewardEntryDto
{
[JsonPropertyName("reward_type")] [Key("reward_type")]
public int RewardType { get; set; }
[JsonPropertyName("reward_id")] [Key("reward_id")]
public long RewardId { get; set; }
[JsonPropertyName("reward_num")] [JsonConverter(typeof(StringifiedIntConverter))] [Key("reward_num")]
public int RewardNum { get; set; }
}