mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
Switch from CurrentGauge pointer to using the gauge fields address directly (#2094)
This commit is contained in:
parent
8ccac255cb
commit
c2588cec6b
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ internal class JobGauges : IServiceType, IJobGauges
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public unsafe IntPtr Address => (nint)(CSJobGaugeManager.Instance()->CurrentGauge);
|
public unsafe IntPtr Address => (nint)(&CSJobGaugeManager.Instance()->EmptyGauge);
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public T Get<T>() where T : JobGaugeBase
|
public T Get<T>() where T : JobGaugeBase
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue