Class LegacyWallGraphSection
- Namespace
- LlamaLogic.Architecture
- Assembly
- LlamaLogic.Architecture.dll
Represents the LegacyWallGraph section: a graph of wall edges with their wall patterns and products, found only in older world files (🔓)
public sealed class LegacyWallGraphSection : LotArchitectureSection
- Inheritance
-
LegacyWallGraphSection
- Inherited Members
Remarks
No code in the game's simulation library reads or writes this section (other parts of the game were not examined), so the layout comes from the lots examined and every meaning is a hypothesis. The lots examined hold 21 of these sections, all in world files; 17 are empty. The two tables have the shape of the game's ProductTable, and in each of the four non-empty sections examined every id is referenced and every ReferenceCount equals the number of references in the section.
Version 1 is the only one supported, and the only one in the lots examined.
Layout: the version (uint), the Products table, the WallPatterns table, then three lists, each an int count and its entries: Edges, ProductEdges1 and ProductEdges2.
Constructors
LegacyWallGraphSection()
Initializes a new instance of the LegacyWallGraphSection class
public LegacyWallGraphSection()
Properties
Edges
Gets the edges with wall parts
public Collection<LegacyWallGraphEdge> Edges { get; }
Property Value
ProductEdges1
Gets the first list of edges with a product
public Collection<LegacyWallGraphProductEdge> ProductEdges1 { get; }
Property Value
Remarks
Their products are ceiling rails (CTProductCeilingRail 0x3F0C529A) in every lot examined.
ProductEdges2
Gets the second list of edges with a product
public Collection<LegacyWallGraphProductEdge> ProductEdges2 { get; }
Property Value
Remarks
Their products are fences (0x0418FE2A) in every lot examined.
Products
Gets the table of the products the edges refer to
public ProductTable Products { get; }
Property Value
Remarks
In the lots examined it holds fence (0x0418FE2A), CTProductWall (0x9151E6BC) and ceiling rail (CTProductCeilingRail 0x3F0C529A) keys, and its DefaultKey is the null key.
WallPatterns
Gets the table of the wall patterns the edge parts refer to
public ProductTable WallPatterns { get; }
Property Value
Remarks
In the lots examined it holds only CTProductWallPattern (0xD5F0F921) keys, and its DefaultKey is the null key.