mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 13:53:40 +01:00
Implement IEquatable<Actor> on Actor
This commit is contained in:
parent
ef3687f8d2
commit
0ef13c68cb
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue