mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-19 17:03:12 +00:00
1e13220e6e
egg,slot,static,link,trade need to be implemented later remove IEncounterable from PL6
26 lines
No EOL
883 B
C#
26 lines
No EOL
883 B
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Rejected Encounter Data containing a reason why the encounter was rejected (not compatible).
|
|
/// </summary>
|
|
public class EncounterRejected : IEncounterable
|
|
{
|
|
public readonly IEncounterable Encounter;
|
|
public readonly CheckResult Check;
|
|
public string Reason => Check.Comment;
|
|
|
|
public int Species => Encounter.Species;
|
|
public string Name => Encounter.Name;
|
|
public bool EggEncounter => Encounter.EggEncounter;
|
|
public int LevelMin => Encounter.LevelMin;
|
|
public int LevelMax => Encounter.LevelMax;
|
|
|
|
public EncounterRejected(IEncounterable encounter, CheckResult check)
|
|
{
|
|
Encounter = encounter;
|
|
Check = check;
|
|
}
|
|
|
|
public PKM ConvertToPKM(ITrainerInfo SAV) => throw new System.NotImplementedException();
|
|
}
|
|
} |