diff --git a/Dalamud/Game/ClientState/JobGauge/Types/SGEGauge.cs b/Dalamud/Game/ClientState/JobGauge/Types/SGEGauge.cs new file mode 100644 index 000000000..e1a09bf7b --- /dev/null +++ b/Dalamud/Game/ClientState/JobGauge/Types/SGEGauge.cs @@ -0,0 +1,40 @@ +using System; + +namespace Dalamud.Game.ClientState.JobGauge.Types +{ + /// + /// In-memory SGE job gauge. + /// + public unsafe class SGEGauge : JobGaugeBase + { + /// + /// Initializes a new instance of the class. + /// + /// Address of the job gauge. + internal SGEGauge(IntPtr address) + : base(address) + { + } + + /// + /// Gets the amount of milliseconds elapsed until the next Addersgall is available. + /// This counts from 0 to 20_000. + /// + public short AddersgallTimer => this.Struct->AddersgallTimer; + + /// + /// Gets the amount of Addersgall available. + /// + public byte Addersgall => this.Struct->Addersgall; + + /// + /// Gets the amount of Addersting available. + /// + public byte Addersting => this.Struct->Addersting; + + /// + /// Gets a value indicating whether Eukrasia is activated. + /// + public bool Eukrasia => this.Struct->Eukrasia == 1; + } +}