mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 21:24:16 +01:00
fix(gauges): MNK chakra + nadi, BLM Enochian flags
This commit is contained in:
parent
61f07cc330
commit
56d72b44b3
2 changed files with 24 additions and 6 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
|
using FFXIVClientStructs.FFXIV.Client.Game.Gauge;
|
||||||
|
|
||||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||||
{
|
{
|
||||||
|
|
@ -47,21 +48,32 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||||
public byte AstralFireStacks => (byte)(this.InAstralFire ? this.Struct->ElementStance : 0);
|
public byte AstralFireStacks => (byte)(this.InAstralFire ? this.Struct->ElementStance : 0);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value indicating whether if the player is in Umbral Ice.
|
/// Gets a value indicating whether or not the player is in Umbral Ice.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||||
public bool InUmbralIce => this.Struct->ElementStance < 0;
|
public bool InUmbralIce => this.Struct->ElementStance < 0;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value indicating whether if the player is in Astral fire.
|
/// Gets a value indicating whether or not the player is in Astral fire.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||||
public bool InAstralFire => this.Struct->ElementStance > 0;
|
public bool InAstralFire => this.Struct->ElementStance > 0;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value indicating whether if Enochian is active.
|
/// Gets a value indicating whether or not Enochian is active.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||||
public bool IsEnochianActive => this.Struct->Enochian != 0;
|
public bool IsEnochianActive => this.Struct->EnochianActive;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets a value indicating whether or not Paradox is active.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||||
|
public bool IsParadoxActive => this.Struct->ParadoxActive;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets a value indicating which kind of Enochian is active.
|
||||||
|
/// </summary>
|
||||||
|
public EnochianFlags EnochianFlags => this.Struct->EnochianFlags;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
|
using FFXIVClientStructs.FFXIV.Client.Game.Gauge;
|
||||||
|
|
||||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||||
{
|
{
|
||||||
|
|
@ -17,8 +18,13 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the number of Chakra available.
|
/// Gets the number of Chakra available, per Chakra type.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public byte Chakra => this.Struct->Chakra;
|
public ChakraType[] Chakra => this.Struct->CurrentChakra;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the kind of Nadi available.
|
||||||
|
/// </summary>
|
||||||
|
public NadiFlags Nadi => this.Struct->Nadi;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue