Aetheria/Aetheria.State/AetheriaDocumentRegistry.cs

76 lines
3.1 KiB
C#
Raw Normal View History

2026-06-13 00:31:22 +01:00
using Aetheria.State.Documents;
using GameCult.Caching;
2026-06-21 09:54:15 +01:00
using GameCult.Aetheria.State.Verse;
2026-07-01 15:26:48 +01:00
using GameCult.Eve.Surface;
using GameCult.Mesh;
2026-06-13 00:31:22 +01:00
using GameCult.Networking;
namespace Aetheria.State;
public static class AetheriaDocumentRegistry
{
public static CultDocumentRegistry CreateCultCacheRegistry()
{
return CultMesh.CreateCultCacheDocumentRegistry(DocumentTypes);
2026-06-13 00:31:22 +01:00
}
public static CultNetDocumentRegistry CreateCultNetRegistry(CultDocumentRegistry? cacheRegistry = null)
{
var registry = cacheRegistry ?? CreateCultCacheRegistry();
return CultMesh.CreateCultNetDocumentRegistry(DocumentTypes, registry);
2026-06-13 00:31:22 +01:00
}
public static IReadOnlyList<Type> DocumentTypes { get; } =
[
typeof(AetheriaWorldState),
typeof(AetheriaItemDefinition),
typeof(AetheriaCorporation),
2026-06-13 06:15:55 +01:00
typeof(AetheriaNameFile),
2026-06-13 00:31:22 +01:00
typeof(AetheriaPlayerProfile),
typeof(AetheriaRuntimeSession),
2026-06-13 04:00:10 +01:00
typeof(AetheriaMigrationLedger),
2026-06-13 05:53:18 +01:00
typeof(AetheriaLegacyCatalogQuarantine),
2026-06-25 18:09:33 +01:00
typeof(AetheriaTradeValuePolicy),
2026-06-13 04:00:10 +01:00
typeof(AetheriaPlayerSettings),
2026-06-13 10:14:38 +01:00
typeof(AetheriaLoadoutTemplate),
2026-06-13 06:27:59 +01:00
typeof(AetheriaRunState),
typeof(AetheriaZoneState),
2026-06-13 08:37:10 +01:00
typeof(AetheriaEntitySnapshot),
typeof(AetheriaVerseHostSettings),
typeof(AetheriaMainMenuState),
2026-06-21 09:37:54 +01:00
typeof(AetheriaEveCommandAcceptanceStatus),
typeof(AetheriaRuntimeDaemonProviderAdvertisementDocument),
typeof(AetheriaRuntimeDaemonHealthDocument),
typeof(AetheriaRuntimeDaemonCommandBoundaryDocument),
typeof(AetheriaRuntimeDaemonFrameDocument),
typeof(AetheriaRuntimeGameViewportDocument),
2026-06-25 18:09:33 +01:00
typeof(AetheriaRuntimeObjectsViewportDocument),
typeof(AetheriaRuntimeGravityViewportDocument),
typeof(AetheriaRuntimeCurrentZoneDocument),
typeof(AetheriaRuntimeCurrentEntityDocument),
typeof(AetheriaRuntimeCurrentDockingDocument),
typeof(AetheriaRuntimeZoneContactsDocument),
typeof(AetheriaRuntimeStationRefitDocument),
typeof(AetheriaRuntimeSectorMapDocument),
typeof(AetheriaRuntimeZoneDetailsDocument),
typeof(AetheriaRuntimeZoneRenderDocument),
typeof(AetheriaRuntimeSelectedObjectDocument),
typeof(AetheriaRuntimeInventoryDocument),
typeof(AetheriaRuntimeStarbridgeScenarioDocument),
typeof(AetheriaRuntimeStarbridgeSessionDocument),
typeof(AetheriaRuntimeStarbridgeSessionSummaryDocument),
2026-06-21 09:37:54 +01:00
typeof(AetheriaRuntimeDaemonSoaViewDocument),
2026-06-25 18:09:33 +01:00
typeof(AetheriaRuntimeVerseAuthorityPolicyDocument),
typeof(AetheriaRuntimeAuthorityLeaseDocument),
2026-06-21 09:37:54 +01:00
typeof(AetheriaRuntimeDaemonCommandDocument),
2026-06-25 18:09:33 +01:00
typeof(AetheriaRuntimeCommittedCommandFactDocument),
2026-06-21 09:37:54 +01:00
typeof(AetheriaRuntimeEveCommandDocument),
2026-06-30 19:14:49 +01:00
typeof(AetheriaRuntimeSurfaceDocument),
2026-07-10 04:39:16 +01:00
typeof(EveProviderAdvertisementDocument),
2026-07-01 12:54:12 +01:00
typeof(EveSurfaceDocument),
2026-07-10 04:39:16 +01:00
typeof(EveSurfaceCommandRequest),
typeof(EveCommandReceiptDocument),
typeof(EveAssetCatalogDocument),
typeof(EveProviderAdvertisementState)
2026-06-13 00:31:22 +01:00
];
}