Move behavior identity onto runtime instances

This commit is contained in:
Meta Vens 2026-06-14 17:23:27 +01:00
commit a639569f72
6 changed files with 17 additions and 6 deletions

View file

@ -618,6 +618,9 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
type selection now uses an explicit runtime catalog map instead of
`UnionAttribute` reflection, and the temporary behavior config constructor
map is keyed by typed behavior payload kind rather than legacy union key.
Live `Behavior` instances expose their typed payload kind directly, so runtime
state projection and stat-modifier matching no longer reach back through
`BehaviorData.Kind` for behavior identity.
Runtime item category classification uses package-owned
`AetheriaRuntimeItemCategories` tokens; gameplay code should not ask C#
legacy DTO class names to classify typed catalog rows. The typed state
@ -987,6 +990,9 @@ First Aetheria surfaces to publish:
- Done: move `StatModifier` behavior kind/family matching onto
`AetheriaRuntimeBehaviorMetadataCatalog`; the behavior only normalizes
migrated `*Data` tokens before asking the package-owned metadata owner.
- Done: move live behavior identity reads from the temporary `BehaviorData`
config bridge onto `Behavior.Kind`, so state snapshots, weapon snapshots,
progress rows, and stat-modifier matching use runtime instance identity.
- Done: delete the legacy `Behaviors` lists from `ConsumableItemData` and
`EquippableItemData`; item DTOs can no longer carry behavior config state.
- Done: move runtime blueprint price aggregation and conductivity restore