Table of Contents

Struct RoofPoint

Namespace
LlamaLogic.Architecture
Assembly
LlamaLogic.Architecture.dll

Represents a lot-local tile position of a Roof's footprint

public readonly record struct RoofPoint : IEquatable<RoofPoint>
Implements
Inherited Members

Remarks

From version 10 of RoofsSection on, each point is stored as a 32-bit value: X in the low byte, then Z, then Level, then Reserved in the high byte. Before version 10, a point is stored as its three low bytes.

Properties

Level

Gets/sets the signed lot level

public sbyte Level { get; init; }

Property Value

sbyte

Reserved

Gets/sets the high byte of the stored value

public byte Reserved { get; init; }

Property Value

byte

Remarks

The game's reader discards it and its writer writes 0; it is 0 in every lot examined.

X

Gets/sets the tile position along the lot's local X axis

public byte X { get; init; }

Property Value

byte

Z

Gets/sets the tile position along the lot's local Z axis

public byte Z { get; init; }

Property Value

byte