Table of Contents

Enum WallBlockSegmentKind

Namespace
LlamaLogic.Architecture
Assembly
LlamaLogic.Architecture.dll

Specifies the kind of a WallBlockSegment

[SuppressMessage("Design", "CA1028: Enum Storage should be Int32", Justification = "The game stores the value as a byte.")]
public enum WallBlockSegmentKind : byte

Fields

ModularPiece = 2

A segment of a modular piece without a wall

ModularPieceWithWall = 3

A segment of a modular piece with a wall

Open = 1

A segment without a wall

Wall = 0

A segment with a wall

Remarks

The game treats a block as enclosed when none of the segments of its outer loop is Open or ModularPiece, emits CantPlacePoolUnderWall for a Wall segment, and requires ModularPiece or ModularPieceWithWall on a diagonal segment flanked by 45° segments of the same kind, otherwise InvalidBlockModularPieceConfiguration. That such segments form rounded corners is a hypothesis. Before block version 27 the game maps the stored values 0 through 3 to 0, 1, 2 and 1 with a table.