Skip to content

Commit

Permalink
plugin: Fix offsets for global 7.1 (OverlayPlugin#496)
Browse files Browse the repository at this point in the history
(probably, `shieldPercentage` should be merged into `CharacterDetails`
as it's in the same internal struct in the game, but that's beyond the
scope of this PR)

Fix offsets for EntityMemory for patch 7.1

Job sigs and offsets seem fine. Not sure if any jobs had actual job
gauge data layout changes this patch, if so they can be fixed with a
separate PR.
  • Loading branch information
valarnin authored Nov 13, 2024
1 parent e1c85f7 commit 8988e12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/CactbotEventSource/FFXIVProcessIntl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Cactbot {
public class FFXIVProcessIntl : FFXIVProcess {
// Last updated for FFXIV 7.0
// Last updated for FFXIV 7.1

[StructLayout(LayoutKind.Explicit)]
public unsafe struct EntityMemory {
Expand Down Expand Up @@ -41,10 +41,10 @@ public unsafe struct EntityMemory {
[FieldOffset(0xC0)]
public Single rotation;

[FieldOffset(0x1BC)]
[FieldOffset(0x1AC)]
public CharacterDetails charDetails;

[FieldOffset(0x1E6)]
[FieldOffset(0x1D6)]
public byte shieldPercentage;
}

Expand Down

0 comments on commit 8988e12

Please sign in to comment.