Class StatusList
This collection represents the status effects an actor is afflicted by.
Assembly: Dalamud.dll​
public sealed class StatusList : IReadOnlyCollection<IStatus>, IEnumerable<IStatus>, ICollection, IEnumerable
Implements:
System.Collections.Generic.IReadOnlyCollection<Dalamud.Game.ClientState.Statuses.IStatus>, System.Collections.Generic.IEnumerable<Dalamud.Game.ClientState.Statuses.IStatus>, System.Collections.ICollection, System.Collections.IEnumerable
Properties​
Address​
Gets the address of the status list in memory.
public nint Address { get; }
Length​
Gets the amount of status effect slots the actor has.
public int Length { get; }
this[int]​
Get a status effect at the specified index.
public IStatus? this[int index] { get; }
Methods​
CreateStatusListReference(nint)​
Create a reference to an FFXIV actor status list.
public static StatusList? CreateStatusListReference(nint address)
Returns​
Dalamud.Game.ClientState.Statuses.StatusList: The status object containing the requested data.
Parameters​
| Type | Name | Description |
|---|---|---|
System.IntPtr | address | The address of the status list in memory. |
CreateStatusReference(nint)​
Create a reference to an FFXIV actor status.
public static IStatus? CreateStatusReference(nint address)
Returns​
Dalamud.Game.ClientState.Statuses.IStatus: The status object containing the requested data.
Parameters​
| Type | Name | Description |
|---|---|---|
System.IntPtr | address | The address of the status effect in memory. |
GetStatusAddress(int)​
Gets the address of the status at the specific index in the status list.
public nint GetStatusAddress(int index)
Returns​
System.IntPtr: The memory address of the status.
Parameters​
| Type | Name | Description |
|---|---|---|
System.Int32 | index | The index of the status. |
GetEnumerator()​
public IEnumerator<IStatus> GetEnumerator()
Returns​
System.Collections.Generic.IEnumerator<Dalamud.Game.ClientState.Statuses.IStatus>
Implements​
System.Collections.Generic.IReadOnlyCollection<Dalamud.Game.ClientState.Statuses.IStatus>System.Collections.Generic.IEnumerable<Dalamud.Game.ClientState.Statuses.IStatus>System.Collections.ICollectionSystem.Collections.IEnumerable