using System.Collections.Generic; using System.Linq; namespace PKHeX.Core { internal class LearnInfo { public bool MixedGen12NonTradeback { get; set; } public List Gen1Moves { get; } = new List(); public List Gen2PreevoMoves { get; } = new List(); public List EggMovesLearned { get; } = new List(); public List LevelUpEggMoves { get; } = new List(); public List EventEggMoves { get; } = new List(); public List IncenseMoves { get; } = new List(); public MoveParseSource Source { get; set; } public readonly bool IsGen2Pkm; public LearnInfo(PKM pkm) { IsGen2Pkm = pkm.Format == 2 || pkm.VC2; } } public struct LearnVersion { public readonly GameVersion Game; public readonly int Level; public LearnVersion(int lv, GameVersion game = GameVersion.Any) { Game = game; Level = lv; } public bool IsLevelUp => Level >= 0; } }