refactoring
This commit is contained in:
parent
fbd0ba445a
commit
18d8721dd5
68 changed files with 2187 additions and 36 deletions
19
src/Roboto.GameOffsets/Components/Targetable.cs
Normal file
19
src/Roboto.GameOffsets/Components/Targetable.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Roboto.GameOffsets.Components;
|
||||
|
||||
/// <summary>Targetable component — whether entity can be targeted/highlighted.</summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 0x58)]
|
||||
public struct Targetable
|
||||
{
|
||||
[FieldOffset(0x00)] public ComponentHeader Header;
|
||||
|
||||
/// <summary>Whether the entity is targetable (byte bool).</summary>
|
||||
[FieldOffset(0x51)] public byte IsTargetable;
|
||||
|
||||
/// <summary>Whether the entity is highlightable (byte bool).</summary>
|
||||
[FieldOffset(0x52)] public byte IsHighlightable;
|
||||
|
||||
/// <summary>Whether the entity is targetable through walls (byte bool).</summary>
|
||||
[FieldOffset(0x53)] public byte IsTargetableThroughWalls;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue