Expose native Unity current document access

This commit is contained in:
Meta Vens 2026-06-29 12:17:14 +01:00
commit 988b72d2ba
5 changed files with 53 additions and 31 deletions

View file

@ -92,6 +92,40 @@ public static class AetheriaUnityRuntimeClientProvider
return RuntimeState(stateBoot, runtimeId).CurrentDockingState();
}
public static AetheriaRuntimeCatalogSnapshot CurrentCatalog(string runtimeId = "")
{
return RuntimeState(runtimeId).CurrentCatalog();
}
public static AetheriaRuntimeCatalogSnapshot CurrentCatalog(
AetheriaRuntimeStateBootReport stateBoot,
string runtimeId = "")
{
return RuntimeState(stateBoot, runtimeId).CurrentCatalog();
}
public static AetheriaRuntimePlayerSettingsDocument CurrentPlayerSettings(string runtimeId = "")
{
return RuntimeState(runtimeId).CurrentPlayerSettings();
}
public static AetheriaRuntimePlayerSettingsDocument CurrentPlayerSettings(
AetheriaRuntimeStateBootReport stateBoot,
string runtimeId = "")
{
return RuntimeState(stateBoot, runtimeId).CurrentPlayerSettings();
}
public static AetheriaRuntimeCurrentEntityDocument CurrentEntityState(string runtimeId = "")
{
return RuntimeState(runtimeId).CurrentEntityState();
}
public static AetheriaRuntimeStationRefitDocument CurrentStationRefit(string runtimeId = "")
{
return RuntimeState(runtimeId).CurrentStationRefit();
}
public static AetheriaControl Control(string runtimeId = "")
{
return RuntimeClient(runtimeId).Control;