-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
edc7543
commit 28777d1
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
20 changes: 9 additions & 11 deletions
20
FFXIVClientStructs/FFXIV/Client/Game/ReconstructionBoxManager.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
namespace FFXIVClientStructs.FFXIV.Client.Game; | ||
|
||
[StructLayout(LayoutKind.Explicit, Size = 0x10)] | ||
[StructLayout(LayoutKind.Explicit, Size = 0xA8)] | ||
public unsafe partial struct ReconstructionBoxManager { | ||
[StaticAddress("48 8B 15 ?? ?? ?? ?? 48 8B C8 48 8B 5C 24", 3)] | ||
[StaticAddress("48 8B 15 ?? ?? ?? ?? 48 8B C8 48 8B 5C 24", 3, isPointer: true)] | ||
public static partial ReconstructionBoxManager* Instance(); | ||
|
||
[FieldOffset(0x00)] public ReconstructionBoxData* ReconstructionBoxData; | ||
[FieldOffset(0x08)] public void* UnknownDataPointer; | ||
} | ||
[FieldOffset(0x8)] public bool Loaded; | ||
|
||
[StructLayout(LayoutKind.Explicit, Size = 0xA8)] | ||
public struct ReconstructionBoxData { | ||
[FieldOffset(0xA0)] | ||
public ushort Donated; | ||
[FieldOffset(0xA0)] public ushort Donated; | ||
[FieldOffset(0xA2)] public ushort Progress; | ||
|
||
/// <remarks> Add 100 to get the correct value. </remarks> | ||
[FieldOffset(0xA4)] public byte Factor; | ||
|
||
[FieldOffset(0xA6)] | ||
public ushort Allowance; | ||
[FieldOffset(0xA6)] public ushort Allowance; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters