Table of Contents

Class ParkingSpotWrapper

Namespace
S1API.Map
Assembly
S1API.dll

Modder-facing wrapper for a parking spot within a lot.

public sealed class ParkingSpotWrapper
Inheritance
ParkingSpotWrapper
Inherited Members
Extension Methods

Properties

Alignment

Alignment enum for this spot.

public ParkingAlignment Alignment { get; }

Property Value

ParkingAlignment

AlignmentPoint

Alignment Point for Occupant Vehicle

public Transform AlignmentPoint { get; }

Property Value

Transform

IsFree

True if the spot currently has no vehicle occupant.

public bool IsFree { get; }

Property Value

bool

OccupantVehicle

LandVehicle currently occupying this spot

public LandVehicle? OccupantVehicle { get; }

Property Value

LandVehicle

Methods

SetOccupant(LandVehicle)

Sets the vehicle currently occupying this spot

public void SetOccupant(LandVehicle vehicle)

Parameters

vehicle LandVehicle