Persist CultNet replica cursors

This commit is contained in:
Meta Vens 2026-05-19 18:19:09 +01:00
commit ff0436b529
6 changed files with 240 additions and 13 deletions

View file

@ -400,6 +400,14 @@ namespace GameCult.Networking
: 0;
}
internal void SetAppliedShardSequence(string shardId, long sequence)
{
ThrowIfDisposed();
if (string.IsNullOrWhiteSpace(shardId)) throw new ArgumentException("Value must be non-empty.", nameof(shardId));
if (sequence < 0) throw new ArgumentOutOfRangeException(nameof(sequence), "Sequence must be non-negative.");
_appliedShardSequences[shardId] = sequence;
}
/// <summary>
/// Creates a shard catalog response for optional schema/key filters.
/// </summary>