Skip to main content

Class UIGlowPayload

An SeString Payload that allows text to have a specific edge glow. The color selected will be determined by the Lumina.Excel.Sheets.UIColor.Light theme's coloring, regardless of the active theme.

Assembly: Dalamud.dll
Declaration
public class UIGlowPayload : Payload

Inheritance: System.Object -> Dalamud.Game.Text.SeStringHandling.Payload

Properties

UIGlowOff

Gets a payload representing disabling glow color on following text.

Declaration
public static UIGlowPayload UIGlowOff { get; }

Type

Gets the type of this payload.

Declaration
public override PayloadType Type { get; }

ColorKey

Gets or sets the color key used as a lookup in the UIColor table for this glow color.

Declaration
[JsonIgnore]
public ushort ColorKey { get; set; }

IsEnabled

Gets a value indicating whether this payload represents applying a glow color, or disabling one.

Declaration
public bool IsEnabled { get; }

RGBA

Gets the Red/Green/Blue/Alpha values for this glow color, encoded as a typical hex color.

Declaration
[JsonIgnore]
public uint RGBA { get; }

ABGR

Gets the ABGR value for this glow color, as ImGui requires it in PushColor.

Declaration
[JsonIgnore]
public uint ABGR { get; }

UIColor

Gets a Lumina UIColor object representing this payload. The actual color data is at UIColor.UIGlow.

Declaration
[JsonIgnore]
public RowRef<UIColor> UIColor { get; }

Methods

ToString()

Declaration
public override string ToString()
Returns

System.String

EncodeImpl()

Encodes the internal state of this payload into a byte[] suitable for sending to in-game handlers such as the chat log.

Declaration
protected override byte[] EncodeImpl()
Returns

System.Byte[]: Encoded binary payload data suitable for use with in-game handlers.

DecodeImpl(BinaryReader, long)

Decodes a byte stream from the game into a payload object.

Declaration
protected override void DecodeImpl(BinaryReader reader, long endOfStream)
Parameters
TypeNameDescription
System.IO.BinaryReaderreaderA BinaryReader containing at least all the data for this payload.
System.Int64endOfStreamThe location holding the end of the data for this payload.