ModernUO/Projects/UOContent/Items/Containers
Kamron Batman d919f71149
fix: Fixes map iterators for Items (#1564)
### Summary

Modifying a ValueLinkList using one of the methods will bump the "version". This field is used by iterators (foreach loops) to determine if the link list was modified while iterating. The sector.Items (and in the future other lists), will no longer be safe to modify while iterating. The server will _CRASH_ if the ValueLinkList is modified.

Thanks to @stefanomerotta for help!


### Screenshots
<img width="588" alt="image" src="https://github.com/modernuo/ModernUO/assets/3953314/83ee0b6e-ff4f-4768-9e29-84456e04b1ec">
2023-10-26 17:49:15 -07:00
..
Fillable Containers feat: Updates to Serialization Generator v2.2 (#1157) 2022-09-04 08:45:27 -07:00
BaseTreasureChest.cs feat: Adds SerializedCommandProperty (#1249) 2022-11-14 18:24:33 -08:00
Container.cs fix: Fixes crafter deserialize, cleans up bandages, and codegens misc items (#1350) 2023-02-25 00:54:12 -08:00
FurnitureContainer.cs fix: Updates serialization to use v2.0 (#998) 2022-04-17 08:02:15 -07:00
LockableContainer.cs feat: Adds SerializedCommandProperty (#1249) 2022-11-14 18:24:33 -08:00
MarkContainer.cs fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
ParagonChest.cs fix: Optimizes OPL using string interpolation (#1041) 2022-06-02 10:09:53 -07:00
SalvageBag.cs fix: Cleans up FindItems and removes allocations (#1516) 2023-09-28 22:20:36 -07:00
Strongbox.cs fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283) 2022-11-28 19:58:12 -08:00
TrappableContainer.cs feat: Adds SerializedCommandProperty (#1249) 2022-11-14 18:24:33 -08:00
TrappableContainer.ExecuteTrap.cs fix: Fixes crafter deserialize, cleans up bandages, and codegens misc items (#1350) 2023-02-25 00:54:12 -08:00
TreasureChest.cs fix: Updates serialization to use v2.0 (#998) 2022-04-17 08:02:15 -07:00
TreasureMapChest.cs feat: Adds SerializedCommandProperty (#1249) 2022-11-14 18:24:33 -08:00