mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-23 11:20:05 +02:00
Static dictionaries getter and mapper
This commit is contained in:
1 parent
32f7245d85
commit
36be21e61c
7 files changed
+267
-9
No files matched your search
@@ -0,0 +1,27 @@
|
||||
using System.Collections.Generic;
|
||||
using WotBlitzStatisticsPro.Common.Model;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Common.Dictionaries
|
||||
{
|
||||
/// <summary>
|
||||
/// Achievement section dictionary item.
|
||||
/// </summary>
|
||||
public class AchievementSectionDictionary
|
||||
{
|
||||
/// <summary>
|
||||
/// Achievement section id
|
||||
/// </summary>
|
||||
public string AchievementSectionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Section order
|
||||
/// </summary>
|
||||
public int Order { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Localized section names
|
||||
/// </summary>
|
||||
public Dictionary<RequestLanguage, string> AchievementSectionNames { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
using WotBlitzStatisticsPro.Common.Model;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Common.Dictionaries
|
||||
{
|
||||
/// <summary>
|
||||
/// Clan role dictionary item
|
||||
/// </summary>
|
||||
public class ClanRoleDictionary
|
||||
{
|
||||
/// <summary>
|
||||
/// Clan role id
|
||||
/// </summary>
|
||||
public string ClanRoleId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Localized clan role names
|
||||
/// </summary>
|
||||
public Dictionary<RequestLanguage, string> ClanRoleNames { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
namespace WotBlitzStatisticsPro.Common.Dictionaries
|
||||
{
|
||||
/// <summary>
|
||||
/// Languages available
|
||||
/// </summary>
|
||||
public class LanguageDictionary
|
||||
{
|
||||
/// <summary>
|
||||
/// Language id
|
||||
/// </summary>
|
||||
public string LanguageId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Language
|
||||
/// </summary>
|
||||
public string LanguageName { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
using WotBlitzStatisticsPro.Common.Model;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Common.Dictionaries
|
||||
{
|
||||
/// <summary>
|
||||
/// Tanks nations dictionary item
|
||||
/// </summary>
|
||||
public class NationDictionary
|
||||
{
|
||||
/// <summary>
|
||||
/// Nation id
|
||||
/// </summary>
|
||||
public string NationId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Nation
|
||||
/// </summary>
|
||||
public Dictionary<RequestLanguage, string> NationNames { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
using WotBlitzStatisticsPro.Common.Model;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Common.Dictionaries
|
||||
{
|
||||
/// <summary>
|
||||
/// Vehicle type dictionary item
|
||||
/// </summary>
|
||||
public class VehicleTypeDictionary
|
||||
{
|
||||
/// <summary>
|
||||
/// Vehicle type id
|
||||
/// </summary>
|
||||
public string VehicleTypeId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Vehicle type localized name
|
||||
/// </summary>
|
||||
public Dictionary<RequestLanguage, string> VehicleTypeNames { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user