Table of Contents

Class MapSelectUi

Namespace
TinyLife.Uis
Assembly
Tiny Life.dll

A class that stores information about the map selection ui, which is called "household selection area" in-game.

public static class MapSelectUi
Inheritance
MapSelectUi
Inherited Members

Methods

GetHoveredLot()

Returns the lot that is currently being hovered by the mouse.

public static Lot GetHoveredLot()

Returns

Lot

The hovered lot.

OpenSplitMenu(Household, Lot, Action<CoveringGroup>)

Opens a menu that can be used to split a household into two, optionally adding the split household to a new lot with or without a household.

public static void OpenSplitMenu(Household household, Lot newLot = null, Action<CoveringGroup> onDone = null)

Parameters

household Household

The household to split.

newLot Lot

A new lot for the split household to occupy. If this is null, the split household will be exported instead.

onDone Action<CoveringGroup>

An action that is invoked when the Done button is pressed successfully.