Interfaces woohoo
This commit is contained in:
11
LctMonolith/Models/DTO/MissionCompletionResult.cs
Normal file
11
LctMonolith/Models/DTO/MissionCompletionResult.cs
Normal 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();
|
||||
}
|
||||
8
LctMonolith/Models/DTO/MissionValidationResult.cs
Normal file
8
LctMonolith/Models/DTO/MissionValidationResult.cs
Normal 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; }
|
||||
}
|
||||
15
LctMonolith/Models/DTO/PlayerProgress.cs
Normal file
15
LctMonolith/Models/DTO/PlayerProgress.cs
Normal 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();
|
||||
}
|
||||
9
LctMonolith/Models/DTO/SkillProgress.cs
Normal file
9
LctMonolith/Models/DTO/SkillProgress.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user