OperatorDto.cs
1 using GUNRPG.Application.Dtos; 2 3 namespace GUNRPG.Application.Backend; 4 5 /// <summary> 6 /// Backend-level operator representation used by IGameBackend. 7 /// Contains the operator snapshot data for both online and offline modes. 8 /// </summary> 9 public sealed class OperatorDto 10 { 11 public string Id { get; set; } = string.Empty; 12 public string Name { get; set; } = string.Empty; 13 public long TotalXp { get; set; } 14 public float CurrentHealth { get; set; } 15 public float MaxHealth { get; set; } 16 public string EquippedWeaponName { get; set; } = string.Empty; 17 public List<string> UnlockedPerks { get; set; } = new(); 18 public int ExfilStreak { get; set; } 19 public bool IsDead { get; set; } 20 public string CurrentMode { get; set; } = string.Empty; 21 public Guid? ActiveCombatSessionId { get; set; } 22 public Guid? InfilSessionId { get; set; } 23 public DateTimeOffset? InfilStartTime { get; set; } 24 public string LockedLoadout { get; set; } = string.Empty; 25 public PetStateDto? Pet { get; set; } 26 }