Delete dead runtime catalog link inspector

This commit is contained in:
Meta Vens 2026-06-13 20:27:32 +01:00
commit 57aaec27ea
7 changed files with 12 additions and 21 deletions

View file

@ -65,6 +65,9 @@ The old generic `RuntimeCatalogLink<T>` abstraction has been deleted; item data
projection is routed through `ItemManager` and the typed runtime catalog reader.
Surviving Unity DTOs inherit `RuntimeProjectionEntry`; the old
`RuntimeCatalogEntry` base name no longer appears in live source.
The dead `InspectableRuntimeCatalogLinkAttribute` inspector metadata is gone;
typed runtime projection still uses `RuntimeCatalogKeyAttribute` only where the
temporary mapper needs a deterministic field order.
`Aetheria.State.Import` captures the legacy catalog files into typed quarantine
state: path, size, and SHA-256 fingerprint for `AetherDB.msgpack` plus

View file

@ -7,7 +7,7 @@ using System.Linq;
[Inspectable, Order(-5), RuntimeInspectable]
public class ItemUsageData : BehaviorData
{
[InspectableRuntimeCatalogLink(typeof(SimpleCommodityData)), RuntimeCatalogKey(1), RuntimeInspectable]
[RuntimeCatalogKey(1), RuntimeInspectable]
public Guid Item;
public override Behavior CreateInstance(EquippedItem item)

View file

@ -44,7 +44,7 @@ public abstract class WeaponData : BehaviorData
[InspectablePrefab, RuntimeCatalogKey(11), RuntimeInspectable]
public PerformanceStat Visibility = new PerformanceStat();
[InspectableRuntimeCatalogLink(typeof(SimpleCommodityData)), RuntimeCatalogKey(12), RuntimeInspectable]
[RuntimeCatalogKey(12), RuntimeInspectable]
public Guid AmmoType;
[InspectablePrefab, RuntimeCatalogKey(13)]

View file

@ -21,8 +21,6 @@ public class Faction : RuntimeProjectionEntry, INamedEntry
[InspectableTexture]
public string Logo;
[InspectableRuntimeCatalogLink(typeof(PersonalityAttribute))]
public Dictionary<Guid, float> Personality = new Dictionary<Guid, float>();
// [Inspectable]
@ -33,17 +31,13 @@ public class Faction : RuntimeProjectionEntry, INamedEntry
[InspectableColor]
public float3 SecondaryColor;
[InspectableRuntimeCatalogLink(typeof(NameFile))]
public Guid GeonameFile;
[InspectableRuntimeCatalogLink(typeof(HullData))]
public Guid BossHull;
[Inspectable]
public int InfluenceDistance = 4;
[InspectableRuntimeCatalogLink(typeof(Faction)), RangedFloat(0, 1)]
[RangedFloat(0, 1)]
public Dictionary<Guid, float> Allegiance = new Dictionary<Guid, float>();
[InspectableSoundBank]

View file

@ -268,7 +268,7 @@ public abstract class ItemData : RuntimeProjectionEntry, INamedEntry
[InspectableText, RuntimeCatalogKey(2)]
public string Description;
[InspectableRuntimeCatalogLink(typeof(Faction)), RuntimeCatalogKey(3)]
[RuntimeCatalogKey(3)]
public Guid Manufacturer;
[Inspectable, RuntimeCatalogKey(4)]
@ -326,7 +326,7 @@ public abstract class CraftedItemData : ItemData
[Inspectable]
public class CompoundCommodityData : CraftedItemData
{
[InspectableRuntimeCatalogLink(typeof(PersonalityAttribute)), RuntimeCatalogKey(10)]
[RuntimeCatalogKey(10)]
public Dictionary<Guid, float> DemandProfile = new Dictionary<Guid, float>();
[Inspectable, RuntimeCatalogKey(11)]

View file

@ -33,16 +33,6 @@ public class InspectableEnumValuesAttribute : PreferredInspectorAttribute
}
}
public class InspectableRuntimeCatalogLinkAttribute : PreferredInspectorAttribute
{
public readonly Type EntryType;
public InspectableRuntimeCatalogLinkAttribute(Type entryType)
{
EntryType = entryType;
}
}
public class InspectableRangedFloatAttribute : PreferredInspectorAttribute
{
public readonly float Min, Max;

View file

@ -546,6 +546,8 @@ First Aetheria surfaces to publish:
`ServerShared/RuntimeProjection`.
- Done: rename the surviving runtime DTO identity base from
`RuntimeCatalogEntry` to `RuntimeProjectionEntry`.
- Done: delete unused `InspectableRuntimeCatalogLinkAttribute` metadata from
runtime DTOs; link inspection no longer masquerades as catalog authority.
- Done: replace behavior union reflection with an explicit runtime catalog
behavior map and remove all live `Union(...)` annotations.
- Done: demote agent task runtime shapes from MessagePack object/key/union
@ -709,6 +711,8 @@ First Aetheria surfaces to publish:
item instances use `RuntimeItemReference` and expose `Data.ItemId`.
- Live Unity source has no `RuntimeCatalogEntry`; surviving DTOs inherit
`RuntimeProjectionEntry`.
- Live Unity source has no `InspectableRuntimeCatalogLinkAttribute`;
`RuntimeCatalogKeyAttribute` remains only as the temporary mapper key.
- Unity batchmode compile also returned cleanly after disabling `MessagePack`
auto-reference; `Assets/Scripts` and `Assets/Editor` have no `using
MessagePack`, `MessagePackSerializer`, `[MessagePackObject]`, or