From 2fe7cfb5ef6b6273cd3203b67664e3e3de791439 Mon Sep 17 00:00:00 2001 From: MidoriKami <9083275+MidoriKami@users.noreply.github.com> Date: Sat, 24 Jun 2023 21:24:08 -0700 Subject: [PATCH] Add IsTargetable to GameObject (#1269) * Add IsTargetable * Fix style inconsistency --- Dalamud/Game/ClientState/Objects/Types/GameObject.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dalamud/Game/ClientState/Objects/Types/GameObject.cs b/Dalamud/Game/ClientState/Objects/Types/GameObject.cs index 62b69dcec..292430b27 100644 --- a/Dalamud/Game/ClientState/Objects/Types/GameObject.cs +++ b/Dalamud/Game/ClientState/Objects/Types/GameObject.cs @@ -144,6 +144,11 @@ public unsafe partial class GameObject /// public bool IsDead => this.Struct->IsDead(); + /// + /// Gets a value indicating whether the object is targetable. + /// + public bool IsTargetable => this.Struct->GetIsTargetable(); + /// /// Gets the position of this . ///