Remove AetheriaClient snapshot wrappers
This commit is contained in:
parent
56492e519e
commit
4b1fe20ec7
2 changed files with 16 additions and 32 deletions
|
|
@ -149,33 +149,6 @@ namespace GameCult.Aetheria.State.Verse
|
|||
AetheriaRuntimeDaemonSoaViewStore.GetViewPath(StatePath));
|
||||
}
|
||||
|
||||
public AetheriaRuntimeCatalogSnapshot OpenRuntimeCatalog()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
return State.Catalog.Latest();
|
||||
}
|
||||
|
||||
public async Task<AetheriaRuntimePlayerSettingsSnapshot?> PlayerSettingsAsync()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
var document = await State.Settings.Player.LatestAsync().ConfigureAwait(false);
|
||||
return document.ToSnapshot();
|
||||
}
|
||||
|
||||
public async Task<AetheriaRuntimeVerseHostSettingsSnapshot?> VerseHostSettingsAsync()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
var document = await State.Settings.VerseHost.LatestAsync().ConfigureAwait(false);
|
||||
return document.ToSnapshot();
|
||||
}
|
||||
|
||||
public async Task<System.Collections.Generic.IReadOnlyList<AetheriaRuntimeLoadoutTemplateSnapshot>> LoadoutTemplatesAsync()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
var document = await State.LoadoutTemplates.LatestAsync().ConfigureAwait(false);
|
||||
return document.Templates;
|
||||
}
|
||||
|
||||
public async Task<AetheriaRuntimeLoadoutTemplateCommit> LoadoutTemplateAsync(string entityKey)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
|
|
|
|||
Loading…
Reference in a new issue