using System;
using Dalamud.Game.ClientState.Objects.Enums;
namespace Dalamud.Game.ClientState.Objects.Types;
///
/// This class represents a battle NPC.
///
public unsafe class BattleNpc : BattleChara
{
///
/// Initializes a new instance of the class.
/// Set up a new BattleNpc with the provided memory representation.
///
/// The address of this actor in memory.
internal BattleNpc(IntPtr address)
: base(address)
{
}
///
/// Gets the BattleNpc of this BattleNpc.
///
public BattleNpcSubKind BattleNpcKind => (BattleNpcSubKind)this.Struct->Character.GameObject.SubKind;
///
public override uint TargetObjectId => this.Struct->Character.TargetObjectID;
}