mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-05 02:09:41 +00:00
eac3804c7b
DexLevel was the initial abstraction, which was expanded/reused for evolution details I should probably merge the two classes since everything is passed as EvoCriteria The encounter generators do some silly form fuzzy match which can now be more accurately checked since I've moved Form to DexLevel... maybe a future commit can clean that up. encounterarea2 was reusing this class, just use a throwaway readonly struct as our temp value storage
19 lines
No EOL
444 B
C#
19 lines
No EOL
444 B
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Small general purpose value passing object with misc data pertaining to an encountered Species.
|
|
/// </summary>
|
|
public class DexLevel
|
|
{
|
|
public readonly int Species;
|
|
public readonly int Form;
|
|
|
|
public int Level { get; set; }
|
|
|
|
protected DexLevel(int species, int form)
|
|
{
|
|
Species = species;
|
|
Form = form;
|
|
}
|
|
}
|
|
} |