Table of Contents

Class WallBlockSegment

Namespace
LlamaLogic.Architecture
Assembly
LlamaLogic.Architecture.dll

Represents a segment of a WallBlockLoop: the run from one point of the loop to the next, with the catalog products along it

public sealed class WallBlockSegment
Inheritance
WallBlockSegment
Inherited Members

Remarks

The products are ids into the block's Products table (0 for none); every nonzero id in the lots examined is an id of that table. The game reads them as nine slots; which slots a block version stores is described with Version, and the game fills the slots an older version does not store from the block's LegacyKeys. The slot names follow the catalog types the slots refer to in every lot examined (names from the game's CTProduct table).

Layout: the loop stores X and Z of all its segments first, then, per segment, Kind, Unknown1 (versions before 23), the stored slots in slot order, then FenceStamp and CeilingRailStamp (versions after 25).

Properties

CeilingRailProductId

Gets/sets the id of the ceiling rail (CTProductCeilingRail 0x3F0C529A), slot 3

public uint CeilingRailProductId { get; set; }

Property Value

uint

Remarks

This is the product other tools call a spandrel.

CeilingRailStamp

Gets/sets the value the game keeps with the ceiling rail slot

public uint CeilingRailStamp { get; set; }

Property Value

uint

Remarks

The game returns it with slot 3. Adding a foundation set it, together with FenceStamp, to the value StampCounter was raised to (in-game test); what the game uses it for is unknown. It equals FenceStamp in 66% of the segments of the WallBlocksSection blocks examined and in 81% of those of the PlexesSection blocks. Stored from version 26 on; older versions store one value for the whole block, LegacyStamp.

FenceProductId

Gets/sets the id of the fence (Fence 0x0418FE2A) or half wall (CTProductWall 0x9151E6BC), slot 2

public uint FenceProductId { get; set; }

Property Value

uint

Remarks

The game emits CantPlacePoolUnderFence when a pool would go under a segment with this slot set.

FenceStamp

Gets/sets the value the game keeps with the fence slot

public uint FenceStamp { get; set; }

Property Value

uint

Remarks

The game returns it with slot 2. Adding a foundation set it, together with CeilingRailStamp, to the value StampCounter was raised to (in-game test); what the game uses it for is unknown. Stored from version 26 on; older versions store one value for the whole block, LegacyStamp.

FloorTrimProductId

Gets/sets the id of the floor trim (0x84C23219), slot 6

public uint FloorTrimProductId { get; set; }

Property Value

uint

Remarks

Never 0 in the lots examined.

FoundationProductId

Gets/sets the id of the foundation (0x2FAE983E), slot 4

public uint FoundationProductId { get; set; }

Property Value

uint

Remarks

The game requires the same foundation on all segments of a block, otherwise InconsistentFoundationTypes. Never 0 in the lots examined.

FriezeProductId

Gets/sets the id of the frieze (0xA057811C), slot 5

public uint FriezeProductId { get; set; }

Property Value

uint

Remarks

Putting a frieze on one wall in game set this slot of that wall's segment to the chosen frieze and cleared the default frieze (0x1F1E) from the room's other segments; painting one tile of that wall afterwards left the chosen frieze in place (in-game tests).

Kind

Gets/sets the kind of the segment

public WallBlockSegmentKind Kind { get; set; }

Property Value

WallBlockSegmentKind

Remarks

Stored as read; see WallBlockSegmentKind for how the game maps the values of versions before 27.

PlatformTrimProductId

Gets/sets the id of the platform trim (CTProductPlatformTrim 0x99C07284), slot 8

public uint PlatformTrimProductId { get; set; }

Property Value

uint

Remarks

Changing a platform's edge trim in game changed only this slot (in-game test). When it reads a pool block of version 30 or 31, the game copies this slot into TrimProductId. 0 in every version 31 block examined.

SideAWallPatternId

Gets/sets the id of the wall pattern (CTProductWallPattern 0xD5F0F921) of one side, slot 0

public uint SideAWallPatternId { get; set; }

Property Value

uint

Remarks

Painting one wall tile split its segment out and gave this slot a new wall pattern in one in-game test, and SideBWallPatternId in another: which of the two slots changes depends on the face painted.

SideBWallPatternId

Gets/sets the id of the wall pattern (CTProductWallPattern 0xD5F0F921) of the other side, slot 1

public uint SideBWallPatternId { get; set; }

Property Value

uint

Remarks

Painting one wall tile split its segment out and gave this slot a new wall pattern in one in-game test, and SideAWallPatternId in another: which of the two slots changes depends on the face painted. That this is the side opposite SideAWallPatternId is a hypothesis from the slot's catalog type.

TrimProductId

Gets/sets the id of the trim, slot 7: a half wall trim (CTProductHalfWallTrim 0xFE33068E), pool trim (0xA5DFFCF3) or fountain trim (0xE7ADA79D)

public uint TrimProductId { get; set; }

Property Value

uint

Remarks

In the lots examined fountain trims appear only in Fountain blocks, half wall trims only in Standard and Pool blocks, and pool trims mostly in Pool blocks (2,267 of 2,785 segments) and otherwise in Standard and Fountain blocks.

Unknown1

Gets/sets a byte versions before 23 store after Kind

public byte Unknown1 { get; set; }

Property Value

byte

Remarks

The game reads it and discards it.

X

Gets/sets the coordinate of the segment's start point along the lot's X axis

public byte X { get; set; }

Property Value

byte

Z

Gets/sets the coordinate of the segment's start point along the lot's Z axis

public byte Z { get; set; }

Property Value

byte