Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial AgentLobby and AtkComponentList offset fixes #1183

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
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
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
Loading