mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-25 03:10:07 +01:00
feat: achievements queries added
This commit is contained in:
1 parent
b4e28506ba
commit
310f46b1e7
18 files changed
+505
-45
No files matched your search
@@ -0,0 +1,64 @@
|
||||
namespace WotBlitzStatisticsPro.Common.Model.Achievements
|
||||
{
|
||||
/// <summary>
|
||||
/// Player's achievement information
|
||||
/// </summary>
|
||||
public class Achievement
|
||||
{
|
||||
/// <summary>
|
||||
/// Achievement Id
|
||||
/// </summary>
|
||||
public string Id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Achievement value
|
||||
/// </summary>
|
||||
public int AchievementValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Achievement max series value
|
||||
/// </summary>
|
||||
public int? MaxSeriesValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Achievement condition
|
||||
/// </summary>
|
||||
public string? Condition { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Achievement description
|
||||
/// </summary>
|
||||
public string? Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Achievement normal sized image
|
||||
/// </summary>
|
||||
public string? Image { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Achievement big image
|
||||
/// </summary>
|
||||
public string? ImageBig { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Achievement name
|
||||
/// </summary>
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Order
|
||||
/// </summary>
|
||||
public long? Order { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Section Id
|
||||
/// </summary>
|
||||
public string SectionId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Achievement type
|
||||
/// </summary>
|
||||
public string Type { get; set; } = string.Empty;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Common.Model.Achievements
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents achievement section info and it's achievements list
|
||||
/// </summary>
|
||||
public class AchievementSection
|
||||
{
|
||||
/// <summary>
|
||||
/// Section Identifier
|
||||
/// </summary>
|
||||
public string SectionId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Section order
|
||||
/// </summary>
|
||||
public int Order { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Section Name
|
||||
/// </summary>
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Achievements in the section
|
||||
/// </summary>
|
||||
public List<Achievement>? Achievements { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user