Skip to main content

Class StatusList

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

Assembly: Dalamud.dll
Declaration
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.

Declaration
public nint Address { get; }

Length

Gets the amount of status effect slots the actor has.

Declaration
public int Length { get; }

this[int]

Get a status effect at the specified index.

Declaration
public IStatus? this[int index] { get; }

Methods

CreateStatusListReference(nint)

Create a reference to an FFXIV actor status list.

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.

Declaration
public static IStatus? CreateStatusReference(nint address)
Returns

Dalamud.Game.ClientState.Statuses.IStatus: 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.

Declaration
public nint GetStatusAddress(int index)
Returns

System.IntPtr: The memory address of the status.

Parameters
TypeNameDescription
System.Int32indexThe index of the status.

GetEnumerator()

Declaration
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.ICollection
  • System.Collections.IEnumerable