ASTGauge: split drawn card

This commit is contained in:
Raymond 2021-12-03 23:51:13 -05:00
parent ea1774d044
commit f53c98b087
2 changed files with 8 additions and 2 deletions

View file

@ -22,7 +22,13 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
/// Gets the currently drawn <see cref="CardType"/>.
/// </summary>
/// <returns>Currently drawn <see cref="CardType"/>.</returns>
public CardType DrawnCard => (CardType)this.Struct->Card;
public CardType DrawnCard => (CardType)(this.Struct->Card & 0xF);
/// <summary>
/// Gets the currently drawn crown <see cref="CardType"/>.
/// </summary>
/// <returns>Currently drawn crown <see cref="CardType"/>.</returns>
public CardType DrawnCrownCard => (CardType)(this.Struct->Card - (this.Struct->Card % 10));
/// <summary>
/// Check if a <see cref="SealType"/> is currently active on the divination gauge.

@ -1 +1 @@
Subproject commit d578045bea85822bdf7853d3182c5b28d6fffd1c
Subproject commit 306695be6ad489d1f596c1d5fa8db9206b742189