Table of Contents

Class PointOfInterestKinds

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

The point-of-interest kinds: their group, traits, map tier, display name and map marker type.

public static class PointOfInterestKinds
Inheritance
PointOfInterestKinds
Inherited Members

Remarks

A kind IS a POIType, so the name generator, the generated scene data and the map all speak of the same thing. Each kind has its own MapMarkerType of the same name (2026-10-10), found by name so the two enums can never drift apart silently: a kind with no marker type answers Landmark, and a unit test pins that none does.

Properties

All

Every kind the generator can place or find, in enum order (Any excluded).

public static IReadOnlyList<PointOfInterestKindInfo> All { get; }

Property Value

IReadOnlyList<PointOfInterestKindInfo>

Methods

GroupColour(PointOfInterestGroup)

The colour of each group wherever points of interest are drawn: the atlas globe and preview, the scene gizmos, and the in-game map's --map-poi-* tokens in FishMMO-Theme.uss (pinned equal by a test).

public static Color GroupColour(PointOfInterestGroup group)

Parameters

group PointOfInterestGroup

Returns

Color

Info(POIType)

The facts about a kind; an unknown kind reads as an untyped landmark.

public static PointOfInterestKindInfo Info(POIType kind)

Parameters

kind POIType

Returns

PointOfInterestKindInfo

IsKnown(POIType)

Whether the generator knows this kind.

public static bool IsKnown(POIType kind)

Parameters

kind POIType

Returns

bool

MarkerFor(POIType)

The map marker type a kind is drawn as: the one of the same name.

public static MapMarkerType MarkerFor(POIType kind)

Parameters

kind POIType

Returns

MapMarkerType

Spaced(string)

"HotSpring" → "Hot Spring".

public static string Spaced(string name)

Parameters

name string

Returns

string

TryKindOf(MapMarkerType, out POIType)

The kind a map marker type stands for, or false when it is not a point-of-interest type.

public static bool TryKindOf(MapMarkerType type, out POIType kind)

Parameters

type MapMarkerType
kind POIType

Returns

bool