Skip to content

Commit

Permalink
Add properties for FC rank and icon
Browse files Browse the repository at this point in the history
  • Loading branch information
corielljacob committed Oct 15, 2024
1 parent 841d81a commit 9f91c9f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@ public class FreeCompanyMembersEntryDefinition : PagedEntryDefinition
[JsonProperty("RANK_ICON")]
public DefinitionsPack RankIcon { get; set; }

/// <summary>
/// Free company rank
/// </summary>
[JsonProperty("FC_RANK")]
public DefinitionsPack FreeCompanyRank { get; set; }

/// <summary>
/// FC rank icon
/// </summary>
[JsonProperty("FC_RANK_ICON")]
public DefinitionsPack FreeCompanyRankIcon { get; set; }

/// <summary>
/// Homeworld
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ public FreeCompanyMembersEntry(HtmlNode rootNode, FreeCompanyMembersEntryDefinit
/// </summary>
public Uri? RankIcon => ParseImageSource(this.definition.RankIcon);

/// <summary>
/// Rank with character's Free Company
/// </summary>
public string FreeCompanyRank => Parse(this.definition.FreeCompanyRank);

/// <summary>
/// Icon representing <see cref="FreeCompanyRank"/>
/// </summary>
public Uri? FreeCompanyRankIcon => ParseImageSource(this.definition.FreeCompanyRankIcon);

/// <summary>
/// Home world
/// </summary>
Expand Down

0 comments on commit 9f91c9f

Please sign in to comment.