chore: rename namespace

This commit is contained in:
2022-05-01 21:39:46 +04:00
parent 6fa19a90c7
commit 02160f8b33
9 changed files with 9 additions and 23 deletions
-4
View File
@@ -1,12 +1,8 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using DisruptorUnity3d;
using NetStack.Serialization;
using NLog;
using Ragon.Common.Protocol;
namespace Ragon.Core
{
+1 -1
View File
@@ -2,7 +2,7 @@
using System;
using System.Collections.Generic;
using NetStack.Serialization;
using Ragon.Common.Protocol;
using Ragon.Common;
namespace Ragon.Core
{
+1 -9
View File
@@ -1,12 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using NetStack.Serialization;
using NLog;
using NLog.LayoutRenderers;
using Ragon.Common.Protocol;
using Ragon.Common;
namespace Ragon.Core
{
@@ -152,13 +149,9 @@ namespace Ragon.Core
var props = _entities[entityId].Properties;
if (props.ContainsKey(propertyId))
{
props[propertyId] = payload;
}
else
{
props.Add(propertyId, payload);
}
// Span<byte> sendData = MemoryMarshal.CreateSpan(ref MemoryMarshal.GetReference(rawData), rawData.Length);
@@ -251,7 +244,6 @@ namespace Ragon.Core
Span<byte> entityStateData = sendData.Slice(10, entity.State.Length);
RagonHeader.WriteUShort((ushort) RagonOperation.CREATE_ENTITY, ref operationData);
;
RagonHeader.WriteInt(entity.EntityId, ref entityData);
RagonHeader.WriteInt((int) entity.OwnerId, ref ownerData);
+1 -1
View File
@@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using System.Text;
using NLog;
using Ragon.Common.Protocol;
using Ragon.Common;
namespace Ragon.Core
{
+1 -3
View File
@@ -3,9 +3,7 @@ using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using DisruptorUnity3d;
using ENet;
using NetStack.Serialization;
using Ragon.Common.Protocol;
using Ragon.Common;
namespace Ragon.Core
{