chore: migrated networking code to engine

This commit is contained in:
2025-08-05 19:28:49 +03:00
parent dc3661c710
commit 7a499bbcbc
38 changed files with 24 additions and 1159 deletions

View File

@@ -39,7 +39,7 @@ monoGameWindow.Graphics.PreferredBackBufferWidth = clientConfiguration.windowWid
monoGameWindow.Graphics.PreferredBackBufferHeight = clientConfiguration.windowHeight;
monoGameWindow.Graphics.GraphicsProfile = GraphicsProfile.HiDef;
universe.FindBehaviour<Syntriax.Engine.Network.INetworkCommunicatorClient>()?
universe.FindBehaviour<Syntriax.Engine.Systems.Network.INetworkCommunicatorClient>()?
.OnConnectionEstablished.AddOneTimeListener(
(sender, connection) => monoGameWindow.Window.Title = $"Client {connection.Id}"
);