Publish Aetheria worlds through Eve entity SoA
This commit is contained in:
parent
ed60fe4ddd
commit
0bf28b48df
9 changed files with 146 additions and 36 deletions
|
|
@ -1338,12 +1338,18 @@ static async Task PublishDaemonApiDocumentsAsync(
|
|||
await node.MutableDocument<AetheriaRuntimeDaemonFrameDocument>(AetheriaRuntimeVerseRecordKeys.DaemonFrameLatest)
|
||||
.ReplaceAsync(result.Frame)
|
||||
.ConfigureAwait(false);
|
||||
await node.MutableDocument<AetheriaRuntimeZoneRenderDocument>(AetheriaRuntimeVerseRecordKeys.ZoneRenderLatest)
|
||||
.ReplaceAsync(AetheriaRuntimeGameDocuments.ZoneRender(result.Frame))
|
||||
.ConfigureAwait(false);
|
||||
if (result.SoaView != null &&
|
||||
string.Equals(result.SoaView.Schema, AetheriaRuntimeDaemonSchemas.SoaView, StringComparison.Ordinal))
|
||||
{
|
||||
await node.MutableDocument<AetheriaRuntimeDaemonSoaViewDocument>(AetheriaRuntimeVerseRecordKeys.DaemonSoaViewLatest)
|
||||
.ReplaceAsync(result.SoaView)
|
||||
.ConfigureAwait(false);
|
||||
await node.MutableDocument<EveEntitySoaViewDocument>(AetheriaRuntimeVerseRecordKeys.EveEntitySoaViewLatest)
|
||||
.ReplaceAsync(AetheriaRuntimeEveEntitySoaProjection.Project(result.SoaView))
|
||||
.ConfigureAwait(false);
|
||||
}
|
||||
|
||||
if (result.ProviderAdvertisement != null)
|
||||
|
|
|
|||
Loading…
Reference in a new issue