NHSE/NHSE.Villagers/VillagerData.cs
Kurt b88c518d5c
Update FieldItemEditor for 3.0.0 (#716)
Updates the Field Item Editor to render layers based on the entire map, and the per-patch positioning of each layer.
Import/export will gracefully handle upgrade/downgrade, and viewport import/export will gracefully update tiles rather than a per-acre basis.

Performance has also been slightly improved; no allocation is done anymore when updating the image.
2026-01-25 16:55:38 -06:00

8 lines
233 B
C#

using System;
namespace NHSE.Villagers;
/// <summary>
/// Tuple-like record struct to hold villager and house memory segments.
/// </summary>
public readonly record struct VillagerData(Memory<byte> Villager, Memory<byte> House);