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 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-28 00:44:09 +01:00
commit cf1e4f7a9d

View file

@ -67,22 +67,6 @@ namespace GameCult.Networking
/// </summary>
public CultNetDatabase Database => _database;
/// <summary>
/// Applies a raw put message through the database shard policy.
/// </summary>
public Task<object> ApplyPutAsync(CultNetDocumentPutRawMessage message)
{
return _database.ApplyPutAsync(message);
}
/// <summary>
/// Applies a raw delete message through the database shard policy.
/// </summary>
public Task ApplyDeleteAsync(CultNetDocumentDeleteMessage message)
{
return _database.ApplyDeleteAsync(message);
}
/// <summary>
/// Creates a raw snapshot response from the database cache.
/// </summary>
@ -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)
{