Class PondsSection
- Namespace
- LlamaLogic.Architecture
- Assembly
- LlamaLogic.Architecture.dll
Represents the Ponds section: the lot's ponds and the tile quarters each one covers (🔓)
public sealed class PondsSection : LotArchitectureSection
- Inheritance
-
PondsSection
- Inherited Members
Remarks
Versions 0 through 3 are supported, as the game's reader accepts, and the game writes version 3, the only one in the lots examined. Versions 0 and 1 hold no ponds; Unknown1 and Unknown2 exist from version 3.
Constructors
PondsSection()
Initializes a new instance of the PondsSection class
public PondsSection()
Properties
Ponds
Gets the ponds
public Collection<Pond> Ponds { get; }
Property Value
Remarks
The section holds ponds from version 2; in versions 0 and 1 this collection must be empty.
Version
Gets/sets the version of the section, which decides its layout
public uint Version { get; set; }
Property Value
Remarks
Encoding throws an InvalidOperationException when a field the version lacks holds a value other than its default, or a collection the version lacks is not empty.
Exceptions
- ArgumentOutOfRangeException
The version is not 0 through 3