Merge pull request #161 from r1ft4469/StatusEffects

This commit is contained in:
goaaats 2020-09-13 00:47:08 +02:00 committed by GitHub
commit 7c70aaebbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,4 @@
using Dalamud.Game.ClientState.Structs;
using System; using System;
namespace Dalamud.Game.ClientState.Actors.Types { namespace Dalamud.Game.ClientState.Actors.Types {
@ -71,6 +72,11 @@ namespace Dalamud.Game.ClientState.Actors.Types {
/// </summary> /// </summary>
public virtual int TargetActorID => 0; public virtual int TargetActorID => 0;
/// <summary>
/// Status Effects
/// </summary>
public StatusEffect[] StatusEffects => this.actorStruct.UIStatusEffects;
bool IEquatable<Actor>.Equals(Actor other) => this.ActorId == other.ActorId; bool IEquatable<Actor>.Equals(Actor other) => this.ActorId == other.ActorId;
} }
} }