/ GUNRPG.Application / Backend / MissionResultDto.cs
MissionResultDto.cs
 1  namespace GUNRPG.Application.Backend;
 2  
 3  /// <summary>
 4  /// Result of a mission execution through the game backend.
 5  /// Structurally mirrors <see cref="GUNRPG.Application.Combat.CombatOutcome"/> fields.
 6  /// 
 7  /// TODO: Will be used when offline session-based combat is implemented.
 8  /// Currently the interactive combat loop drives gameplay directly.
 9  /// </summary>
10  public sealed class MissionResultDto
11  {
12      public string OperatorId { get; set; } = string.Empty;
13      public bool Victory { get; set; }
14      public long XpGained { get; set; }
15      public bool OperatorDied { get; set; }
16      public int TurnsSurvived { get; set; }
17      public float DamageTaken { get; set; }
18      public string ResultJson { get; set; } = string.Empty;
19  }