Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions FFXIVClientStructs/FFXIV/Client/UI/AddonGearSetList.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using FFXIVClientStructs.FFXIV.Component.GUI;
using static FFXIVClientStructs.FFXIV.Client.UI.Misc.RaptureGearsetModule;

namespace FFXIVClientStructs.FFXIV.Client.UI;

Expand All @@ -10,5 +11,18 @@ namespace FFXIVClientStructs.FFXIV.Client.UI;
[Inherits<AtkUnitBase>]
[StructLayout(LayoutKind.Explicit, Size = 0x3AA8)]
public partial struct AddonGearSetList {
[FieldOffset(0x260), FixedSizeArray] internal FixedSizeArray100<GearsetEntry> _gearsets;
[FieldOffset(0x3AA5)] public bool ShouldResetPosition;

[StructLayout(LayoutKind.Explicit, Size = 0x90)]
public struct GearsetEntry {
[FieldOffset(0x00)] public int Index; // -1 for empty
[FieldOffset(0x04)] public uint JobIconId; // icon without background
/// <remarks> Used for DragDrop and Hotbar slots. </remarks>
[FieldOffset(0x08)] public uint GearsetIconId;
[FieldOffset(0x0C)] public byte GlamourPlateId;
[FieldOffset(0x10)] public Utf8String ItemLevelText;
[FieldOffset(0x78)] public CStringPointer Name;
[FieldOffset(0x84)] public GearsetItemFlag Flags;
}
}
Loading