something
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
|
||||
@@ -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; } }
|
||||
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user