something

This commit is contained in:
2025-10-01 01:56:05 +03:00
parent ece9cedb37
commit 40342a0e14
112 changed files with 5468 additions and 5468 deletions

View File

@@ -1,3 +1,3 @@
namespace LctMonolith.Models.DTO;
public class CreateMissionCategoryDto { public string Title { get; set; } = string.Empty; }
namespace LctMonolith.Models.DTO;
public class CreateMissionCategoryDto { public string Title { get; set; } = string.Empty; }

View File

@@ -1,12 +1,12 @@
namespace LctMonolith.Models.DTO;
public class CreateMissionDto
{
public string Title { get; set; } = string.Empty;
public string? Description { get; set; }
public Guid MissionCategoryId { get; set; }
public Guid? ParentMissionId { get; set; }
public int ExpReward { get; set; }
public int ManaReward { get; set; }
}
namespace LctMonolith.Models.DTO;
public class CreateMissionDto
{
public string Title { get; set; } = string.Empty;
public string? Description { get; set; }
public Guid MissionCategoryId { get; set; }
public Guid? ParentMissionId { get; set; }
public int ExpReward { get; set; }
public int ManaReward { get; set; }
}

View File

@@ -1,3 +1,3 @@
namespace LctMonolith.Models.DTO;
public class CreateRankDto { public string Title { get; set; } = string.Empty; public int ExpNeeded { get; set; } }
namespace LctMonolith.Models.DTO;
public class CreateRankDto { public string Title { get; set; } = string.Empty; public int ExpNeeded { get; set; } }

View File

@@ -1,3 +1,3 @@
namespace LctMonolith.Models.DTO;
public class CreateSkillDto { public string Title { get; set; } = string.Empty; }
namespace LctMonolith.Models.DTO;
public class CreateSkillDto { public string Title { get; set; } = string.Empty; }

View File

@@ -1,11 +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();
}
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

@@ -1,8 +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; }
}
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

@@ -1,15 +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();
}
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

@@ -1,9 +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; }
}
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; }
}