Table of Contents

Class FloorKeyEntry

Namespace
LlamaLogic.Architecture
Assembly
LlamaLogic.Architecture.dll

Represents an entry of the FloorKeysSection: a floor pattern key and the id the floor id grids use for it

public sealed class FloorKeyEntry
Inheritance
FloorKeyEntry
Inherited Members

Properties

Id

Gets/sets the id the FloorIdGridSection grids store for Key

public uint Id { get; set; }

Property Value

uint

Remarks

Ids are unique within the section and never 0; the game allocates the smallest unused id of 1 or more.

Key

Gets/sets the key, a CTProductFloorPattern (0xB4F762C9)

public ResourceKey Key { get; set; }

Property Value

ResourceKey

Remarks

It is the null key in 4 of the entries examined.

ReferenceCount

Gets/sets the number of references to the entry, counted in tile quarters

public uint ReferenceCount { get; set; }

Property Value

uint

Remarks

The game decrements it as quarters stop using the id and frees the entry at 0; it is never 0 in the lots examined. It equals the number of quarters holding Id across the seven FloorIdGridSection grids in 18,597 of the 18,773 entries examined in lots whose grids can be read, and is larger in the rest, which suggests other sections also hold references. This library does not recompute it.