Interfaces woohoo

This commit is contained in:
2025-09-30 22:46:22 +03:00
parent 0021c352dc
commit fa68622ed1
13 changed files with 166 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
namespace LctMonolith.Models.DTO;
public class MissionCompletionResult
{
public bool Success { get; set; }
public string Message { get; set; } = string.Empty;
public int ExperienceGained { get; set; }
public int ManaGained { get; set; }
public List<SkillProgress> SkillsProgress { get; set; } = new();
public List<Guid> UnlockedMissions { get; set; } = new();
}

View File

@@ -0,0 +1,8 @@
namespace LctMonolith.Models.DTO;
public class MissionValidationResult
{
public bool IsValid { get; set; }
public string Message { get; set; } = string.Empty;
public int? SuggestedExperience { get; set; }
}

View File

@@ -0,0 +1,15 @@
using LctMonolith.Models.Database;
namespace LctMonolith.Models.DTO;
public class PlayerProgress
{
public Guid PlayerId { get; set; }
public string PlayerName { get; set; } = string.Empty;
public Rank? CurrentRank { get; set; }
public int TotalExperience { get; set; }
public int TotalMana { get; set; }
public int CompletedMissions { get; set; }
public int TotalAvailableMissions { get; set; }
public Dictionary<string, int> SkillLevels { get; set; } = new();
}

View File

@@ -0,0 +1,9 @@
namespace LctMonolith.Models.DTO;
public class SkillProgress
{
public Guid SkillId { get; set; }
public string SkillTitle { get; set; } = string.Empty;
public int PreviousLevel { get; set; }
public int NewLevel { get; set; }
}