Skip to content

PropertyFixtureDefinition

public sealed class PropertyFixtureDefinition

Namespace MapExpansions

Added in 1.2.0

A main-world object that occupies grid tiles, such as a sink standing in a room. The tiles take part in the grid like any other, but nothing can be placed on them while the object stands there. Removing, disabling, hiding or moving the object frees them without a call; MapExpansionsApi.SetFixtureReleased covers the other cases. An object that is missing when the extension applies is not an error: its tiles are free.

public string Id { get; set; }

Added in 1.2.0

Unique inside the extension.

public string Path { get; set; }

Added in 1.2.0

Path of the object in the main world, as in ObjectMoveDefinition.Path. It is resolved after the state’s moves.

public List<GridCoordinate> Tiles { get; }

Type: GridCoordinate

Added in 1.2.0

The cells under the object, on the extension’s grid.