mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
69fafcab83
* Reuses move parse result objects for each encounter parsed in a LegalityCheck attempt, instead of creating a new object. * Ensures the objects are never-null, and makes cleanup easier. Slightly adjusts some other parts of the moveset validation to reduce allocations.
24 lines
420 B
C#
24 lines
420 B
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Indicates the method of learning a move
|
|
/// </summary>
|
|
public enum MoveSource : byte
|
|
{
|
|
NotParsed,
|
|
Unknown,
|
|
None,
|
|
Relearn,
|
|
Initial,
|
|
LevelUp,
|
|
TMHM,
|
|
Tutor,
|
|
EggMove,
|
|
InheritLevelUp,
|
|
Special,
|
|
SpecialEgg,
|
|
ShedinjaEvo,
|
|
Sketch,
|
|
Shared,
|
|
}
|
|
}
|