Add CultNet database subscriptions

This commit is contained in:
Meta Vens 2026-05-19 17:10:24 +01:00
commit b54ed59135
7 changed files with 356 additions and 12 deletions

View file

@ -390,6 +390,15 @@ namespace GameCult.Networking
.Select(change => (CultNetDatabaseChange<T>)change);
}
/// <summary>
/// Watches all typed domain changes as boxed change objects.
/// </summary>
public Observable<object> WatchAllChanges()
{
ThrowIfDisposed();
return _changes;
}
/// <summary>
/// Watches one record.
/// </summary>