Table of Contents

Class ExportedLot

Namespace
TinyLife.World
Assembly
Tiny Life.dll

An exported lot is all of the relevant data of a Lot that should be exported to a file when clicking the "Export" button in the build menu. To create an exported lot from a lot, use Export()

public class ExportedLot
Inheritance
ExportedLot
Inherited Members
Extension Methods

Fields

Area

The area that this lot covers in the world

public Rectangle Area

Field Value

Rectangle

ExportedVersion

The game version that this lot was exported with

public string ExportedVersion

Field Value

string

Furniture

The Furniture that is present on this lot

public List<Furniture> Furniture

Field Value

List<Furniture>

OtherFloorTiles

A set of tiles on additional floors beside the ground floor. Note that array entries may contain null tiles.

public Dictionary<int, Tile[,]> OtherFloorTiles

Field Value

Dictionary<int, Tile[,]>

Roofs

The roofs that are present on this lot

public List<Roof> Roofs

Field Value

List<Roof>

Stairs

The stairs that are present on this lot.

public List<Stairs> Stairs

Field Value

List<Stairs>

Tiles

The ground tiles of this lot

public Tile[,] Tiles

Field Value

Tile[,]

Type

This lot's LotType

public LotType Type

Field Value

LotType

WallLikes

The walls that are present on this lot.

public List<WallLike> WallLikes

Field Value

List<WallLike>

Walls

The walls that are present on this lot

[Obsolete("Use the new WallLikes instead")]
public List<Wall> Walls

Field Value

List<Wall>

Methods

GetCoveredArea()

Returns a MLEM.Misc.RectangleF that represents the area that this lot actually covers. The area covered by this lot is always bounded by its Area, but will be smaller if there are fewer objects on the lot.

public RectangleF GetCoveredArea()

Returns

RectangleF

The area that this lot covers

GetPrice()

Returns this exported lot's current price, including the prices of all Furniture objects, WallLikes, Roofs and Tiles.

public float GetPrice()

Returns

float

This exported lot's total price.

ValidateForPreview(Map)

public void ValidateForPreview(Map map)

Parameters

map Map