mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 04:34:16 +01:00
Fix Status Effect Array to Pull from Actors Struct
This commit is contained in:
parent
6d8df89ca6
commit
7e2c04bbf1
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue