Aetheria/Packages/org.gamecult.aetheria.state/Runtime/AetheriaRuntimeBootstrapDocuments.cs
2026-06-28 11:49:27 +01:00

28 lines
1.1 KiB
C#

namespace GameCult.Aetheria.State.Verse
{
public static class AetheriaRuntimeBootstrapDocuments
{
public static AetheriaRuntimeCatalogSnapshot RuntimeCatalog(string statePath)
{
return AetheriaRuntimeCatalogStore.OpenReadOnly(statePath);
}
public static AetheriaRuntimeLoadoutTemplatesDocument LoadoutTemplates(string statePath)
{
return new AetheriaRuntimeLoadoutTemplatesDocument(
AetheriaRuntimeCatalogStore.ReadLoadoutTemplates(statePath));
}
public static AetheriaRuntimePlayerSettingsDocument PlayerSettings(string statePath)
{
return AetheriaRuntimePlayerSettingsDocument.FromSnapshot(
AetheriaRuntimeCatalogStore.ReadPlayerSettings(statePath));
}
public static AetheriaRuntimeVerseHostSettingsDocument VerseHostSettings(string statePath)
{
return AetheriaRuntimeVerseHostSettingsDocument.FromSnapshot(
AetheriaRuntimeCatalogStore.ReadVerseHostSettings(statePath));
}
}
}