Skip to content

MapSheetDefinition

public sealed class MapSheetDefinition

Namespace MapExpansions

The expansion’s part of the phone map: a square picture laid onto the map where the expansion stands. The map grows to hold every expansion’s sheet.

public MapPictureSource Picture { get; set; }

Type: MapPictureSource

public byte[] Png { get; set; }

The picture for MapPictureSource.Png; north of the picture is local +z.

public Vector2 Centre { get; set; }

The local x/z point the middle of the picture shows.

public float HalfSize { get; set; }

Metres from the middle of the picture to each of its edges.

public List<MapLabel> Labels { get; }

Type: MapLabel

Names written on the map like the main map’s building and district names.

public Color32 Land { get; set; }

Colour of the expansion’s terrain where the map shows it outside the sheet, between the sheets. The default is the sand of the prologue map.

public Color32 Rock { get; set; }

Colour of the expansion’s other ground (rocks, cliffs) outside the sheet. The default is the prologue map’s rock.