using CustomizePlus.Configuration.Data.Version3; using CustomizePlus.Core.Data; using CustomizePlus.Profiles.Data; using CustomizePlus.Templates.Data; using System; using System.Collections.Generic; namespace CustomizePlus.Configuration.Helpers; internal static class V3ProfileToV4Converter { public static (Profile, Template) Convert(Version3Profile v3Profile) { var profile = new Profile { Name = $"{v3Profile.ProfileName} - {v3Profile.CharacterName}", CharacterName = v3Profile.CharacterName, CreationDate = v3Profile.CreationDate, ModifiedDate = DateTimeOffset.UtcNow, Enabled = v3Profile.Enabled, LimitLookupToOwnedObjects = v3Profile.OwnedOnly, UniqueId = Guid.NewGuid(), Templates = new List