Remove Unity runtime state call chains

This commit is contained in:
Meta Vens 2026-06-29 12:33:48 +01:00
commit f09c298bcd
5 changed files with 37 additions and 26 deletions

View file

@ -126,6 +126,11 @@ public static class AetheriaUnityRuntimeClientProvider
return RuntimeState(runtimeId).CurrentZoneState();
}
public static AetheriaRuntimeZoneContactsDocument CurrentZoneContacts(string runtimeId = "")
{
return RuntimeState(runtimeId).CurrentZoneContacts();
}
public static AetheriaRuntimeStationRefitDocument CurrentStationRefit(string runtimeId = "")
{
return RuntimeState(runtimeId).CurrentStationRefit();
@ -158,6 +163,13 @@ public static class AetheriaUnityRuntimeClientProvider
return RuntimeState(runtimeId).CurrentDaemonFrame();
}
public static AetheriaRuntimeDaemonFrameDocument CurrentDaemonFrame(
AetheriaRuntimeStateBootReport stateBoot,
string runtimeId = "")
{
return RuntimeState(stateBoot, runtimeId).CurrentDaemonFrame();
}
public static AetheriaRuntimeVerseHostSettingsDocument CurrentVerseHostSettings(
AetheriaRuntimeStateBootReport stateBoot,
string runtimeId = "")
@ -220,7 +232,7 @@ public static class AetheriaUnityRuntimeClientProvider
{
try
{
var stored = RuntimeState().CurrentPlayerSettings();
var stored = CurrentPlayerSettings();
if (stored == null)
return;