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;
/// <summary>
/// This interface represents an EventObj.
/// </summary>
public interface IEventObj : IGameObject
{
}
/// <summary>
/// This class represents an EventObj.
/// </summary>
internal unsafe class EventObj : GameObject
internal class EventObj : GameObject, IEventObj
{
/// <summary>
/// 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;
/// <summary>
/// This interface represents a NPC.
/// </summary>
public interface INpc : ICharacter
{
}
/// <summary>
/// This class represents a NPC.
/// </summary>
internal unsafe class Npc : Character
internal class Npc : Character, INpc
{
/// <summary>
/// Initializes a new instance of the <see cref="Npc"/> class.