The End of Entity (Komm, Süsser Todd: Part 1.0) (#2295)

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
This commit is contained in:
Vera Aguilera Puerto
2021-12-03 11:01:59 +01:00
committed by GitHub
parent f8bebee904
commit 196e2bb427
16 changed files with 230 additions and 448 deletions

View File

@@ -5,6 +5,7 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Robust.Shared.GameObjects;
using Robust.Shared.Log;
using Robust.Shared.Maths;
using Robust.Shared.Reflection;
@@ -79,7 +80,7 @@ namespace Robust.Shared.Serialization
var settings = new Settings
{
CustomTypeSerializers = new[] {_mappedStringSerializer.TypeSerializer}
CustomTypeSerializers = new[] {_mappedStringSerializer.TypeSerializer, new IEntitySerializer()}
};
_serializer = new Serializer(types, settings);
_serializableTypes = new HashSet<Type>(_serializer.GetTypeMap().Keys);