Class DeliveryLocation
Wrapper for a base-game delivery location.
public sealed class DeliveryLocation
- Inheritance
-
DeliveryLocation
- Inherited Members
- Extension Methods
Properties
CustomerStandPoint
Customer standing position.
public Transform CustomerStandPoint { get; }
Property Value
- Transform
Description
Human-readable description for UI.
public string Description { get; }
Property Value
GUID
GUID string identifier used by the base game.
public string GUID { get; }
Property Value
Name
Location display name.
public string Name { get; }
Property Value
TeleportPoint
Teleport target point near the location.
public Transform TeleportPoint { get; }
Property Value
- Transform
Methods
GetAll()
Returns all known delivery locations (sorted by name).
public static DeliveryLocation[] GetAll()
Returns
GetByGuid(string)
Returns a delivery location by GUID string.
public static DeliveryLocation GetByGuid(string guid)
Parameters
guidstring
Returns
GetByName(string)
Returns a delivery location by case-insensitive name match.
public static DeliveryLocation GetByName(string name)
Parameters
namestring
Returns
Get<T>()
Resolves a delivery location using a typed identifier T. Declare an identifier class annotated with [DeliveryLocations.DeliveryLocationName("...")].
public static DeliveryLocation Get<T>() where T : IDeliveryLocationIdentifier
Returns
Type Parameters
T