Demote faction from runtime projection

This commit is contained in:
Meta Vens 2026-06-13 21:52:45 +01:00
commit d0cefe8d63
4 changed files with 34 additions and 15 deletions

Binary file not shown.

View file

@ -69,10 +69,10 @@ and inspection metadata for the typed runtime bridge.
Item instances now carry `RuntimeItemReference`, a narrow item-id/value holder.
The old generic `RuntimeCatalogLink<T>` abstraction has been deleted; item data
projection is routed through `ItemManager` and the typed runtime catalog reader.
Surviving item/faction catalog Unity DTOs inherit `RuntimeProjectionEntry`; the
old `RuntimeCatalogEntry` base name no longer appears in live source. Zone
body/orbit DTOs keep local GUID fields but no longer inherit the shared
projection identity base.
Surviving item catalog Unity DTOs inherit `RuntimeProjectionEntry`; the old
`RuntimeCatalogEntry` base name no longer appears in live source. Temporary
faction/corporation projections and zone body/orbit DTOs keep local GUID fields
but no longer inherit the shared projection identity base.
The dead `InspectableRuntimeCatalogLinkAttribute` inspector metadata is gone;
typed runtime projection still uses `LegacyPayloadKeyAttribute` only where the
temporary mapper needs a deterministic field order.
@ -134,8 +134,9 @@ boundary once CultLib/Eve runtime packaging is available.
and name generation, so generated sectors use typed corporation v2 and
`aetheria.name_file.v2` records instead of legacy `Faction`/`NameFile`
catalog documents. It still projects typed corporations into temporary
`Faction` DTOs, including allegiance dictionaries, because the surrounding
simulation has not yet been rebuilt around typed corporation records.
`Faction` DTOs, including allegiance dictionaries and local GUID equality,
because the surrounding simulation has not yet been rebuilt around typed
corporation records.
`Aetheria.State.Smoke` writes and reopens full typed player settings plus a
typed loadout template in addition to world, catalog, run state, zone state, and

View file

@ -8,8 +8,10 @@ using System.Collections.Generic;
using Unity.Mathematics;
[Inspectable]
public class Faction : RuntimeProjectionEntry, INamedEntry
public class Faction : INamedEntry
{
public Guid ID = Guid.NewGuid();
[Inspectable]
public string Name;
@ -53,4 +55,14 @@ public class Faction : RuntimeProjectionEntry, INamedEntry
get => Name;
set => Name = value;
}
public override int GetHashCode()
{
return ID.GetHashCode();
}
public override bool Equals(object obj)
{
return obj is Faction faction && faction.ID == ID;
}
}

View file

@ -46,8 +46,8 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
the provider-owned Eve command bridge on startup and on a daemon polling loop
while hosting the CultMesh state node. `Aetheria.State.ApplyPending` remains a
bounded local operator applicator for both pending lanes.
- Shared domain state is still partly built around `RuntimeProjectionEntry`, GUID
identity, runtime catalog metadata, and static projection references. Dead
- Shared item domain state is still partly built around `RuntimeProjectionEntry`,
GUID identity, runtime catalog metadata, and static projection references. Dead
user-record and galaxy-map-layer catalog roots have been deleted, and
surviving runtime DTOs no longer carry legacy catalog group/table annotations. Newtonsoft,
JsonKnownTypes, RethinkDB, LiteNetLib client transport, and the broken
@ -73,7 +73,10 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
preferences, input binding overrides, and action-bar inputs. Unity's menu and
input screens mutate `RuntimePlayerSettings` in memory and queue typed Verse
commits through the shared player-settings commit primitive; the in-memory
projection is not portable state authority.
projection is not portable state authority. Aetheria has its own remapping UI
that calls Unity's InputSystem at the binding/action layer; Unity's generated
`AetheriaInput` class is the edge consumer of typed binding overrides, not
the durable owner.
- `Aetheria.State` now exposes typed node put/get ports for run state, zone
state, and entity snapshots. The state smoke writes a run referencing a zone,
a zone referencing an entity snapshot, and an entity snapshot carrying
@ -308,6 +311,9 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
- `BodyData` and `OrbitData` have also been cut loose from
`RuntimeProjectionEntry`; they keep local GUID fields for zone runtime lookup,
but no longer inherit shared projection equality.
- `Faction` has been cut loose from `RuntimeProjectionEntry`; it keeps local
GUID equality for galaxy dictionaries while typed corporation records remain
the durable catalog owner.
- `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
@ -367,9 +373,9 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
contract for full .NET smokes and Eve surface reads. Neither writes state or
owns simulation. The runtime no longer has a MessagePack catalog cache.
`AetheriaRuntimeItemCatalog` materializes temporary `ItemData` DTOs from typed
item records for the old simulation object model. `RuntimeProjectionEntry` is a
projection identity helper, not a persistence base, and behavior type
selection now uses an explicit runtime catalog map instead of
item records for the old simulation object model. `RuntimeProjectionEntry` is
an item projection identity helper, not a persistence base or corporation
owner, and behavior type selection now uses an explicit runtime catalog map instead of
`UnionAttribute` reflection.
Item/behavior DTO field layout for the temporary projection bridge is now
marked with project-owned `LegacyPayloadKeyAttribute`, not MessagePack
@ -731,8 +737,8 @@ First Aetheria surfaces to publish:
`Assets/Scripts` now finds only `ItemManager` checking its own hydrated value.
- Live Unity source has no `RuntimeCatalogLink<T>` or `RuntimeCatalogLinkBase`;
item instances use `RuntimeItemReference` and expose `Data.ItemId`.
- Live Unity source has no `RuntimeCatalogEntry`; surviving DTOs inherit
`RuntimeProjectionEntry`.
- Live Unity source has no `RuntimeCatalogEntry`; only surviving item DTOs
inherit `RuntimeProjectionEntry`.
- Live Unity source has no `InspectableRuntimeCatalogLinkAttribute`;
`LegacyPayloadKeyAttribute` remains only as the temporary mapper key.
- Unity batchmode compile also returned cleanly after disabling `MessagePack`