Skip to main content

Class StatusList

This collection represents the status effects an actor is afflicted by.

Assembly: Dalamud.dll
View Source
Declaration
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
Declaration
public nint Address { get; }

Length

Gets the amount of status effect slots the actor has.

View Source
Declaration
public int Length { get; }

this[int]

Get a status effect at the specified index.

View Source
Declaration
public Status? this[int index] { get; }

Methods

CreateStatusListReference(nint)

Create a reference to an FFXIV actor status list.

View Source
Declaration
public static StatusList? CreateStatusListReference(nint address)
Returns

Dalamud.Game.ClientState.Statuses.StatusList: The status object containing the requested data.

Parameters
TypeNameDescription
System.IntPtraddressThe address of the status list in memory.

CreateStatusReference(nint)

Create a reference to an FFXIV actor status.

View Source
Declaration
public static Status? CreateStatusReference(nint address)
Returns

Dalamud.Game.ClientState.Statuses.Status: The status object containing the requested data.

Parameters
TypeNameDescription
System.IntPtraddressThe 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
Declaration
public nint GetStatusAddress(int index)
Returns

System.IntPtr: The memory address of the status.

Parameters
TypeNameDescription
System.Int32indexThe index of the status.

GetEnumerator()

Returns an enumerator that iterates through the collection.

View Source
Declaration
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