Add Hotbar and PlayerState to UIState
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
+using FFXIVClientStructs.Common;
namespace FFXIVClientStructs.FFXIV.Client.Game.UI
{
@@ -10,10 +11,16 @@ namespace FFXIVClientStructs.FFXIV.Client.Game.UI
// ctor E8 ? ? ? ? 48 8D 0D ? ? ? ? 48 83 C4 28 E9 ? ? ? ? 48 83 EC 28 33 D2
[StructLayout(LayoutKind.Explicit, Size=0x15D2A)] // its at least this big, may be a few bytes bigger
- public unsafe struct UIState
+ public unsafe partial struct UIState
{
+ [FieldOffset(0x00)] public Hotbar Hotbar;
+ [FieldOffset(0xA38)] public PlayerState PlayerState;
+ [FieldOffset(0x1120)] public Revive Revive;
[FieldOffset(0x1388)] public Telepo Telepo;
[FieldOffset(0x1960)] public Buddy Buddy;
[FieldOffset(0x22E8)] public RelicNote RelicNote;
+
+ [StaticAddress("48 8D 0D ?? ?? ?? ?? E8 ?? ?? ?? ?? 48 8B 8B ?? ?? ?? ?? 48 8B 01")]
+ public static partial UIState* Instance();
}
}
