/ GUNRPG.Application / Distributed / DistributedActionEntry.cs
DistributedActionEntry.cs
 1  namespace GUNRPG.Application.Distributed;
 2  
 3  /// <summary>
 4  /// An entry in the append-only distributed action log.
 5  /// Each entry represents a deterministically applied action with ordering and hash verification.
 6  /// </summary>
 7  public sealed record DistributedActionEntry
 8  {
 9      public required long SequenceNumber { get; init; }
10      public required Guid NodeId { get; init; }
11      public required PlayerActionDto Action { get; init; }
12      public required string StateHashAfterApply { get; init; }
13  }