public void ExportData(MissionPlaythroughData data)
 {
     data.LastVisitedTeleporterName = this.LastVisitedTeleporter;
     data.ActivatedTeleportersList.Clear();
     foreach (var station in this.VisitedTeleporters)
     {
         if (station.Visited == true)
         {
             data.ActivatedTeleportersList.Add(station.ResourceName);
         }
     }
 }
        public void ImportData(MissionPlaythroughData data)
        {
            foreach (var teleporter in this.AvailableTeleporters.Where(t => t.Custom == true).ToList())
            {
                this.AvailableTeleporters.Remove(teleporter);
            }

            if (this.AvailableTeleporters.Any(t => t.Path == data.LastVisitedTeleporterName) == false)
            {
                this.AvailableTeleporters.Add(new AssetDisplay(
                                                  data.LastVisitedTeleporterName,
                                                  data.LastVisitedTeleporterName,
                                                  "Unknown",
                                                  true));
            }

            this.LastVisitedTeleporter = data.LastVisitedTeleporterName;

            var visitedStations = data.ActivatedTeleportersList.ToList();

            foreach (var station in this.VisitedTeleporters.ToArray())
            {
                if (visitedStations.Contains(station.ResourceName) == true)
                {
                    station.Visited = true;
                    visitedStations.Remove(station.ResourceName);
                }
                else if (station.Custom == true)
                {
                    this.VisitedTeleporters.Remove(station);
                }
                else
                {
                    station.Visited = false;
                }
            }

            foreach (var station in visitedStations)
            {
                this.VisitedTeleporters.Add(new VisitedTeleporterDisplay()
                {
                    DisplayName  = station,
                    ResourceName = station,
                    Visited      = true,
                    Custom       = true,
                    Group        = "Unknown",
                });
            }
        }