Fetch Electron viewports from daemon documents
This commit is contained in:
parent
edc8a3e6c6
commit
d91e87b6d6
4 changed files with 320 additions and 516 deletions
|
|
@ -997,7 +997,12 @@ static bool TryGetManagedViewportRequest(
|
|||
schemaId = "";
|
||||
viewport = new AetheriaRuntimeViewportBounds();
|
||||
var prefix = "";
|
||||
if (recordKey.StartsWith("aetheria.viewport.objects.", StringComparison.Ordinal))
|
||||
if (recordKey.StartsWith("aetheria.viewport.map.", StringComparison.Ordinal))
|
||||
{
|
||||
prefix = "aetheria.viewport.map.";
|
||||
schemaId = AetheriaRuntimeDaemonSchemas.GameViewport;
|
||||
}
|
||||
else if (recordKey.StartsWith("aetheria.viewport.objects.", StringComparison.Ordinal))
|
||||
{
|
||||
prefix = "aetheria.viewport.objects.";
|
||||
schemaId = AetheriaRuntimeDaemonSchemas.ObjectsViewport;
|
||||
|
|
|
|||
Loading…
Reference in a new issue