chore: removed some logs
This commit is contained in:
@@ -207,6 +207,7 @@ namespace Ragon.Core
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
case RagonOperation.LOAD_SCENE:
|
||||
@@ -405,7 +406,7 @@ namespace Ragon.Core
|
||||
}
|
||||
|
||||
var dynamicEntities = _entitiesAll.Where(e => e.StaticId == 0).ToArray();
|
||||
_serializer.WriteUShort((ushort)dynamicEntities.Length);
|
||||
_serializer.WriteUShort((ushort) dynamicEntities.Length);
|
||||
foreach (var entity in dynamicEntities)
|
||||
{
|
||||
ReadOnlySpan<byte> payload = entity.Payload.AsSpan();
|
||||
@@ -418,7 +419,7 @@ namespace Ragon.Core
|
||||
}
|
||||
|
||||
var staticCount = _entitiesAll.Where(e => e.StaticId != 0).ToArray();
|
||||
_serializer.WriteUShort((ushort)staticCount.Length);
|
||||
_serializer.WriteUShort((ushort) staticCount.Length);
|
||||
foreach (var entity in staticCount)
|
||||
{
|
||||
ReadOnlySpan<byte> payload = entity.Payload.AsSpan();
|
||||
@@ -450,8 +451,6 @@ namespace Ragon.Core
|
||||
{
|
||||
_serializer.Clear();
|
||||
_serializer.WriteOperation(RagonOperation.REPLICATE_ENTITY_STATE);
|
||||
|
||||
_logger.Trace((ushort) _entitiesDirty.Count);
|
||||
_serializer.WriteUShort((ushort) _entitiesDirty.Count);
|
||||
for (var entityIndex = 0; entityIndex < _entitiesDirty.Count; entityIndex++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user