Files
Craftimizer/Craftimizer/Utils/CSCraftEventHandler.cs
T
2025-04-29 14:34:41 -07:00

17 lines
489 B
C#

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 byte WKSClassJobs[2];
public static CSCraftEventHandler* Instance()
{
return (CSCraftEventHandler*)EventFramework.Instance()->GetCraftEventHandler();
}
}