Files
SVSimServer/SVSim.EmulatedEntrypoint/Models/Dtos/Replay/ReplayDetailRequestDto.cs
gamer147 2f7a2305da feat(replay): add /replay/info and /replay/detail DTOs
All numeric fields on ReplayInfoItemDto ship as string — matches prod
capture (frame 96 of traffic_prod_misc_clicking.ndjson). api-spec doc
will be updated separately.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-10 07:51:00 -04:00

18 lines
613 B
C#

using System.Text.Json.Serialization;
using MessagePack;
using SVSim.EmulatedEntrypoint.Models.Dtos.Requests;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Replay;
/// <summary>
/// /replay/detail request. ReplayDetailTaskParam declares <c>new int viewer_id</c>
/// shadowing the inherited field — wire ships both. We accept both; the body's
/// <c>viewer_id</c> identifies the replay owner (typically same as caller).
/// </summary>
[MessagePackObject]
public sealed class ReplayDetailRequestDto : BaseRequest
{
[JsonPropertyName("battle_id"), Key("battle_id")]
public long BattleId { get; set; }
}