Class UIForegroundPayload
An SeString Payload representing a UI foreground color applied to following text payloads.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Dalamud.Game.Chat.SeStringHandling.Payloads
Assembly: Dalamud.dll
Syntax
public class UIForegroundPayload : Payload
Constructors
| Improve this Doc View SourceUIForegroundPayload(UInt16)
Creates a new UIForegroundPayload for the given UIColor key.
Declaration
public UIForegroundPayload(ushort colorKey)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt16 | colorKey |
Properties
| Improve this Doc View SourceColorKey
The color key used as a lookup in the UIColor table for this foreground color.
Declaration
public ushort ColorKey { get; set; }
Property Value
| Type | Description |
|---|---|
| System.UInt16 |
IsEnabled
Whether or not this payload represents applying a foreground color, or disabling one.
Declaration
public bool IsEnabled { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
RGB
The Red/Green/Blue values for this foreground color, encoded as a typical hex color.
Declaration
public uint RGB { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
Type
Declaration
public override PayloadType Type { get; }
Property Value
| Type | Description |
|---|---|
| PayloadType |
Overrides
| Improve this Doc View SourceUIColor
A Lumina UIColor object representing this payload. The actual color data is at UIColor.UIForeground
Declaration
public UIColor UIColor { get; }
Property Value
| Type | Description |
|---|---|
| Lumina.Excel.GeneratedSheets.UIColor |
Remarks
Value is evaluated lazily and cached.
UIForegroundOff
Payload representing disabling foreground color on following text.
Declaration
public static UIForegroundPayload UIForegroundOff { get; }
Property Value
| Type | Description |
|---|---|
| UIForegroundPayload |
Methods
| Improve this Doc View SourceDecodeImpl(BinaryReader, Int64)
Declaration
protected override void DecodeImpl(BinaryReader reader, long endOfStream)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.BinaryReader | reader | |
| System.Int64 | endOfStream |
Overrides
| Improve this Doc View SourceEncodeImpl()
Declaration
protected override byte[] EncodeImpl()
Returns
| Type | Description |
|---|---|
| System.Byte[] |
Overrides
| Improve this Doc View SourceGetMarkerForIntegerBytes(Byte[])
Declaration
protected override byte GetMarkerForIntegerBytes(byte[] bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | bytes |
Returns
| Type | Description |
|---|---|
| System.Byte |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()