Publish Aetheria asset manifest for Unity transport
This commit is contained in:
parent
5d388948e8
commit
c0a7be3fd9
7 changed files with 44 additions and 6 deletions
|
|
@ -193,11 +193,7 @@ namespace GameCult.Aetheria.EveRuntime
|
|||
|
||||
private EveUnityPlayableWorldAssetManifestDocument ReadAssetManifest(AetheriaClientState runtimeState)
|
||||
{
|
||||
var catalog = runtimeState.Catalog.Latest();
|
||||
var manifest = AetheriaRuntimeAssets.ProjectManifest(
|
||||
catalog,
|
||||
runId: "",
|
||||
baseUri: "cultmesh://aetheria.local/assets");
|
||||
var manifest = runtimeState.AssetManifest.Latest();
|
||||
return ToUnityPlayableWorldAssetManifest(manifest);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ namespace GameCult.Aetheria.State.Verse
|
|||
CultMeshDocumentHandle<AetheriaRuntimeDaemonProviderAdvertisementDocument> providerAdvertisement,
|
||||
CultMeshDocumentHandle<AetheriaRuntimeDaemonHealthDocument> health,
|
||||
CultMeshDocumentHandle<AetheriaRuntimeDaemonCommandBoundaryDocument> commandBoundary,
|
||||
CultMeshDocumentHandle<AetheriaRuntimeAssetManifestDocument> assetManifest,
|
||||
CultMeshDocumentHandle<AetheriaRuntimeVerseAuthorityPolicyDocument> authorityPolicy,
|
||||
CultMeshDocumentHandle<AetheriaRuntimeDaemonFrameDocument> daemonFrame,
|
||||
CultMeshDocumentHandle<AetheriaRuntimeDaemonSoaViewDocument> daemonSoaView,
|
||||
|
|
@ -76,6 +77,7 @@ namespace GameCult.Aetheria.State.Verse
|
|||
ProviderAdvertisement = providerAdvertisement ?? throw new ArgumentNullException(nameof(providerAdvertisement));
|
||||
Health = health ?? throw new ArgumentNullException(nameof(health));
|
||||
CommandBoundary = commandBoundary ?? throw new ArgumentNullException(nameof(commandBoundary));
|
||||
AssetManifest = assetManifest ?? throw new ArgumentNullException(nameof(assetManifest));
|
||||
AuthorityPolicy = authorityPolicy ?? throw new ArgumentNullException(nameof(authorityPolicy));
|
||||
DaemonFrame = daemonFrame ?? throw new ArgumentNullException(nameof(daemonFrame));
|
||||
DaemonSoaView = daemonSoaView ?? throw new ArgumentNullException(nameof(daemonSoaView));
|
||||
|
|
@ -117,6 +119,8 @@ namespace GameCult.Aetheria.State.Verse
|
|||
|
||||
public CultMeshDocumentHandle<AetheriaRuntimeDaemonCommandBoundaryDocument> CommandBoundary { get; }
|
||||
|
||||
public CultMeshDocumentHandle<AetheriaRuntimeAssetManifestDocument> AssetManifest { get; }
|
||||
|
||||
public CultMeshDocumentHandle<AetheriaRuntimeVerseAuthorityPolicyDocument> AuthorityPolicy { get; }
|
||||
|
||||
public CultMeshDocumentHandle<AetheriaRuntimeDaemonFrameDocument> DaemonFrame { get; }
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ namespace GameCult.Aetheria.State.Verse
|
|||
AetheriaRuntimeDaemonProviderAdvertisementDocument? providerAdvertisement = null,
|
||||
AetheriaRuntimeDaemonHealthDocument? health = null,
|
||||
AetheriaRuntimeDaemonCommandBoundaryDocument? commandBoundary = null,
|
||||
AetheriaRuntimeAssetManifestDocument? assetManifest = null,
|
||||
AetheriaRuntimeStarbridgeSessionSummaryDocument? starbridgeSessionSummary = null,
|
||||
AetheriaRuntimeSurfaceDocument? gameSurface = null,
|
||||
AetheriaRuntimeSurfaceDocument? gameTuiSurface = null,
|
||||
|
|
@ -63,6 +64,7 @@ namespace GameCult.Aetheria.State.Verse
|
|||
ProviderAdvertisement = providerAdvertisement;
|
||||
Health = health;
|
||||
CommandBoundary = commandBoundary;
|
||||
AssetManifest = assetManifest;
|
||||
StarbridgeSessionSummary = starbridgeSessionSummary;
|
||||
GameSurface = gameSurface;
|
||||
GameTuiSurface = gameTuiSurface;
|
||||
|
|
@ -77,6 +79,7 @@ namespace GameCult.Aetheria.State.Verse
|
|||
public AetheriaRuntimeDaemonProviderAdvertisementDocument? ProviderAdvertisement { get; }
|
||||
public AetheriaRuntimeDaemonHealthDocument? Health { get; }
|
||||
public AetheriaRuntimeDaemonCommandBoundaryDocument? CommandBoundary { get; }
|
||||
public AetheriaRuntimeAssetManifestDocument? AssetManifest { get; }
|
||||
public AetheriaRuntimeStarbridgeSessionSummaryDocument? StarbridgeSessionSummary { get; }
|
||||
public AetheriaRuntimeSurfaceDocument? GameSurface { get; }
|
||||
public AetheriaRuntimeSurfaceDocument? GameTuiSurface { get; }
|
||||
|
|
@ -210,6 +213,10 @@ namespace GameCult.Aetheria.State.Verse
|
|||
Array.Empty<AetheriaRuntimeCatalogItem>(),
|
||||
Array.Empty<AetheriaRuntimeCorporation>(),
|
||||
Array.Empty<AetheriaRuntimeNameFile>());
|
||||
var assetManifest = AetheriaRuntimeAssets.ProjectManifest(
|
||||
catalog,
|
||||
frame.Run?.RunId ?? "",
|
||||
"cultmesh://aetheria.local/assets");
|
||||
var starbridgeSummary = AetheriaRuntimeStarbridgeDocuments.SessionSummary(
|
||||
frame,
|
||||
options.StarbridgeScenario,
|
||||
|
|
@ -238,6 +245,7 @@ namespace GameCult.Aetheria.State.Verse
|
|||
providerAdvertisement,
|
||||
health,
|
||||
commandBoundary,
|
||||
assetManifest,
|
||||
starbridgeSummary,
|
||||
gameSurface,
|
||||
gameSurface,
|
||||
|
|
|
|||
|
|
@ -443,6 +443,8 @@ namespace GameCult.Aetheria.State.Verse
|
|||
AetheriaRuntimeVerseRecordKeys.DaemonHealth),
|
||||
Document<AetheriaRuntimeDaemonCommandBoundaryDocument>(
|
||||
AetheriaRuntimeVerseRecordKeys.DaemonCommandBoundary),
|
||||
Document<AetheriaRuntimeAssetManifestDocument>(
|
||||
AetheriaRuntimeVerseRecordKeys.DaemonAssetManifest),
|
||||
Document<AetheriaRuntimeVerseAuthorityPolicyDocument>(
|
||||
AetheriaRuntimeVerseRecordKeys.VerseAuthorityPolicy),
|
||||
latestFrameDocument,
|
||||
|
|
|
|||
Loading…
Reference in a new issue