mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 12:44:16 +01:00
MNKGauge fix + client structs
This commit is contained in:
parent
4fe92a59a0
commit
08a0803fde
5 changed files with 14 additions and 8 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// MNK Chakra types.
|
/// MNK Beast Chakra types.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public enum Chakra : byte
|
public enum BeastChakra : byte
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// No card.
|
/// No card.
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||||
public bool IsEnochianActive => this.Struct->EnochianActive;
|
public bool IsEnochianActive => this.Struct->EnochianActive;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value indicating whether or not Paradox is active.
|
/// Gets a value indicating whether Paradox is active.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||||
public bool IsParadoxActive => this.Struct->ParadoxActive;
|
public bool IsParadoxActive => this.Struct->ParadoxActive;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
using Dalamud.Game.ClientState.JobGauge.Enums;
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
|
|
@ -20,12 +21,17 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the types of Chakra available.
|
/// Gets the amount of Chakra available.
|
||||||
|
/// </summary>
|
||||||
|
public byte Chakra => this.Struct->Chakra;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the types of Beast Chakra available.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// This will always return an array of size 3, inactive Chakra are represented by <see cref="Chakra.NONE"/>.
|
/// This will always return an array of size 3, inactive Beast Chakra are represented by <see cref="BeastChakra.NONE"/>.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public Chakra[] Chakra => this.Struct->CurrentChakra.Select(c => (Chakra)c).ToArray();
|
public BeastChakra[] BeastChakra => this.Struct->BeastChakra.Select(c => (BeastChakra)c).ToArray();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the types of Nadi available.
|
/// Gets the types of Nadi available.
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 224a4fa2ac4c0ae260b8ff4778c7fd6f1efb41b6
|
Subproject commit 6279047d055187a2bb568cd6bc83da985417140a
|
||||||
Loading…
Add table
Add a link
Reference in a new issue