Table of Contents

Class ScenePointOfInterest

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

A generated point of interest in its scene: the transform the site stands at, and the landmark the world map draws for it.

[DisallowMultipleComponent]
public class ScenePointOfInterest : MonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
ScenePointOfInterest
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.destroyCancellationToken
MonoBehaviour.useGUILayout
MonoBehaviour.didStart
MonoBehaviour.didAwake
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.GetComponentIndex()
Component.CompareTag(TagHandle)
Component.transform
Component.transformHandle
Component.gameObject
Component.tag
Object.GetEntityId()
Object.MemberwiseClone()
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.FindObjectsByType<T>()
Object.FindObjectsByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags

Remarks

Written by the scene generator under the scene's "Points of Interest" root, one per record of the scene's ScenePointsOfInterest asset, and harvested by the world scene details cache into WorldSceneDetails the way waypoints are, so a POI stays on the map whether or not a world map has been baked. It takes the place of a MapPointOfInterest on generated sites, which keeps working for hand-placed landmarks.

Shared and scene-resident in both builds: it carries no visuals and no collider. What a site BUILDS (spawners, a waypoint, a region, a portal) hangs under it as children.

Fields

Description

[TextArea(1, 3)]
public string Description

Field Value

string

DetailTier

public int DetailTier

Field Value

int

Entrances

The site's other ways in, each drawn as its own entry: written by the generator after the site is built.

public List<ScenePointOfInterestEntrance> Entrances

Field Value

List<ScenePointOfInterestEntrance>

HoldsDungeon

The site is a dungeon's way in (a crypt or a barrow over its stair, 2026-10-20): its own entry is drawn as a dungeon entrance, whatever its kind, so every dungeon reads as one on the map and under its filter.

public bool HoldsDungeon

Field Value

bool

Id

The record's id in the scene's POI asset.

public int Id

Field Value

int

Kind

public POIType Kind

Field Value

POIType

PointName

public string PointName

Field Value

string

Race

The race's naming key, when the site has one.

public string Race

Field Value

string

Radius

The footprint radius in metres.

public float Radius

Field Value

float

RequiresDiscovery

public bool RequiresDiscovery

Field Value

bool

Properties

ResolvedName

The name drawn on the map: the generated name, else the GameObject's.

public string ResolvedName { get; }

Property Value

string

Methods

AppendDetails(List<MapPointOfInterestDetails>)

Adds the site's own entry and one for each of its Entrances.

public void AppendDetails(List<MapPointOfInterestDetails> into)

Parameters

into List<MapPointOfInterestDetails>

Apply(PointOfInterestRecord)

Copies a record's fields onto this component and its transform.

public void Apply(PointOfInterestRecord record)

Parameters

record PointOfInterestRecord

DungeonLine(string, string)

The tooltip of a site that is a dungeon's way in: what it is first, then its own description.

public static string DungeonLine(string kindName, string description)

Parameters

kindName string
description string

Returns

string

ToDetails()

The map entry this POI is drawn as: a dungeon entrance when it HoldsDungeon, else its kind.

public MapPointOfInterestDetails ToDetails()

Returns

MapPointOfInterestDetails