mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-20 23:07:43 +01:00
21 lines
584 B
C#
21 lines
584 B
C#
using Dalamud.Game.ClientState.JobGauge.Types;
|
|
|
|
namespace Dalamud.Plugin.Services;
|
|
|
|
/// <summary>
|
|
/// This class converts in-memory Job gauge data to structs.
|
|
/// </summary>
|
|
public interface IJobGauges
|
|
{
|
|
/// <summary>
|
|
/// Gets the address of the JobGauge data.
|
|
/// </summary>
|
|
public nint Address { get; }
|
|
|
|
/// <summary>
|
|
/// Get the JobGauge for a given job.
|
|
/// </summary>
|
|
/// <typeparam name="T">A JobGauge struct from ClientState.Structs.JobGauge.</typeparam>
|
|
/// <returns>A JobGauge.</returns>
|
|
public T Get<T>() where T : JobGaugeBase;
|
|
}
|