mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-24 19:33:10 +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;
|
|
}
|
|
}
|
|
} |