mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-21 09:53:14 +00:00
ef3cb34387
* Make EvolutionCriteria struct 8 bytes per object instead of 26 Unify LevelMin/LevelMax to match EncounterTemplate bubble up precise array type for better iteration * Inline queue operations, less allocation * Inline some logic * Update EvolutionChain.cs * Improve clarity on duplicate move check * Search reverse For a dual stage chain, finds it first iteration rather than second.
14 lines
390 B
C#
14 lines
390 B
C#
namespace PKHeX.Core
|
|
{
|
|
/// <inheritdoc cref="EncounterTrade"/>
|
|
public abstract record EncounterTradeGB : EncounterTrade
|
|
{
|
|
protected EncounterTradeGB(int species, byte level, GameVersion game) : base(game)
|
|
{
|
|
Species = species;
|
|
Level = level;
|
|
}
|
|
|
|
public abstract override bool IsMatchExact(PKM pkm, IDexLevel dl);
|
|
}
|
|
}
|