using System.Runtime.InteropServices; namespace Roboto.GameOffsets.Components; /// Targetable component — whether entity can be targeted/highlighted. [StructLayout(LayoutKind.Explicit, Pack = 1, Size = 0x58)] public struct Targetable { [FieldOffset(0x00)] public ComponentHeader Header; /// Whether the entity is targetable (byte bool). [FieldOffset(0x49)] public byte IsTargetable; /// Whether the entity is highlightable (byte bool). [FieldOffset(0x4A)] public byte IsHighlightable; /// Whether the entity is targeted by player (byte bool). [FieldOffset(0x4B)] public byte IsTargettedByPlayer; }