Class FloorKeysSection
- Namespace
- LlamaLogic.Architecture
- Assembly
- LlamaLogic.Architecture.dll
Represents the FloorKeys section: the floor pattern keys the floor id grids refer to by id (🔓)
public sealed class FloorKeysSection : LotArchitectureSection
- Inheritance
-
FloorKeysSection
- Inherited Members
Remarks
Every nonzero id in a FloorIdGridSection is the Id of one of Entries. The game returns DefaultKey for id 0 or an id with no entry, allocates a new entry the smallest unused id of 1 or more, and frees an entry when its ReferenceCount drops to 0.
The layout follows the game's reader and writer. The section has no version.
Constructors
FloorKeysSection()
Initializes a new instance of the FloorKeysSection class
public FloorKeysSection()
Properties
DefaultKey
Gets/sets the key the game returns for id 0 and for ids with no entry
public ResourceKey DefaultKey { get; set; }
Property Value
Remarks
It is the null key in every lot examined.
Entries
Gets the entries
public Collection<FloorKeyEntry> Entries { get; }