feat(battle-node): UnapprovedCardEntry + RelayUList pure transform
Verbatim uList relay shape + transform (deck-sourced summons/fetches), mirroring RenameTargets. Not yet wired into the handler. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -47,3 +47,23 @@ public sealed record KnownCardEntry(
|
||||
public sealed record OppoTargetEntry(
|
||||
[property: JsonPropertyName("targetIdx")] int TargetIdx,
|
||||
[property: JsonPropertyName("isSelf")] int IsSelf);
|
||||
|
||||
/// <summary>One entry in a relayed <c>uList</c> (the unapproved-movement list) — a skill-driven
|
||||
/// card movement (fetch / search / summon-from-deck / discard-reveal) the node forwards VERBATIM
|
||||
/// (bullet-3 audit F1; the node makes no reveal decision — <c>cardId</c> presence is the sender's
|
||||
/// call). The first five fields are always emitted; the rest are conditional in
|
||||
/// <c>SendCardDataMaker.MakeUList</c> (cardId when revealed, clan/cost when set, etc.) and omit when
|
||||
/// null. <c>isSelf</c> is actor-relative and passes through unchanged (F2).</summary>
|
||||
public sealed record UnapprovedCardEntry(
|
||||
[property: JsonPropertyName("idxList")] IReadOnlyList<int> IdxList,
|
||||
[property: JsonPropertyName("from")] int From,
|
||||
[property: JsonPropertyName("to")] int To,
|
||||
[property: JsonPropertyName("isSelf")] int IsSelf,
|
||||
[property: JsonPropertyName("skill")] string Skill,
|
||||
[property: JsonPropertyName("cardId")] long? CardId = null,
|
||||
[property: JsonPropertyName("clan")] int? Clan = null,
|
||||
[property: JsonPropertyName("cost")] int? Cost = null,
|
||||
[property: JsonPropertyName("skillKeyCardIdx")] IReadOnlyList<int>? SkillKeyCardIdx = null,
|
||||
[property: JsonPropertyName("randomTargetIdx")] IReadOnlyList<int>? RandomTargetIdx = null,
|
||||
[property: JsonPropertyName("isInvoke")] int? IsInvoke = null,
|
||||
[property: JsonPropertyName("attachTarget")] string? AttachTarget = null);
|
||||
|
||||
Reference in New Issue
Block a user