Table of Contents

Struct TooltipLine

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Represents a single line of tooltip content with formatting and priority-based ordering.

public struct TooltipLine : IComparable<TooltipLine>
Implements
Inherited Members

Fields

Color

The color to apply. Supports hex with # prefix (e.g., "#f5ad6eFF") or named colors (e.g., "white"). Null or empty means no color wrapper is applied.

public string Color

Field Value

string

FontSize

The font size for this line (e.g., "120%", "14"). Null or empty for default.

public string FontSize

Field Value

string

IsBold

Whether this line should be bold.

public bool IsBold

Field Value

bool

Priority

The sort priority for this line. Lower values appear first.

public int Priority

Field Value

int

Text

The text content of this line. May contain rich text tags.

public string Text

Field Value

string

Methods

CompareTo(TooltipLine)

Sorts by priority (lowest first).

public int CompareTo(TooltipLine other)

Parameters

other TooltipLine

Returns

int