Table of Contents

Class LotSizeSection

Namespace
LlamaLogic.Architecture
Assembly
LlamaLogic.Architecture.dll

Represents the LotSize section: the lot's dimensions (🔓)

public sealed class LotSizeSection : LotArchitectureSection
Inheritance
LotSizeSection
Inherited Members

Remarks

The grids of the other sections are SizeX tiles along the lot's local X axis by SizeZ tiles along its local Z axis, with one layer per level. LevelCount is the number of levels from the lowest to the highest of LotInfoSection, inclusive.

Versions 2 through 13 are supported, and the game writes version 13. Version 2 holds no dimensions (HasDimensions is false); the game discards the floor data of such a lot.

Constructors

LotSizeSection()

Initializes a new instance of the LotSizeSection class

public LotSizeSection()

Properties

HasDimensions

Gets whether the section holds the lot's dimensions, which it does from version 3 on

public bool HasDimensions { get; }

Property Value

bool

LevelCount

Gets/sets the number of levels of the lot, from the lowest to the highest, inclusive

public byte LevelCount { get; set; }

Property Value

byte

SizeX

Gets/sets the number of tiles of the lot along its local X axis

public byte SizeX { get; set; }

Property Value

byte

SizeZ

Gets/sets the number of tiles of the lot along its local Z axis

public byte SizeZ { get; set; }

Property Value

byte

Version

Gets/sets the version of the section, which decides its layout

public uint Version { get; set; }

Property Value

uint

Remarks

Encoding throws an InvalidOperationException when a field the version lacks holds a value other than its default, or a collection the version lacks is not empty.

Exceptions

ArgumentOutOfRangeException

The version is not 2 through 13