mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Merge pull request #512 from daemitus/break_dnc_gauge
This commit is contained in:
commit
6d5d358a04
1 changed files with 15 additions and 1 deletions
|
|
@ -31,11 +31,25 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
public byte CompletedSteps => this.Struct->StepIndex;
|
||||
|
||||
/// <summary>
|
||||
/// Gets all the steps in the current dance.
|
||||
/// </summary>
|
||||
public unsafe uint[] Steps
|
||||
{
|
||||
get
|
||||
{
|
||||
var arr = new uint[4];
|
||||
for (var i = 0; i < 4; i++)
|
||||
arr[i] = this.Struct->DanceSteps[i] + 15999u - 1;
|
||||
return arr;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the next step in the current dance.
|
||||
/// </summary>
|
||||
/// <returns>The next dance step action ID.</returns>
|
||||
public ulong NextStep => (ulong)(15999 + this.Struct->DanceSteps[this.Struct->StepIndex] - 1);
|
||||
public uint NextStep => 15999u + this.Struct->DanceSteps[this.Struct->StepIndex] - 1;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the player is dancing or not.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue