namespace SOR.Game.Abilities.Models; /// /// Stored in GameState when a Triggered ability fires but needs a human target pick. /// The engine pauses execution, pushes a request to the owning player, then resumes /// via GameTriggeredTargetHandler once the player submits their selection. /// public sealed class PendingTriggeredTarget { /// Correlation ID sent to the client so responses can be matched. public string RequestId { get; set; } = Guid.NewGuid().ToString("N"); /// AccountId of the player who must pick the target. public string ActorId { get; set; } = string.Empty; /// InstanceId of the unit whose triggered ability is paused. public string SourceInstanceId { get; set; } = string.Empty; /// Display name of the ability (for client UI). public string AbilityName { get; set; } = string.Empty; /// /// JSON-serialized [] — the full action list to execute on resume. /// public string ActionsJson { get; set; } = "[]"; /// JSON-serialized ? — for client-side highlighting. public string? RangeJson { get; set; } /// JSON-serialized ? — forceDuration applied to all actions. public string? ForceDurationJson { get; set; } }