2017-09-02 06:15:57 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
|
namespace PKHeX.Core;
|
|
|
|
|
|
|
|
|
|
internal sealed class LearnInfo
|
2017-09-02 06:15:57 +00:00
|
|
|
|
{
|
2022-06-18 18:04:24 +00:00
|
|
|
|
public bool MixedGen12NonTradeback { get; set; }
|
|
|
|
|
public List<int> Gen1Moves { get; } = new();
|
|
|
|
|
public List<int> Gen2PreevoMoves { get; } = new();
|
|
|
|
|
public List<int> EggMovesLearned { get; } = new();
|
|
|
|
|
public List<int> LevelUpEggMoves { get; } = new();
|
|
|
|
|
public List<int> EventEggMoves { get; } = new();
|
2017-09-02 06:15:57 +00:00
|
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
|
public readonly MoveParseSource Source;
|
|
|
|
|
public readonly bool IsGen2Pkm;
|
2018-08-03 03:11:42 +00:00
|
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
|
public LearnInfo(PKM pk, MoveParseSource source)
|
|
|
|
|
{
|
|
|
|
|
IsGen2Pkm = pk.Format == 2 || pk.VC2;
|
|
|
|
|
Source = source;
|
2017-09-02 06:15:57 +00:00
|
|
|
|
}
|
|
|
|
|
}
|