public void RegisterPacket(Type type)
 {
     _serializer.RegisterObjectType(type);
 }