Add patch offset changes
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using FFXIVClientStructs.FFXIV.Client.Game.Event;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Craftimizer.Utils;
|
||||
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
public unsafe struct CSCraftEventHandler
|
||||
{
|
||||
[FieldOffset(0x48A)] public unsafe fixed ushort WKSClassLevels[2];
|
||||
[FieldOffset(0x48E)] public unsafe fixed ushort WKSClassJobs[2];
|
||||
|
||||
public static CSCraftEventHandler* Instance()
|
||||
{
|
||||
return (CSCraftEventHandler*)EventFramework.Instance()->GetCraftEventHandler();
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@ internal sealed unsafe class SynthesisValues(AddonSynthesis* addon)
|
||||
private ReadOnlySpan<AtkValue> Values => new(Addon->AtkUnitBase.AtkValues, Addon->AtkUnitBase.AtkValuesCount);
|
||||
|
||||
// Always 0?
|
||||
private uint Unk0 => GetUInt(0);
|
||||
private uint IsInitializing => GetUInt(0);
|
||||
private bool IsTrialSynthesis => TryGetBool(1) ?? false;
|
||||
public SeString ItemName => GetString(2);
|
||||
public uint ItemIconId => GetUInt(3);
|
||||
|
||||
Reference in New Issue
Block a user