mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
20 lines
588 B
C#
20 lines
588 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Dalamud.Game.ClientState.Structs.JobGauge {
|
|
[StructLayout(LayoutKind.Explicit)]
|
|
public struct DRKGauge {
|
|
[FieldOffset(0)] public byte Blood;
|
|
[FieldOffset(2)] public short DarksideTimeRemaining;
|
|
[FieldOffset(4)] private byte DarkArtsState;
|
|
[FieldOffset(6)] public short ShadowTimeRemaining;
|
|
|
|
public bool HasDarkArts() {
|
|
return DarkArtsState > 0;
|
|
}
|
|
}
|
|
}
|