namespace SOR.Game.Abilities.Models; /// /// Pauses execution when cards are revealed face-up and a player must choose /// an ordering or selection from them (e.g. StackDeckEffect chooser). /// Resumed by game.reveal_choice_pick message carrying an ordered array of indices. /// public sealed class PendingRevealChoicePick { public string RequestId { get; set; } = Guid.NewGuid().ToString("N"); public string ActorId { get; set; } = string.Empty; public string ChooserActorId { get; set; } = string.Empty; public string SourceInstanceId { get; set; } = string.Empty; /// Discriminator: "StackDeck" | future uses. public string EffectType { get; set; } = string.Empty; // ── Revealed card set ───────────────────────────────────────────────────── /// /// Serialized CardInstance[] — the revealed cards the chooser sees and orders. /// Temporarily removed from the deck while this state is pending. /// public string RevealedCardsJson { get; set; } = "[]"; /// How many cards the chooser must include in their response ordering. public int Count { get; set; } = 1; // ── Context ─────────────────────────────────────────────────────────────── /// AccountId of the player whose deck receives the ordered cards. public string TargetPlayerAccountId { get; set; } = string.Empty; // ── Continuation ───────────────────────────────────────────────────────── /// /// Serialized IntraActionStep[] — remaining work within the paused action. /// Applied by the resume handler before executing ContinuationActionsJson. /// public string? IntraActionContinuationJson { get; set; } public string ContinuationActionsJson { get; set; } = "[]"; public string? RangeJson { get; set; } public string? ForceDurationJson { get; set; } }