using System.Runtime.InteropServices;
namespace Roboto.GameOffsets.Components;
/// Targetable component — whether entity can be targeted/highlighted.
[StructLayout(LayoutKind.Explicit, Size = 0x58)]
public struct Targetable
{
[FieldOffset(0x00)] public ComponentHeader Header;
/// Whether the entity is targetable (byte bool).
[FieldOffset(0x51)] public byte IsTargetable;
/// Whether the entity is highlightable (byte bool).
[FieldOffset(0x52)] public byte IsHighlightable;
/// Whether the entity is targetable through walls (byte bool).
[FieldOffset(0x53)] public byte IsTargetableThroughWalls;
}