Table of Contents

Class MapPOIManager

Namespace
S1API.Map
Assembly
S1API.dll

Tracks standalone phone-map POIs by stable identifier.

public static class MapPOIManager
Inheritance
MapPOIManager
Inherited Members

Properties

All

Returns a snapshot of the currently registered markers.

public static IReadOnlyCollection<MapPOI> All { get; }

Property Value

IReadOnlyCollection<MapPOI>

Methods

Get(string)

Gets a marker by ID, or null when it is not registered.

public static MapPOI? Get(string id)

Parameters

id string

Returns

MapPOI

Remove(string)

Removes a marker by ID.

public static bool Remove(string id)

Parameters

id string

Returns

bool

true when a registered marker was removed.

RemoveAll()

Removes every currently registered standalone marker.

public static void RemoveAll()

TryGet(string, out MapPOI?)

Attempts to get a marker by ID.

public static bool TryGet(string id, out MapPOI? marker)

Parameters

id string
marker MapPOI

Returns

bool