Update DRG gauge

This commit is contained in:
Raymond 2021-12-10 13:41:18 -05:00
parent 00d673a16b
commit d7e5251dfd
2 changed files with 9 additions and 27 deletions

View file

@ -1,23 +0,0 @@
namespace Dalamud.Game.ClientState.JobGauge.Enums
{
/// <summary>
/// DRG Blood of the Dragon state types.
/// </summary>
public enum BOTDState : byte
{
/// <summary>
/// Inactive type.
/// </summary>
NONE = 0,
/// <summary>
/// Blood of the Dragon is active.
/// </summary>
BOTD = 1,
/// <summary>
/// Life of the Dragon is active.
/// </summary>
LOTD = 2,
}
}

View file

@ -19,18 +19,23 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
}
/// <summary>
/// Gets the time remaining for Blood of the Dragon in milliseconds.
/// Gets the time remaining for Life of the Dragon in milliseconds.
/// </summary>
public short BOTDTimer => this.Struct->BotdTimer;
public short LOTDTimer => this.Struct->LotdTimer;
/// <summary>
/// Gets the current state of Blood of the Dragon.
/// Gets a value indicating whether Life of the Dragon is active.
/// </summary>
public BOTDState BOTDState => (BOTDState)this.Struct->BotdState;
public bool IsLOTDActive => this.Struct->LotdState == 2;
/// <summary>
/// Gets the count of eyes opened during Blood of the Dragon.
/// </summary>
public byte EyeCount => this.Struct->EyeCount;
/// <summary>
/// Gets the amount of Firstminds' Focus available.
/// </summary>
public byte FirstmindsFocusCount => this.Struct->FirstmindsFocusCount;
}
}