feat(bp): /battle_pass/buy — crystal-cost + retroactive premium grants

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-05-26 23:36:18 -04:00
parent 0ceab721e9
commit 2cb8c271a8
9 changed files with 422 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
using MessagePack;
using System.Text.Json.Serialization;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.BattlePass;
/// <summary>
/// achieved_info wrapper inside /battle_pass/buy response
/// (Wizard/BattlePassBuyTask.cs:37-40).
/// </summary>
[MessagePackObject]
public class BattlePassAchievedInfoDto
{
[JsonPropertyName("battle_pass_reward_list")]
[Key("battle_pass_reward_list")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
public List<BattlePassReceivedRewardDto> BattlePassRewardList { get; set; } = new();
}