add INpc and IEventObj

This commit is contained in:
goat 2024-06-29 11:49:33 +02:00
parent 1a490e5f21
commit 8477b6f207
2 changed files with 16 additions and 2 deletions

View file

@ -2,10 +2,17 @@ using Dalamud.Game.ClientState.Objects.Types;
namespace Dalamud.Game.ClientState.Objects.SubKinds; namespace Dalamud.Game.ClientState.Objects.SubKinds;
/// <summary>
/// This interface represents an EventObj.
/// </summary>
public interface IEventObj : IGameObject
{
}
/// <summary> /// <summary>
/// This class represents an EventObj. /// This class represents an EventObj.
/// </summary> /// </summary>
internal unsafe class EventObj : GameObject internal class EventObj : GameObject, IEventObj
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="EventObj"/> class. /// Initializes a new instance of the <see cref="EventObj"/> class.

View file

@ -2,10 +2,17 @@ using Dalamud.Game.ClientState.Objects.Types;
namespace Dalamud.Game.ClientState.Objects.SubKinds; namespace Dalamud.Game.ClientState.Objects.SubKinds;
/// <summary>
/// This interface represents a NPC.
/// </summary>
public interface INpc : ICharacter
{
}
/// <summary> /// <summary>
/// This class represents a NPC. /// This class represents a NPC.
/// </summary> /// </summary>
internal unsafe class Npc : Character internal class Npc : Character, INpc
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="Npc"/> class. /// Initializes a new instance of the <see cref="Npc"/> class.