Skip to content

Commit

Permalink
Merge pull request #1183 from RokasKil/main
Browse files Browse the repository at this point in the history
Partial AgentLobby and AtkComponentList offset fixes
  • Loading branch information
wolfcomp authored Nov 15, 2024
2 parents c7c5570 + b17be02 commit 7865bab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions FFXIVClientStructs/FFXIV/Client/UI/Agent/AgentLobby.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public unsafe partial struct AgentLobby {

[FieldOffset(0x1110)] public sbyte ServiceAccountIndex;

[FieldOffset(0x1118)] public ulong HoveredCharacterContentId;
[FieldOffset(0x1180)] public ulong HoveredCharacterContentId;
[FieldOffset(0x1120)] public byte DataCenter;

[FieldOffset(0x1122)] public short WorldIndex; // index in CurrentDataCenterWorlds
Expand All @@ -54,9 +54,9 @@ public unsafe partial struct AgentLobby {

[FieldOffset(0x1164)] public byte LobbyUpdateStage;

[FieldOffset(0x1167)] public byte LobbyUIStage;
[FieldOffset(0x11D7)] public byte LobbyUIStage;

[FieldOffset(0x1170)] public long IdleTime;
[FieldOffset(0x11E0)] public long IdleTime;

[FieldOffset(0x1190)] public int QueuePosition;

Expand Down
2 changes: 1 addition & 1 deletion FFXIVClientStructs/FFXIV/Component/GUI/AtkComponentList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public unsafe partial struct AtkComponentList : ICreatable {
[FieldOffset(0xC0)] public AtkComponentListItemRenderer* FirstAtkComponentListItemRenderer;
[FieldOffset(0xC8)] public AtkComponentScrollBar* AtkComponentScrollBarC8;
[FieldOffset(0xF0)] public ListItem* ItemRendererList;
[FieldOffset(0x118)] public int ListLength;
[FieldOffset(0x120)] public int ListLength;
[FieldOffset(0x12C)] public int SelectedItemIndex; // 0-N, -1 when none.
[FieldOffset(0x130)] public int HeldItemIndex; // 0-N, -1 when none. While mouse is held down.

Expand Down

0 comments on commit 7865bab

Please sign in to comment.