BREAKING CHANGE: renamed namespace & assembly names

This commit is contained in:
2025-08-05 19:41:35 +03:00
parent 1644a751bb
commit 3d183b21cd
259 changed files with 411 additions and 405 deletions

View File

@@ -4,8 +4,8 @@
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>Syntriax.Engine.Systems.Network</RootNamespace>
<AssemblyName>Syntriax.Engine.Integration.LiteNetLib</AssemblyName>
<RootNamespace>Engine.Systems.Network</RootNamespace>
<AssemblyName>Engine.Integration.LiteNetLib</AssemblyName>
</PropertyGroup>
<ItemGroup>

View File

@@ -3,10 +3,10 @@ using System.Net.Sockets;
using LiteNetLib;
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Syntriax.Engine.Core.Debug;
using Engine.Core;
using Engine.Core.Debug;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
public class LiteNetLibClient : LiteNetLibCommunicatorBase, INetworkCommunicatorClient
{

View File

@@ -1,6 +1,6 @@
using LiteNetLib;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
public record class LiteNetLibClientConnection(NetPeer NetPeer) : IConnection
{

View File

@@ -3,10 +3,10 @@ using System.Reflection;
using LiteNetLib;
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Syntriax.Engine.Core.Debug;
using Engine.Core;
using Engine.Core.Debug;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
public abstract class LiteNetLibCommunicatorBase : Behaviour, INetworkCommunicator
{

View File

@@ -1,10 +1,10 @@
using LiteNetLib;
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Syntriax.Engine.Core.Debug;
using Engine.Core;
using Engine.Core.Debug;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
public class LiteNetLibServer : LiteNetLibCommunicatorBase, INetworkCommunicatorServer
{

View File

@@ -1,6 +1,6 @@
using LiteNetLib;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
public record class LiteNetLibServerConnection(NetPeer NetPeer) : IConnection
{

View File

@@ -1,8 +1,8 @@
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
internal static class AABBNetPacker
{

View File

@@ -1,8 +1,8 @@
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
internal static class CircleNetPacker
{

View File

@@ -1,8 +1,8 @@
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
internal static class ColorHSVNetPacker
{

View File

@@ -1,8 +1,8 @@
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
internal static class ColorRGBANetPacker
{

View File

@@ -1,8 +1,8 @@
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
internal static class ColorRGBNetPacker
{

View File

@@ -1,8 +1,8 @@
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
internal static class Line2DEquationNetPacker
{

View File

@@ -1,8 +1,8 @@
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
internal static class Line2DNetPacker
{

View File

@@ -1,8 +1,8 @@
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
internal static class Projection1DNetPacker
{

View File

@@ -1,8 +1,8 @@
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
internal static class QuaternionNetPacker
{

View File

@@ -1,8 +1,8 @@
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
internal static class Shape2DNetPacker
{

View File

@@ -1,8 +1,8 @@
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
internal static class TriangleNetPacker
{

View File

@@ -1,8 +1,8 @@
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
internal static class Vector2DNetPacker
{

View File

@@ -1,8 +1,8 @@
using LiteNetLib.Utils;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Systems.Network;
namespace Engine.Systems.Network;
internal static class Vector3DNetPacker
{