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
5 changes: 3 additions & 2 deletions FFXIVClientStructs/FFXIV/Client/UI/Agent/AgentWKSAnnounce.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ namespace FFXIVClientStructs.FFXIV.Client.UI.Agent;
public unsafe partial struct AgentWKSAnnounce {
[FieldOffset(0x28)] public AnnounceData* Data;

[GenerateInterop]
[StructLayout(LayoutKind.Explicit, Size = 0xA8)]
public struct AnnounceData {
public partial struct AnnounceData {
[FieldOffset(0x4)] public byte EmergencyInfoRowId;
[FieldOffset(0x8)] public byte EmergencyInfoSubRowId;
[FieldOffset(0x5)] public byte EmergencyInfoSubRowId;
[FieldOffset(0xC), FixedSizeArray] internal FixedSizeArray2<uint> _emergencyProgress; // the game client indexes these individually and not as an array but this makes it easier to compare with the required value
[FieldOffset(0x18)] public Utf8String FormattedString;

Expand Down