Skip to main content

Interface IFateTable

This collection represents the currently available Fate events.

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

Properties

Address

Gets the address of the Fate table.

View Source
Declaration
nint Address { get; }

Length

Gets the amount of currently active Fates.

View Source
Declaration
int Length { get; }

this[int]

Get an actor at the specified spawn index.

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

Methods

IsValid(IFate)

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

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

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

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