feat(pack): gacha-point endpoint DTOs

This commit is contained in:
gamer147
2026-05-28 22:56:33 -04:00
parent 96f1d73e35
commit ef1af8259e
6 changed files with 130 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using System.Text.Json.Serialization;
using MessagePack;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Responses.Pack;
[MessagePackObject]
public class ExchangeGachaPointResponse
{
/// <summary>
/// POST-STATE TOTALS dispatched through PlayerStaticData.UpdateHaveUserGoodsNumByJsonData
/// on the client (see project_wire_reward_list_post_state memory). The granted card,
/// any cascading cosmetics, and the updated gacha-point balance entry all appear here.
/// </summary>
[JsonPropertyName("reward_list")]
[Key("reward_list")]
public List<RewardListEntry> RewardList { get; set; } = new();
}

View File

@@ -0,0 +1,12 @@
using System.Text.Json.Serialization;
using MessagePack;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Responses.Pack;
[MessagePackObject]
public class GetGachaPointRewardsResponse
{
[JsonPropertyName("gacha_point_rewards")]
[Key("gacha_point_rewards")]
public List<GachaPointRewardDto> GachaPointRewards { get; set; } = new();
}