Table of Contents

Class PointOfInterestRecord

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

One generated point of interest: what it is, where, what it is called and what it links to.

[Serializable]
public class PointOfInterestRecord
Inheritance
PointOfInterestRecord
Inherited Members

Remarks

Plain data both peers can read. The name is baked as a string, so the server, the client, the world map and the atlas all show the same words with nothing on the wire, and a change to the naming data renames nothing until the scene is cut again.

Fields

BiomeID

The biome at the anchor (Biomes.BiomeRegistry cached ID), 0 for none.

public int BiomeID

Field Value

int

Description

[TextArea(1, 3)]
public string Description

Field Value

string

DetailTier

The world map zoom tier; 0 = always, higher = only zoomed in.

public int DetailTier

Field Value

int

Id

Stable within the scene: a hash of the kind and its rounded cell, never a list index.

public int Id

Field Value

int

Kind

public POIType Kind

Field Value

POIType

LakeId

The scene lake it names or stands on, or -1.

public int LakeId

Field Value

int

Name

public string Name

Field Value

string

NameSeed

The seed the name was drawn from, kept so a tool can show the draw again.

public int NameSeed

Field Value

int

Outline

The footprint's outline (PointOfInterestOutline): its reach toward each of a ring of bearings from Position, metres. Empty for a circle of Radius (a site planned before outlines, a bridge).

public float[] Outline

Field Value

float[]

ParentId

The POI this one belongs to (a graveyard's town, a cave's dungeon), or -1.

public int ParentId

Field Value

int

PlanetRiver

The planet river the scene river is part of, or -1; rivers are named from it.

public int PlanetRiver

Field Value

int

Position

The site's anchor in world space (metres; y is the ground or, underwater, the floor).

public Vector3 Position

Field Value

Vector3

Race

The race's naming key when the kind takes one (UsesRace), else empty.

public string Race

Field Value

string

Radius

The footprint's bounding radius in metres: no point of Outline reaches farther.

public float Radius

Field Value

float

RequiresDiscovery

Hidden until the fog of war reveals it. Every generated POI starts true (2026-10-10).

public bool RequiresDiscovery

Field Value

bool

RiverId

The scene river (Biomes.SceneHydrology.River.Id) it names or stands on, or -1.

public int RiverId

Field Value

int

SiteSeed

The seed every built choice for the site was drawn from (layout, pieces, scope).

public int SiteSeed

Field Value

int

SizeClass

0 = small, 1 = medium, 2 = large; picks layouts, pack sizes and cave depth.

public byte SizeClass

Field Value

byte

Template

The template the site was built from (asset name), empty for detected kinds.

public string Template

Field Value

string

UnlockIndex

A per-scene index for things players unlock by index (a waypoint, a portal), or -1.

public int UnlockIndex

Field Value

int

VariantIndex

The biome's climate variant as index + 1 into its variants, 0 for none (same rule as the namer).

public byte VariantIndex

Field Value

byte

Yaw

The site's heading in degrees about +y.

public float Yaw

Field Value

float

Properties

Info

public PointOfInterestKindInfo Info { get; }

Property Value

PointOfInterestKindInfo

Methods

ToDetails()

The map entry this POI is drawn as.

public MapPointOfInterestDetails ToDetails()

Returns

MapPointOfInterestDetails