Table of Contents

Class MapPointOfInterest

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Marks a landmark in the scene — a town, a dungeon entrance, a flight point, a vista. Harvested into the scene's WorldMapDefinition when the world scene details cache is rebuilt.

public class MapPointOfInterest : MonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
MapPointOfInterest
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.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

Unlike a MapMarker, nothing needs to be spawned for this to appear: the landmark is scene data, so the world map can draw a town the player has explored while they stand on the far side of the zone with none of it streamed.

Fields

Description

Optional one-line description shown in the world map's tooltip.

[TextArea(1, 3)]
[Tooltip("Optional description shown in the world map tooltip.")]
public string Description

Field Value

string

DetailTier

Zoom tier at which the landmark starts being drawn, lowest first.

[Tooltip("Zoom tier the landmark appears at. 0 = always, higher = only when zoomed in.")]
public int DetailTier

Field Value

int

Icon

Icon drawn for the landmark. Falls back to the type default when null.

[Tooltip("Icon drawn for the landmark. Uses the type's default icon when empty.")]
public Sprite Icon

Field Value

Sprite

LandmarkName

Player-facing name. Falls back to the GameObject name when empty.

[Tooltip("Player-facing name. Uses the GameObject name when empty.")]
public string LandmarkName

Field Value

string

RequiresDiscovery

Whether the landmark stays hidden until its cell has been explored.

[Tooltip("Hide the landmark until the player has explored the area around it.")]
public bool RequiresDiscovery

Field Value

bool

ShowOnMinimap

Whether the landmark is also drawn on the minimap.

[Tooltip("Also draw this landmark on the minimap when it falls inside the view.")]
public bool ShowOnMinimap

Field Value

bool

Type

Which marker family this landmark belongs to.

[Tooltip("Marker family, used for filtering and for the default icon.")]
public MapMarkerType Type

Field Value

MapMarkerType

Properties

ResolvedName

The name this landmark will be baked with.

public string ResolvedName { get; }

Property Value

string

Methods

ToDetails()

Produces the serializable form baked into the map definition.

public MapPointOfInterestDetails ToDetails()

Returns

MapPointOfInterestDetails

The baked details for this landmark.