Skip to main content

Interface: FacilityWaypointCache

Defined in: src/sdk/navigation/FacilityWaypointCache.ts:7

A cache of facility waypoints.

Methods

get()

get<T>(facility): FacilityWaypoint<T>

Defined in: src/sdk/navigation/FacilityWaypointCache.ts:13

Gets a waypoint from the cache for a specific facility. If one does not exist, a new waypoint will be created.

Type Parameters

Type Parameter
T extends Facility

Parameters

ParameterTypeDescription
facilityFacilityThe facility for which to get a waypoint.

Returns

FacilityWaypoint<T>

A waypoint.