feat(bp): /battle_pass/info response DTOs — string-typed wire numerics

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-05-26 23:05:51 -04:00
parent 7abdfe27cb
commit 6ed61ea9f1
6 changed files with 181 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
using MessagePack;
using System.Text.Json.Serialization;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.BattlePass;
/// <summary>Wrapper for one track's reward array: <c>{ "reward": [ ... ] }</c>.</summary>
[MessagePackObject]
public class BattlePassRewardListDto
{
[JsonPropertyName("reward")]
[Key("reward")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
public List<BattlePassRewardDto> Reward { get; set; } = new();
}