Class ModularPiecesSection
- Namespace
- LlamaLogic.Architecture
- Assembly
- LlamaLogic.Architecture.dll
Represents the ModularPieces section: the modular pieces placed on the lot (🔓)
public sealed class ModularPiecesSection : LotArchitectureSection
- Inheritance
-
ModularPiecesSection
- Inherited Members
Remarks
The layout follows the game's reader. Versions 4 through 6 are supported, those in the lots examined, and the game writes version 6. FirstWallPatternKey and SecondWallPatternKey exist from version 5, Unknown3 from version 6.
Constructors
ModularPiecesSection()
Initializes a new instance of the ModularPiecesSection class
public ModularPiecesSection()
Properties
Pieces
Gets the modular pieces
public Collection<ModularPiece> Pieces { get; }
Property Value
Version
Gets/sets the version of the section, which decides its layout
public uint Version { get; set; }
Property Value
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 4 through 6