76 lines
3.1 KiB
C#
76 lines
3.1 KiB
C#
using Aetheria.State.Documents;
|
|
using GameCult.Caching;
|
|
using GameCult.Aetheria.State.Verse;
|
|
using GameCult.Eve.Surface;
|
|
using GameCult.Mesh;
|
|
using GameCult.Networking;
|
|
|
|
namespace Aetheria.State;
|
|
|
|
public static class AetheriaDocumentRegistry
|
|
{
|
|
public static CultDocumentRegistry CreateCultCacheRegistry()
|
|
{
|
|
return CultMesh.CreateCultCacheDocumentRegistry(DocumentTypes);
|
|
}
|
|
|
|
public static CultNetDocumentRegistry CreateCultNetRegistry(CultDocumentRegistry? cacheRegistry = null)
|
|
{
|
|
var registry = cacheRegistry ?? CreateCultCacheRegistry();
|
|
return CultMesh.CreateCultNetDocumentRegistry(DocumentTypes, registry);
|
|
}
|
|
|
|
public static IReadOnlyList<Type> DocumentTypes { get; } =
|
|
[
|
|
typeof(AetheriaWorldState),
|
|
typeof(AetheriaItemDefinition),
|
|
typeof(AetheriaCorporation),
|
|
typeof(AetheriaNameFile),
|
|
typeof(AetheriaPlayerProfile),
|
|
typeof(AetheriaRuntimeSession),
|
|
typeof(AetheriaMigrationLedger),
|
|
typeof(AetheriaLegacyCatalogQuarantine),
|
|
typeof(AetheriaTradeValuePolicy),
|
|
typeof(AetheriaPlayerSettings),
|
|
typeof(AetheriaLoadoutTemplate),
|
|
typeof(AetheriaRunState),
|
|
typeof(AetheriaZoneState),
|
|
typeof(AetheriaEntitySnapshot),
|
|
typeof(AetheriaVerseHostSettings),
|
|
typeof(AetheriaMainMenuState),
|
|
typeof(AetheriaEveCommandAcceptanceStatus),
|
|
typeof(AetheriaRuntimeDaemonProviderAdvertisementDocument),
|
|
typeof(AetheriaRuntimeDaemonHealthDocument),
|
|
typeof(AetheriaRuntimeDaemonCommandBoundaryDocument),
|
|
typeof(AetheriaRuntimeDaemonFrameDocument),
|
|
typeof(AetheriaRuntimeGameViewportDocument),
|
|
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),
|
|
typeof(AetheriaRuntimeDaemonSoaViewDocument),
|
|
typeof(AetheriaRuntimeVerseAuthorityPolicyDocument),
|
|
typeof(AetheriaRuntimeAuthorityLeaseDocument),
|
|
typeof(AetheriaRuntimeDaemonCommandDocument),
|
|
typeof(AetheriaRuntimeCommittedCommandFactDocument),
|
|
typeof(AetheriaRuntimeEveCommandDocument),
|
|
typeof(AetheriaRuntimeSurfaceDocument),
|
|
typeof(EveProviderAdvertisementDocument),
|
|
typeof(EveSurfaceDocument),
|
|
typeof(EveSurfaceCommandRequest),
|
|
typeof(EveCommandReceiptDocument),
|
|
typeof(EveAssetCatalogDocument),
|
|
typeof(EveProviderAdvertisementState)
|
|
];
|
|
}
|