rework/cleanup of onlineplayermanager

This commit is contained in:
Stanley Dimant
2025-02-26 22:03:42 +01:00
parent 34ce634ff6
commit 566a71e49b
10 changed files with 118 additions and 103 deletions

View File

@@ -122,7 +122,7 @@ public sealed class PairManager : DisposableMediatorSubscriberBase
public int GetVisibleUserCount() => _allClientPairs.Count(p => p.Value.IsVisible);
public List<UserData> GetVisibleUsers() => _allClientPairs.Where(p => p.Value.IsVisible).Select(p => p.Key).ToList();
public List<UserData> GetVisibleUsers() => [.. _allClientPairs.Where(p => p.Value.IsVisible).Select(p => p.Key)];
public void MarkPairOffline(UserData user)
{