Table of Contents

Class ProductTableEntry

Namespace
LlamaLogic.Architecture
Assembly
LlamaLogic.Architecture.dll

Represents an entry of a ProductTable: a catalog product key and its id

public sealed class ProductTableEntry
Inheritance
ProductTableEntry
Inherited Members

Remarks

Layout: Key (instance, type, group), Id, ReferenceCount.

Properties

Id

Gets/sets the id by which the rest of the section refers to Key

public uint Id { get; set; }

Property Value

uint

Remarks

Ids are unique within a table and never 0 in the lots examined; they run 1 through the entry count in 38,097 of the 68,278 non-empty tables examined (56%).

Key

Gets/sets the key of the catalog product

public ResourceKey Key { get; set; }

Property Value

ResourceKey

ReferenceCount

Gets/sets the reference count the game keeps for the key

public uint ReferenceCount { get; set; }

Property Value

uint

Remarks

The game adds to it each time the key is added to the table again. It does not always equal the number of references in the section: in 63,616 of the 63,742 non-empty block product tables examined every reference count is 1.