ModernUO/Projects/UOContent/Items/Talismans
Kamron Batman 4849c80750
refactor: fold hand-written serializable property setters into field hooks
Converts 113 [SerializableProperty] members whose setters only coerce the
value, reject it, or run post-change side effects into plain
[SerializableField] declarations using allowFieldChange and fieldChanged.
Wire- and schema-neutral: the migration schema regeneration produces zero
changes.

Kept as hand-written properties: custom getters (fallback defaults, lazy or
self-healing reads), virtual/override members, pre-assignment state capture
(durability unscale/scale sandwiches), and setters with exotic semantics
(work on equal assignment, early returns that skip persistence).

Behavioral notes: generated setters skip all work when the incoming value
equals the field, and always MarkDirty on change - a handful of converted
setters previously never marked dirty (their changes only persisted if
something else dirtied the entity) or re-ran side effects on equal
assignment.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-22 18:07:47 -07:00
..
Items fix: Optimizes items to use default weights. (Part 1) (#2240) 2025-07-24 14:44:39 -07:00
BaseTalisman.cs refactor: fold hand-written serializable property setters into field hooks 2026-08-22 18:07:47 -07:00
BaseTalisman.Migrations.cs fix: Removes unused SetOldSaveFlag method (#1470) 2023-08-23 22:48:26 -07:00
RandomTalisman.cs fix: Moves containers/bods/traps/etc to serialization generator (#2310) 2026-01-07 21:55:55 -08:00
TalismanAttribute.cs fix: Codegens talismans - Fixes memory leak (#1469) 2023-08-23 22:41:48 -07:00
TalismanSlayer.cs fix: Codegens talismans - Fixes memory leak (#1469) 2023-08-23 22:41:48 -07:00
TalismanSummons.cs fix: Releasing a Talisman summon deletes your character (#1940) 2024-08-23 09:04:14 -07:00