Class StatusList
This collection represents the status effects an actor is afflicted by.
Assembly: Dalamud.dll
View Source
public sealed class StatusList : IReadOnlyCollection<Status>, IEnumerable<Status>, ICollection, IEnumerable
Implements:
System.Collections.Generic.IReadOnlyCollection<Dalamud.Game.ClientState.Statuses.Status>
, System.Collections.Generic.IEnumerable<Dalamud.Game.ClientState.Statuses.Status>
, System.Collections.ICollection
, System.Collections.IEnumerable
Properties
Address
Gets the address of the status list in memory.
View Source
public nint Address { get; }
Length
Gets the amount of status effect slots the actor has.
View Source
public int Length { get; }
this[int]
Get a status effect at the specified index.
View Source
public Status? this[int index] { get; }
Methods
CreateStatusListReference(nint)
Create a reference to an FFXIV actor status list.
View Source
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.
View Source
public static Status? CreateStatusReference(nint address)
Returns
Dalamud.Game.ClientState.Statuses.Status: 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.
View Source
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()
Returns an enumerator that iterates through the collection.
View Source
public IEnumerator<Status> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<Dalamud.Game.ClientState.Statuses.Status>
: An enumerator that can be used to iterate through the collection.
Implements
System.Collections.Generic.IReadOnlyCollection<Dalamud.Game.ClientState.Statuses.Status>
System.Collections.Generic.IEnumerable<Dalamud.Game.ClientState.Statuses.Status>
System.Collections.ICollection
System.Collections.IEnumerable