feat: client & server packet listener interfaces added

This commit is contained in:
2025-05-19 22:24:06 +03:00
parent 214c37e63f
commit 57868ce178
9 changed files with 199 additions and 31 deletions

View File

@@ -30,7 +30,7 @@ public class LiteNetLibServer : LiteNetLibCommunicatorBase, INetworkCommunicator
public INetworkCommunicatorServer Start(int port, int maxConnectionCount, string? password = null)
{
if (!IsInUniverse)
if (!UniverseObject.IsInUniverse)
throw new($"{nameof(LiteNetLibServer)} must be in an universe to start");
Password = password ?? string.Empty;