mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
ASTGauge: split drawn card
This commit is contained in:
parent
ea1774d044
commit
f53c98b087
2 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue