PKHeX/PKHeX.Core/Legality/Structures/ValidEncounterMoves.cs
Kurt 3f38b123a3 Refactoring
mostly renaming things, includes a little bit of added sugar and
splitting methods to simplify the codebase.

all methods are now PascalCase
2017-06-17 18:37:19 -07:00

20 lines
721 B
C#

using System.Collections.Generic;
using System.Linq;
namespace PKHeX.Core
{
public class ValidEncounterMoves
{
public int EncounterSpecies { get; set; }
public DexLevel[][] EvolutionChains { get; set; }
public List<int>[] LevelUpMoves { get; set; } = Empty;
public List<int>[] TMHMMoves { get; set; } = Empty;
public List<int>[] TutorMoves { get; set; } = Empty;
public int[] Relearn = new int[0];
public int MinimumLevelGen1 { get; set; }
public int MinimumLevelGen2 { get; set; }
private const int EmptyCount = 7;
private static readonly List<int>[] Empty = new int[EmptyCount].Select(z => new List<int>()).ToArray();
}
}