Table of Contents

Class FloorFeaturesSection

Namespace
LlamaLogic.Architecture
Assembly
LlamaLogic.Architecture.dll

Represents the FloorFeatures section: the floor feature layers (🔓)

public sealed class FloorFeaturesSection : LotArchitectureSection
Inheritance
FloorFeaturesSection
Inherited Members

Remarks

The game's floor feature manager reads and writes the section and exposes it to Python as get_floor_feature, set_floor_feature, has_floor_feature, list_floor_features and scan_floor_features. Each layer is stored as its type, the byte length of its payload and the payload; the game skips the payload of a layer type above 2, which this library does not support: a section holding one is kept undecoded.

Versions 0 and 1 are supported, as the game's reader accepts, and the game writes version 1, the only one in the lots examined. The section needs the lot's dimensions.

Constructors

FloorFeaturesSection()

Initializes a new instance of the FloorFeaturesSection class

public FloorFeaturesSection()

Properties

Layers

Gets the layers

public Collection<FloorFeatureLayer> Layers { get; }

Property Value

Collection<FloorFeatureLayer>

Remarks

The lots examined hold layer type 0 alone, types 0 and 1, or types 0, 1 and 2, in that order.

Version

Gets/sets the version of the section

public uint Version { get; set; }

Property Value

uint

Exceptions

ArgumentOutOfRangeException

The version is not 0 or 1