refactor: moved packer into sub-namespace
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
using LiteNetLib;
|
|
||||||
using LiteNetLib.Utils;
|
|
||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
using Engine.Core.Debug;
|
using Engine.Core.Debug;
|
||||||
|
using Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
|
using LiteNetLib;
|
||||||
|
using LiteNetLib.Utils;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network;
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class AABB2DNetPacker
|
internal static class AABB2DNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class AABB3DNetPacker
|
internal static class AABB3DNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class CircleNetPacker
|
internal static class CircleNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class ColorHSVANetPacker
|
internal static class ColorHSVANetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class ColorHSVNetPacker
|
internal static class ColorHSVNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class ColorRGBANetPacker
|
internal static class ColorRGBANetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class ColorRGBNetPacker
|
internal static class ColorRGBNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class Line2DEquationNetPacker
|
internal static class Line2DEquationNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class Line2DNetPacker
|
internal static class Line2DNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class Line3DNetPacker
|
internal static class Line3DNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class Projection1DNetPacker
|
internal static class Projection1DNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class QuaternionNetPacker
|
internal static class QuaternionNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class Ray2DNetPacker
|
internal static class Ray2DNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class Ray3DNetPacker
|
internal static class Ray3DNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class Shape2DNetPacker
|
internal static class Shape2DNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class Sphere3DNetPacker
|
internal static class Sphere3DNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class TriangleNetPacker
|
internal static class TriangleNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class Vector2DIntNetPacker
|
internal static class Vector2DIntNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class Vector2DNetPacker
|
internal static class Vector2DNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class Vector3DIntNetPacker
|
internal static class Vector3DIntNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class Vector3DNetPacker
|
internal static class Vector3DNetPacker
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@ using LiteNetLib.Utils;
|
|||||||
|
|
||||||
using Engine.Core;
|
using Engine.Core;
|
||||||
|
|
||||||
namespace Engine.Systems.Network;
|
namespace Engine.Systems.Network.Packers;
|
||||||
|
|
||||||
internal static class Vector4DNetPacker
|
internal static class Vector4DNetPacker
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user