Delete dead personality projection

This commit is contained in:
Meta Vens 2026-06-13 20:59:58 +01:00
commit 128b2abd9f
3 changed files with 3 additions and 30 deletions

View file

@ -608,21 +608,3 @@ public class PerformanceStat
}
}
[Inspectable]
public class PersonalityAttribute : RuntimeProjectionEntry, INamedEntry
{
[Inspectable, RuntimeProjectionKey(1)]
public string Name;
[Inspectable, RuntimeProjectionKey(2)]
public string LowName;
[Inspectable, RuntimeProjectionKey(3)]
public string HighName;
public string EntryName
{
get => Name;
set => Name = value;
}
}

View file

@ -159,18 +159,6 @@ public class PropertiesPanel : MonoBehaviour
return list;
}
public AttributeProperty AddPersonalityProperty(PersonalityAttribute attribute, Func<float> read)
{
var attributeInstance = Instantiate(Attribute, Content ?? transform);
attributeInstance.Title.text = attribute.Name;
attributeInstance.HighLabel.text = attribute.HighName;
attributeInstance.LowLabel.text = attribute.LowName;
RefreshPropertyValues += () => attributeInstance.Slider.value = read();
Properties.Add(attributeInstance.gameObject);
OnPropertyAdded?.Invoke(attributeInstance.gameObject);
return attributeInstance;
}
public CurveField AddCurveField()
{
var curveInstance = Instantiate(CurveField, Content ?? transform);

View file

@ -288,6 +288,9 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
`AetheriaRuntimeItemCatalog` no longer depends on MessagePack attributes. The
temporary bridge uses `RuntimeProjectionKeyAttribute` while typed item instances
and behavior factories are being built.
- The dead `PersonalityAttribute` projection DTO and its unused property-panel
hook have been deleted; no typed catalog import or runtime caller owned that
shape.
- `Aetheria.Shared.Unity` no longer references the vendored `MessagePack`
assembly. The embedded `GameCult.Aetheria.State.Unity` package still depends
on MessagePackReader to open CultCache `.cc` records; that dependency belongs