/ GUNRPG.Application / Distributed / PlayerActionDto.cs
PlayerActionDto.cs
 1  using GUNRPG.Core.Intents;
 2  
 3  namespace GUNRPG.Application.Distributed;
 4  
 5  /// <summary>
 6  /// Represents a player action submitted to the distributed authority.
 7  /// Wraps intent data with metadata for replication.
 8  /// </summary>
 9  public sealed class PlayerActionDto
10  {
11      public Guid ActionId { get; init; } = Guid.NewGuid();
12      public Guid OperatorId { get; init; }
13      public PrimaryAction? Primary { get; init; }
14      public MovementAction? Movement { get; init; }
15      public StanceAction? Stance { get; init; }
16      public CoverAction? Cover { get; init; }
17      public bool CancelMovement { get; init; }
18  }