DP-VoidBox/VoidBox/Structs/Env/EnvManagerEx.cs

17 lines
455 B
C#
Raw Normal View History

2024-03-02 01:31:18 +01:00
using System.Runtime.InteropServices;
using FFXIVClientStructs.FFXIV.Client.Graphics.Environment;
namespace Ktisis.Structs.Env;
[StructLayout(LayoutKind.Explicit, Size = 0x910)]
public struct EnvManagerEx {
[FieldOffset(0x000)] public EnvManager _base;
[FieldOffset(0x058)] public EnvState EnvState;
[FieldOffset(0x410)] public EnvSimulator EnvSimulator;
public unsafe static EnvManagerEx* Instance() => (EnvManagerEx*)EnvManager.Instance();
}