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>
18 lines
613 B
C#
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; }
|
|
}
|