Skip to content

Commit

Permalink
plugin: update FFXIVProcessKo.cs for ko 6.4 (quisquous#5887)
Browse files Browse the repository at this point in the history
This is a copy of cn-6.4(quisquous#5800).
  • Loading branch information
Bing-su authored Nov 1, 2023
1 parent 75d6a7e commit 2711af6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions plugin/CactbotEventSource/FFXIVProcessKo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Cactbot {
public class FFXIVProcessKo : FFXIVProcess {
// Last updated for FFXIV 6.3
// Last updated for FFXIV 6.4

[StructLayout(LayoutKind.Explicit)]
public unsafe struct EntityMemory {
Expand Down Expand Up @@ -44,7 +44,7 @@ public unsafe struct EntityMemory {
[FieldOffset(0x1C4)]
public CharacterDetails charDetails;

[FieldOffset(0x1AEB)]
[FieldOffset(0x1ED)]
public byte shieldPercentage;
}

Expand Down Expand Up @@ -72,10 +72,10 @@ public struct CharacterDetails {
[FieldOffset(0x16)]
public short max_cp;

[FieldOffset(0x1C)]
[FieldOffset(0x1E)]
public EntityJob job;

[FieldOffset(0x1D)]
[FieldOffset(0x1F)]
public byte level;
}
public FFXIVProcessKo(ILogger logger) : base(logger) { }
Expand Down Expand Up @@ -638,17 +638,17 @@ public int aetherflowStacks {

[StructLayout(LayoutKind.Explicit)]
public struct ScholarJobMemory {
[FieldOffset(0x02)]
[FieldOffset(0x00)]
public byte aetherflowStacks;

[FieldOffset(0x03)]
[FieldOffset(0x01)]
public byte fairyGauge;

[FieldOffset(0x04)]
[FieldOffset(0x02)]
public ushort fairyMilliseconds; // Seraph time left ms.

[FieldOffset(0x06)]
public byte fairyStatus; // Varies depending on which fairy was summoned, during Seraph/Dissipation: 6 - Eos, 7 - Selene, else 0.
[FieldOffset(0x04)]
public byte fairyStatus; // Seraph: 6, else 0.
};


Expand Down

0 comments on commit 2711af6

Please sign in to comment.