feat(dto): TK2 common DTOs (entry/class/deck/candidate/results/reward)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user