Table of Contents

Class ParkingLotWrapper

Namespace
S1API.Map
Assembly
S1API.dll

Modder-facing wrapper for a parking lot.

public sealed class ParkingLotWrapper
Inheritance
ParkingLotWrapper
Inherited Members
Extension Methods

Properties

EntryPointPosition

Optional entry point world position, if configured.

public Vector3? EntryPointPosition { get; }

Property Value

Vector3?

GUID

Unique GUID string identifier for this lot.

public string GUID { get; }

Property Value

string

GameObjectName

GameObject name of the parking lot.

public string GameObjectName { get; }

Property Value

string

ParkingSpotsCount

Total amount of parking spots are in this lot, available or otherwise

public int ParkingSpotsCount { get; }

Property Value

int

Methods

GetSpot(int)

Gets the parking spot at the specified index, does not validate the index

public ParkingSpotWrapper GetSpot(int index)

Parameters

index int

Returns

ParkingSpotWrapper