From cf1e4f7a9dac362947c2d7dcb1977cc58b11547c Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 28 Oct 2026 00:44:09 +0100 Subject: [PATCH] CultNetDatabaseServer: delete the ApplyPutAsync/ApplyDeleteAsync pass-throughs A second public door named like the peer path with no caller besides the handlers. Hosts keep CultNetDatabase.ApplyPutAsync/ApplyDeleteAsync. Co-Authored-By: Claude Opus 5.5 --- .../CultNetDatabaseServer.cs | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/src/GameCult.Networking/CultNetDatabaseServer.cs b/src/GameCult.Networking/CultNetDatabaseServer.cs index 77b03070..f5bbb464 100644 --- a/src/GameCult.Networking/CultNetDatabaseServer.cs +++ b/src/GameCult.Networking/CultNetDatabaseServer.cs @@ -67,22 +67,6 @@ namespace GameCult.Networking /// public CultNetDatabase Database => _database; - /// - /// Applies a raw put message through the database shard policy. - /// - public Task ApplyPutAsync(CultNetDocumentPutRawMessage message) - { - return _database.ApplyPutAsync(message); - } - - /// - /// Applies a raw delete message through the database shard policy. - /// - public Task ApplyDeleteAsync(CultNetDocumentDeleteMessage message) - { - return _database.ApplyDeleteAsync(message); - } - /// /// Creates a raw snapshot response from the database cache. /// @@ -308,7 +292,7 @@ namespace GameCult.Networking { try { - await ApplyPutAsync(message).ConfigureAwait(false); + await _database.ApplyPutAsync(message).ConfigureAwait(false); } catch (CultNetShardAuthorityException ex) { @@ -339,7 +323,7 @@ namespace GameCult.Networking { try { - await ApplyDeleteAsync(message).ConfigureAwait(false); + await _database.ApplyDeleteAsync(message).ConfigureAwait(false); } catch (CultNetShardAuthorityException ex) {