Skip to main content

Interface IFateTable

This collection represents the currently available Fate events.

Assembly: Dalamud.dll
Declaration
public interface IFateTable : IDalamudService, IReadOnlyCollection<IFate>, IEnumerable<IFate>, IEnumerable

Properties

Address

Gets the address of the Fate table.

Declaration
nint Address { get; }

Length

Gets the amount of currently active Fates.

Declaration
int Length { get; }

this[int]

Get an actor at the specified spawn index.

Declaration
IFate? this[int index] { get; }

Methods

IsValid(IFate)

Gets a value indicating whether this Fate is still valid in memory.

Declaration
bool IsValid(IFate fate)
Returns

System.Boolean: True or false.

Parameters
TypeNameDescription
Dalamud.Game.ClientState.Fates.IFatefateThe fate to check.

GetFateAddress(int)

Gets the address of the Fate at the specified index of the fate table.

Declaration
nint GetFateAddress(int index)
Returns

System.IntPtr: The memory address of the Fate.

Parameters
TypeNameDescription
System.Int32indexThe index of the Fate.

CreateFateReference(nint)

Create a reference to a FFXIV actor.

Declaration
IFate? CreateFateReference(nint offset)
Returns

Dalamud.Game.ClientState.Fates.IFate: Dalamud.Game.ClientState.Fates.Fate object containing requested data.

Parameters
TypeNameDescription
System.IntPtroffsetThe offset of the actor in memory.