mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-15 20:37:42 +01:00
27 lines
649 B
C#
27 lines
649 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Dalamud.Game.ClientState.Structs.JobGauge
|
|
{
|
|
/// <summary>
|
|
/// In-memory RDM job gauge.
|
|
/// </summary>
|
|
[StructLayout(LayoutKind.Explicit)]
|
|
public struct RDMGauge
|
|
{
|
|
[FieldOffset(0)]
|
|
private byte whiteGauge;
|
|
|
|
[FieldOffset(1)]
|
|
private byte blackGauge;
|
|
|
|
/// <summary>
|
|
/// Gets the level of the White gauge.
|
|
/// </summary>
|
|
public byte WhiteGauge => this.whiteGauge;
|
|
|
|
/// <summary>
|
|
/// Gets the level of the Black gauge.
|
|
/// </summary>
|
|
public byte BlackGauge => this.blackGauge;
|
|
}
|
|
}
|