public NetworkEntitySerializer(EngineEntityManager entityManager, ComponentLibrary componentLibrary, TypeSerializationLibrary typeSerializationLibrary) {
this.entityManager = entityManager;
this.componentLibrary = componentLibrary;
this.typeSerializationLibrary = typeSerializationLibrary;
this.serializationContext = new ProtobufSerializationContext(typeSerializationLibrary);
this.deserializationContext = new ProtobufDeserializationContext(typeSerializationLibrary);
}