mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-21 10:27:18 +02:00
feat: Clan Resolver first step
This commit is contained in:
1 parent
7f713e5357
commit
8fb1b170df
11 files changed
+203
-2
No files matched your search
@@ -163,5 +163,10 @@ namespace WotBlitzStatisticsPro.Common.Model
|
||||
/// </summary>
|
||||
public List<TankInfoResponse>? Tanks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Clan info
|
||||
/// </summary>
|
||||
public ClanInfoResponse? ClanInfo { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
using System;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Common.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// Clan information
|
||||
/// </summary>
|
||||
public class ClanInfoResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// Clan ID
|
||||
/// </summary>
|
||||
public long ClanId { get; set; }
|
||||
|
||||
///<summary>
|
||||
/// Date of joining clan
|
||||
///</summary>
|
||||
public DateTime JoinedAt { get; set; } = new DateTime(1970, 1, 1);
|
||||
|
||||
///<summary>
|
||||
/// Player clan role
|
||||
///</summary>
|
||||
public string? Role { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Clan name
|
||||
/// </summary>
|
||||
public string? Name { get; set; }
|
||||
|
||||
///<summary>
|
||||
/// Date of clan creation
|
||||
///</summary>
|
||||
public DateTime CreatedAt { get; set; } = new DateTime(1970, 1, 1);
|
||||
|
||||
///<summary>
|
||||
/// Clan creator account id
|
||||
///</summary>
|
||||
public long? CreatorId { get; set; }
|
||||
|
||||
///<summary>
|
||||
/// Clan creator nick
|
||||
///</summary>
|
||||
public string? CreatorName { get; set; }
|
||||
|
||||
///<summary>
|
||||
/// Clan description
|
||||
///</summary>
|
||||
public string? Description { get; set; }
|
||||
|
||||
///<summary>
|
||||
/// Html Clan description
|
||||
///</summary>
|
||||
public string? DescriptionHtml { get; set; }
|
||||
|
||||
///<summary>
|
||||
/// Clan commander accountId
|
||||
///</summary>
|
||||
public long? LeaderId { get; set; }
|
||||
|
||||
///<summary>
|
||||
/// Clan commander nick
|
||||
///</summary>
|
||||
public string? LeaderName { get; set; }
|
||||
|
||||
///<summary>
|
||||
/// Clan members count
|
||||
///</summary>
|
||||
public long? MembersCount { get; set; }
|
||||
|
||||
///<summary>
|
||||
/// Clan motto
|
||||
///</summary>
|
||||
public string? Motto { get; set; }
|
||||
|
||||
///<summary>
|
||||
/// Renamed clan name
|
||||
///</summary>
|
||||
public string? OldName { get; set; }
|
||||
|
||||
///<summary>
|
||||
/// Renamed clan tag
|
||||
///</summary>
|
||||
public string? OldTag { get; set; }
|
||||
|
||||
///<summary>
|
||||
/// Clan tag
|
||||
///</summary>
|
||||
public string? Tag { get; set; }
|
||||
|
||||
///<summary>
|
||||
/// Clan info updated at
|
||||
///</summary>
|
||||
public int? UpdatedAt { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace WotBlitzStatisticsPro.Common.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents pair of realm type a nd requested language
|
||||
/// </summary>
|
||||
public record RealmAndLanguage (RealmType realm, RequestLanguage language);
|
||||
}
|
||||
Reference in new issue
Block a user