Table of Contents

Class TooltipPriority

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Standard sort priorities, so independently authored sections interleave predictably.

public static class TooltipPriority
Inheritance
TooltipPriority
Inherited Members

Remarks

Tooltip content is assembled by several objects that cannot see each other — a template, its events, the conditions on both, an item's generator. Each adds rows with a priority and the content sorts once at the end. Naming the bands here is what stops that from being a pile of magic numbers whose ordering nobody can predict.

Fields

Attributes

Attribute rolls and generated values.

public const int Attributes = 40

Field Value

int

Composition

The parts a crafted subject is made of.

public const int Composition = 75

Field Value

int

Description

Flavour and description.

public const int Description = 10

Field Value

int

Effects

What it does.

public const int Effects = 70

Field Value

int

Classification that belongs at the bottom.

public const int Footer = 90

Field Value

int

Hint

Guidance addressed to the player.

public const int Hint = 900

Field Value

int

Identity

Identity: ids, slots, ownership.

public const int Identity = 20

Field Value

int

Price

What it costs to buy or craft.

public const int Price = 80

Field Value

int

Requirements

What the character must have or be.

public const int Requirements = 60

Field Value

int

ResourceCost

What it costs to use.

public const int ResourceCost = 50

Field Value

int

Stats

The numbers.

public const int Stats = 30

Field Value

int

Subtitle

What kind of thing it is.

public const int Subtitle = 5

Field Value

int

Targeting

How it picks what it affects.

public const int Targeting = 55

Field Value

int

Title

The subject's name.

public const int Title = 0

Field Value

int