Rename state reader to state ref resolver
This commit is contained in:
parent
1cf7fa0c94
commit
48b1404a28
6 changed files with 94 additions and 114 deletions
|
|
@ -1,2 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f7c024a72ddd924419a46ca748527ab2
|
||||
|
|
@ -8,39 +8,6 @@ using GameCult.Mesh;
|
|||
|
||||
namespace GameCult.Aetheria.State.Verse
|
||||
{
|
||||
// Thin compatibility shell for pure state-ref helpers; runtime state acquisition belongs to AetheriaClient.
|
||||
public static class AetheriaRuntimeStateReader
|
||||
{
|
||||
public static bool TryResolveDaemonStateRef(
|
||||
AetheriaRuntimeDaemonFrameDocument? frame,
|
||||
AetheriaRuntimeDaemonHealthDocument? health,
|
||||
AetheriaRuntimeDaemonCommandBoundaryDocument? commandBoundary,
|
||||
string stateRef,
|
||||
out string value)
|
||||
{
|
||||
return AetheriaRuntimeStateRefResolver.TryResolveDaemonStateRef(
|
||||
frame,
|
||||
health,
|
||||
commandBoundary,
|
||||
stateRef,
|
||||
out value);
|
||||
}
|
||||
|
||||
public static bool TryResolveDaemonItemStatRef(
|
||||
AetheriaRuntimeDaemonFrameDocument? frame,
|
||||
AetheriaRuntimeCatalogSnapshot? catalog,
|
||||
string stateRef,
|
||||
out string value)
|
||||
{
|
||||
return AetheriaRuntimeStateRefResolver.TryResolveDaemonItemStatRef(
|
||||
frame,
|
||||
catalog,
|
||||
stateRef,
|
||||
out value);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class AetheriaRuntimeStateRefResolver
|
||||
{
|
||||
public static bool TryResolveDaemonStateRef(
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f7c024a72ddd924419a46ca748527ab2
|
||||
Loading…
Reference in a new issue