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,19 @@
using MessagePack;
using System.Text.Json.Serialization;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.BattlePass;
/// <summary>reward_info: { normal: { reward: [...] }, premium: { reward: [...] } }.</summary>
[MessagePackObject]
public class BattlePassRewardInfoDto
{
[JsonPropertyName("normal")]
[Key("normal")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
public BattlePassRewardListDto Normal { get; set; } = new();
[JsonPropertyName("premium")]
[Key("premium")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
public BattlePassRewardListDto Premium { get; set; } = new();
}