mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-18 08:23:12 +00:00
1486b7f14a
Remove move combobox flicker hack (no longer necessary) Add more Array.Empty usages cache mysterygift sizes seal some classes no functionality changes
37 lines
1 KiB
C#
37 lines
1 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace PKHeX.Core
|
|
{
|
|
internal class LearnInfo
|
|
{
|
|
public bool MixedGen12NonTradeback { get; set; }
|
|
public List<int> Gen1Moves { get; } = new List<int>();
|
|
public List<int> Gen2PreevoMoves { get; } = new List<int>();
|
|
public List<int> EggMovesLearned { get; } = new List<int>();
|
|
public List<int> LevelUpEggMoves { get; } = new List<int>();
|
|
public List<int> EventEggMoves { get; } = new List<int>();
|
|
public List<int> IncenseMoves { get; } = new List<int>();
|
|
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;
|
|
}
|
|
}
|