Rename daemon client documents for native state access
This commit is contained in:
parent
296a0b6de8
commit
a45c704f43
3 changed files with 15 additions and 13 deletions
|
|
@ -16189,8 +16189,8 @@ static void RequireRuntimeStateReaderOwnsUnityStateAcquisition(string root)
|
||||||
"public CultMeshDocumentHandle<AetheriaRuntimeDaemonHealthDocument> Health { get; }",
|
"public CultMeshDocumentHandle<AetheriaRuntimeDaemonHealthDocument> Health { get; }",
|
||||||
"public CultMeshDocumentHandle<AetheriaRuntimeDaemonCommandBoundaryDocument> CommandBoundary { get; }",
|
"public CultMeshDocumentHandle<AetheriaRuntimeDaemonCommandBoundaryDocument> CommandBoundary { get; }",
|
||||||
"public CultMeshDocumentHandle<AetheriaRuntimeVerseAuthorityPolicyDocument> AuthorityPolicy { get; }",
|
"public CultMeshDocumentHandle<AetheriaRuntimeVerseAuthorityPolicyDocument> AuthorityPolicy { get; }",
|
||||||
"public CultMeshDocumentHandle<AetheriaRuntimeDaemonFrameDocument> LatestFrame { get; }",
|
"public CultMeshDocumentHandle<AetheriaRuntimeDaemonFrameDocument> DaemonFrame { get; }",
|
||||||
"public CultMeshDocumentHandle<AetheriaRuntimeDaemonSoaViewDocument> LatestSoaView { get; }",
|
"public CultMeshDocumentHandle<AetheriaRuntimeDaemonSoaViewDocument> DaemonSoaView { get; }",
|
||||||
"public CultMeshDocumentHandle<global::Aetheria.State.Documents.EveSurfaceState> GameSurface { get; }",
|
"public CultMeshDocumentHandle<global::Aetheria.State.Documents.EveSurfaceState> GameSurface { get; }",
|
||||||
"public CultMeshDocumentHandle<global::Aetheria.State.Documents.EveSurfaceState> GameTuiSurface { get; }",
|
"public CultMeshDocumentHandle<global::Aetheria.State.Documents.EveSurfaceState> GameTuiSurface { get; }",
|
||||||
"public CultMeshDocumentHandle<global::Aetheria.State.Documents.EveSurfaceState> EditorSurface { get; }",
|
"public CultMeshDocumentHandle<global::Aetheria.State.Documents.EveSurfaceState> EditorSurface { get; }",
|
||||||
|
|
@ -16215,7 +16215,9 @@ static void RequireRuntimeStateReaderOwnsUnityStateAcquisition(string root)
|
||||||
"public AetheriaClientDaemonState Daemon { get; }",
|
"public AetheriaClientDaemonState Daemon { get; }",
|
||||||
"public sealed class AetheriaClientDaemonState",
|
"public sealed class AetheriaClientDaemonState",
|
||||||
"public AetheriaClientSettingsState Settings { get; }",
|
"public AetheriaClientSettingsState Settings { get; }",
|
||||||
"public sealed class AetheriaClientSettingsState"
|
"public sealed class AetheriaClientSettingsState",
|
||||||
|
"public CultMeshDocumentHandle<AetheriaRuntimeDaemonFrameDocument> LatestFrame { get; }",
|
||||||
|
"public CultMeshDocumentHandle<AetheriaRuntimeDaemonSoaViewDocument> LatestSoaView { get; }"
|
||||||
};
|
};
|
||||||
var survivingDaemonStateFacadeSymbols = forbiddenDaemonStateFacadeSymbols
|
var survivingDaemonStateFacadeSymbols = forbiddenDaemonStateFacadeSymbols
|
||||||
.Where(symbol => aetheriaClientState.Contains(symbol, StringComparison.Ordinal))
|
.Where(symbol => aetheriaClientState.Contains(symbol, StringComparison.Ordinal))
|
||||||
|
|
|
||||||
|
|
@ -255,8 +255,8 @@ public class DaemonRuntimeDocumentTests
|
||||||
Assert.AreSame(
|
Assert.AreSame(
|
||||||
client.State.StarbridgeSummary,
|
client.State.StarbridgeSummary,
|
||||||
client.State.Document<AetheriaRuntimeStarbridgeSessionSummaryDocument>());
|
client.State.Document<AetheriaRuntimeStarbridgeSessionSummaryDocument>());
|
||||||
Assert.AreSame(client.State.LatestFrame, client.State.Document<AetheriaRuntimeDaemonFrameDocument>());
|
Assert.AreSame(client.State.DaemonFrame, client.State.Document<AetheriaRuntimeDaemonFrameDocument>());
|
||||||
Assert.AreSame(client.State.LatestSoaView, client.State.Document<AetheriaRuntimeDaemonSoaViewDocument>());
|
Assert.AreSame(client.State.DaemonSoaView, client.State.Document<AetheriaRuntimeDaemonSoaViewDocument>());
|
||||||
Assert.IsNotNull(ReadLatest(client.State.Document<AetheriaRuntimeDaemonProviderAdvertisementDocument>()));
|
Assert.IsNotNull(ReadLatest(client.State.Document<AetheriaRuntimeDaemonProviderAdvertisementDocument>()));
|
||||||
Assert.IsNotNull(ReadLatest(client.State.Document<AetheriaRuntimeDaemonHealthDocument>()));
|
Assert.IsNotNull(ReadLatest(client.State.Document<AetheriaRuntimeDaemonHealthDocument>()));
|
||||||
Assert.IsNotNull(ReadLatest(client.State.Document<AetheriaRuntimeDaemonCommandBoundaryDocument>()));
|
Assert.IsNotNull(ReadLatest(client.State.Document<AetheriaRuntimeDaemonCommandBoundaryDocument>()));
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,8 @@ namespace GameCult.Aetheria.State.Verse
|
||||||
CultMeshDocumentHandle<AetheriaRuntimeDaemonHealthDocument> health,
|
CultMeshDocumentHandle<AetheriaRuntimeDaemonHealthDocument> health,
|
||||||
CultMeshDocumentHandle<AetheriaRuntimeDaemonCommandBoundaryDocument> commandBoundary,
|
CultMeshDocumentHandle<AetheriaRuntimeDaemonCommandBoundaryDocument> commandBoundary,
|
||||||
CultMeshDocumentHandle<AetheriaRuntimeVerseAuthorityPolicyDocument> authorityPolicy,
|
CultMeshDocumentHandle<AetheriaRuntimeVerseAuthorityPolicyDocument> authorityPolicy,
|
||||||
CultMeshDocumentHandle<AetheriaRuntimeDaemonFrameDocument> latestFrame,
|
CultMeshDocumentHandle<AetheriaRuntimeDaemonFrameDocument> daemonFrame,
|
||||||
CultMeshDocumentHandle<AetheriaRuntimeDaemonSoaViewDocument> latestSoaView,
|
CultMeshDocumentHandle<AetheriaRuntimeDaemonSoaViewDocument> daemonSoaView,
|
||||||
CultMeshDocumentHandle<global::Aetheria.State.Documents.EveSurfaceState> gameSurface,
|
CultMeshDocumentHandle<global::Aetheria.State.Documents.EveSurfaceState> gameSurface,
|
||||||
CultMeshDocumentHandle<global::Aetheria.State.Documents.EveSurfaceState> gameTuiSurface,
|
CultMeshDocumentHandle<global::Aetheria.State.Documents.EveSurfaceState> gameTuiSurface,
|
||||||
CultMeshDocumentHandle<global::Aetheria.State.Documents.EveSurfaceState> editorSurface,
|
CultMeshDocumentHandle<global::Aetheria.State.Documents.EveSurfaceState> editorSurface,
|
||||||
|
|
@ -67,8 +67,8 @@ namespace GameCult.Aetheria.State.Verse
|
||||||
Health = health ?? throw new ArgumentNullException(nameof(health));
|
Health = health ?? throw new ArgumentNullException(nameof(health));
|
||||||
CommandBoundary = commandBoundary ?? throw new ArgumentNullException(nameof(commandBoundary));
|
CommandBoundary = commandBoundary ?? throw new ArgumentNullException(nameof(commandBoundary));
|
||||||
AuthorityPolicy = authorityPolicy ?? throw new ArgumentNullException(nameof(authorityPolicy));
|
AuthorityPolicy = authorityPolicy ?? throw new ArgumentNullException(nameof(authorityPolicy));
|
||||||
LatestFrame = latestFrame ?? throw new ArgumentNullException(nameof(latestFrame));
|
DaemonFrame = daemonFrame ?? throw new ArgumentNullException(nameof(daemonFrame));
|
||||||
LatestSoaView = latestSoaView ?? throw new ArgumentNullException(nameof(latestSoaView));
|
DaemonSoaView = daemonSoaView ?? throw new ArgumentNullException(nameof(daemonSoaView));
|
||||||
GameSurface = gameSurface ?? throw new ArgumentNullException(nameof(gameSurface));
|
GameSurface = gameSurface ?? throw new ArgumentNullException(nameof(gameSurface));
|
||||||
GameTuiSurface = gameTuiSurface ?? throw new ArgumentNullException(nameof(gameTuiSurface));
|
GameTuiSurface = gameTuiSurface ?? throw new ArgumentNullException(nameof(gameTuiSurface));
|
||||||
EditorSurface = editorSurface ?? throw new ArgumentNullException(nameof(editorSurface));
|
EditorSurface = editorSurface ?? throw new ArgumentNullException(nameof(editorSurface));
|
||||||
|
|
@ -104,8 +104,8 @@ namespace GameCult.Aetheria.State.Verse
|
||||||
GameTuiSurface,
|
GameTuiSurface,
|
||||||
EditorSurface,
|
EditorSurface,
|
||||||
EditorTuiSurface,
|
EditorTuiSurface,
|
||||||
LatestFrame,
|
DaemonFrame,
|
||||||
LatestSoaView,
|
DaemonSoaView,
|
||||||
Catalog,
|
Catalog,
|
||||||
LoadoutTemplates,
|
LoadoutTemplates,
|
||||||
PlayerSettings,
|
PlayerSettings,
|
||||||
|
|
@ -130,9 +130,9 @@ namespace GameCult.Aetheria.State.Verse
|
||||||
|
|
||||||
public CultMeshDocumentHandle<AetheriaRuntimeVerseAuthorityPolicyDocument> AuthorityPolicy { get; }
|
public CultMeshDocumentHandle<AetheriaRuntimeVerseAuthorityPolicyDocument> AuthorityPolicy { get; }
|
||||||
|
|
||||||
public CultMeshDocumentHandle<AetheriaRuntimeDaemonFrameDocument> LatestFrame { get; }
|
public CultMeshDocumentHandle<AetheriaRuntimeDaemonFrameDocument> DaemonFrame { get; }
|
||||||
|
|
||||||
public CultMeshDocumentHandle<AetheriaRuntimeDaemonSoaViewDocument> LatestSoaView { get; }
|
public CultMeshDocumentHandle<AetheriaRuntimeDaemonSoaViewDocument> DaemonSoaView { get; }
|
||||||
|
|
||||||
public CultMeshDocumentHandle<AetheriaRuntimeCatalogSnapshot> Catalog { get; }
|
public CultMeshDocumentHandle<AetheriaRuntimeCatalogSnapshot> Catalog { get; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue