NHSE/NHSE.Core/Structures/Villager
Kurt db54e5ae1c Fix identity swap when using span slices
Closes #684

Defensively allocate a copy so that the replacement does not overwrite the original sequence A=>B then continue doing B=>B swaps.
Wasn't a problem before since properties fetched byte[] (allocated separate slice); changing to span introduced this regression -- now fixed.
2026-01-17 16:14:09 -06:00
..
GSaveMemory.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
IHouseInfo.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
IPlayerHouse.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
IPlayerRoom.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
IVillager.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
IVillagerHouse.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
IVillagerOrigin.cs Fix identity swap when using span slices 2026-01-17 16:14:09 -06:00
PlayerHouse1.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
PlayerHouse2.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
PlayerHouseConverter.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
PlayerRoom1.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
PlayerRoom2.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
PlayerRoomConverter.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
Villager1.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
Villager2.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
VillagerConverter.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
VillagerHouse1.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
VillagerHouse2.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
VillagerHouseConverter.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
VillagerHouseItem.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
VillagerPersonality.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
VillagerUtil.cs Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00