diff --git a/Dalamud/Game/ClientState/Actors/Types/Actor.cs b/Dalamud/Game/ClientState/Actors/Types/Actor.cs index 431f3163f..d5088776c 100644 --- a/Dalamud/Game/ClientState/Actors/Types/Actor.cs +++ b/Dalamud/Game/ClientState/Actors/Types/Actor.cs @@ -4,7 +4,7 @@ namespace Dalamud.Game.ClientState.Actors.Types { /// /// This class represents a basic FFXIV actor. /// - public class Actor { + public class Actor : IEquatable { /// /// The memory representation of the base actor. /// @@ -70,5 +70,7 @@ namespace Dalamud.Game.ClientState.Actors.Types { /// The target of the actor /// public virtual int TargetActorID => 0; + + bool IEquatable.Equals(Actor other) => this.ActorId == other.ActorId; } }