mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-23 19:30:06 +02:00
CLeanup and restructurisation
This commit is contained in:
1 parent
bfb9f11035
commit
8faccd45c9
104 files changed
+124
-2056
No files matched your search
@@ -1,14 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Common.Model
|
||||
{
|
||||
[Obsolete("Use AccountsSearchResponse instead")]
|
||||
public class AccountsSearchResult
|
||||
{
|
||||
public int TotalAccountsCount { get; set; }
|
||||
|
||||
public Dictionary<long, string> Accounts { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Common.Model
|
||||
{
|
||||
public class PlayerAccountInfo
|
||||
{
|
||||
public long AccountId { get; set; }
|
||||
public string NickName { get; set; }
|
||||
public DateTime? AccountCreatedAt { get; set; }
|
||||
public DateTime? LastBattleTime { get; set; }
|
||||
public long Battles { get; set; }
|
||||
public double Wn7 { get; set; }
|
||||
public double AvgTier { get; set; }
|
||||
public double Winrate { get; set; }
|
||||
public double AvgDamage { get; set; }
|
||||
public double AvgXp { get; set; }
|
||||
public IEnumerable<PlayerAchievementInfo> Achievements { get; set; }
|
||||
public IEnumerable<PlayerTankInfo> TopTanks { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
namespace WotBlitzStatisticsPro.Common.Model
|
||||
{
|
||||
public class PlayerAchievementInfo
|
||||
{
|
||||
public string AchievementId { get; set; }
|
||||
public string Section { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Image { get; set; }
|
||||
public int Count { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
namespace WotBlitzStatisticsPro.Common.Model
|
||||
{
|
||||
public class PlayerTankInfo
|
||||
{
|
||||
public long TankId { get; set; }
|
||||
public MarkOfMastery MarkOfMastery { get; set; }
|
||||
public long Battles { get; set; }
|
||||
public decimal WinRate { get; set; }
|
||||
public decimal AvgDamage { get; set; }
|
||||
public decimal AvgXp { get; set; }
|
||||
public string Name { get; set; }
|
||||
public int Tier { get; set; }
|
||||
public string TierRoman { get; set; }
|
||||
public string Nation { get; set; }
|
||||
public string Type { get; set; }
|
||||
public bool IsPremium { get; set; }
|
||||
public string PreviewImageUrl { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
|
||||
namespace WotBlitzStatisticsPro.Common.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// Wargaming API Realm
|
||||
/// </summary>
|
||||
public enum RealmType
|
||||
{
|
||||
/// <summary>
|
||||
/// Russian region
|
||||
/// </summary>
|
||||
Ru,
|
||||
/// <summary>
|
||||
/// European region
|
||||
/// </summary>
|
||||
Eu,
|
||||
/// <summary>
|
||||
/// North America
|
||||
/// </summary>
|
||||
Na,
|
||||
/// <summary>
|
||||
/// Asian region
|
||||
/// </summary>
|
||||
Asia
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
namespace WotBlitzStatisticsPro.Common.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// Wargaming API request language
|
||||
/// </summary>
|
||||
public enum RequestLanguage
|
||||
{
|
||||
/// <summary>
|
||||
/// Русский
|
||||
/// </summary>
|
||||
Ru,
|
||||
/// <summary>
|
||||
/// English
|
||||
/// </summary>
|
||||
En,
|
||||
/// <summary>
|
||||
/// Deutsch
|
||||
/// </summary>
|
||||
De
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user