Skip to main content

Interface IFlyTextGui

This class facilitates interacting with and creating native in-game "fly text".

Assembly: Dalamud.dll
View Source
Declaration
public interface IFlyTextGui

Methods

AddFlyText(FlyTextKind, uint, uint, uint, SeString, SeString, uint, uint, uint)

Displays a fly text in-game on the local player.

View Source
Declaration
void AddFlyText(FlyTextKind kind, uint actorIndex, uint val1, uint val2, SeString text1, SeString text2, uint color, uint icon, uint damageTypeIcon)
Parameters
TypeNameDescription
Dalamud.Game.Gui.FlyText.FlyTextKindkindThe FlyTextKind. See Dalamud.Game.Gui.FlyText.FlyTextKind.
System.UInt32actorIndexThe index of the actor to place flytext on. Indexing unknown. 1 places flytext on local player.
System.UInt32val1Value1 passed to the native flytext function.
System.UInt32val2Value2 passed to the native flytext function. Seems unused.
Dalamud.Game.Text.SeStringHandling.SeStringtext1Text1 passed to the native flytext function.
Dalamud.Game.Text.SeStringHandling.SeStringtext2Text2 passed to the native flytext function.
System.UInt32colorColor passed to the native flytext function. Changes flytext color.
System.UInt32iconIcon ID passed to the native flytext function. Only displays with select FlyTextKind.
System.UInt32damageTypeIconDamage Type Icon ID passed to the native flytext function. Displayed next to damage values to denote damage type.

Events

FlyTextCreated

The FlyText event that can be subscribed to.

View Source
Declaration
event IFlyTextGui.OnFlyTextCreatedDelegate? FlyTextCreated
Event Type

Dalamud.Plugin.Services.IFlyTextGui.OnFlyTextCreatedDelegate