mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14: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
|
||||
{
|
||||
/// <summary>
|
||||
/// MNK Chakra types.
|
||||
/// MNK Beast Chakra types.
|
||||
/// </summary>
|
||||
public enum Chakra : byte
|
||||
public enum BeastChakra : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// No card.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
public bool IsEnochianActive => this.Struct->EnochianActive;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether or not Paradox is active.
|
||||
/// Gets a value indicating whether Paradox is active.
|
||||
/// </summary>
|
||||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||
public bool IsParadoxActive => this.Struct->ParadoxActive;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
using Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
|
|
@ -20,12 +21,17 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
}
|
||||
|
||||
/// <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>
|
||||
/// <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>
|
||||
public Chakra[] Chakra => this.Struct->CurrentChakra.Select(c => (Chakra)c).ToArray();
|
||||
public BeastChakra[] BeastChakra => this.Struct->BeastChakra.Select(c => (BeastChakra)c).ToArray();
|
||||
|
||||
/// <summary>
|
||||
/// 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