Added tanks stat info operation and calculation tier and Wn7 operation

This commit is contained in:
Mikhail Shabanov committed 2020-09-22 17:54:35 +02:00
1 parent 3eeda15491
commit b343e36e0d
14 files changed
+394 -4

No files matched your search

@@ -1,7 +1,40 @@
namespace WotBlitzStatisticsPro.DataAccess.Model.Accounts
using WotBlitzStatisticsPro.Common.Model;
namespace WotBlitzStatisticsPro.DataAccess.Model.Accounts
{
public class TankInfo
{
///<summary>
/// Player account identifier
///</summary>
public long AccountId { get; set; }
///<summary>
/// Tank identifier
///</summary>
public long TankId { get; set; }
public int BattleLifeTimeInSeconds { get; set; }
///<summary>
/// Last battle
///</summary>
public int LastBattleTime { get; set; }
public bool? InGarage { get; set; }
private int? InGarageUpdated { get; set; }
///<summary>
/// Mastery:
///
/// 0 — None
/// 1 — Rank 3
/// 2 — Rank 2
/// 3 — Rank 1
/// 4 — Mastery
///</summary>
public MarkOfMastery MarkOfMastery { get; set; }
}
}