Merge pull request #150 from karashiiro/master

This commit is contained in:
goaaats 2020-08-06 14:05:40 +02:00 committed by GitHub
commit 617fc943b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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