2020-11-27 19:51:02 +00:00
|
|
|
namespace PKHeX.Core
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Encounter Slot found in <see cref="GameVersion.SWSH"/>.
|
|
|
|
/// </summary>
|
|
|
|
/// <inheritdoc cref="EncounterSlot"/>
|
2020-12-24 04:40:59 +00:00
|
|
|
public sealed record EncounterSlot8 : EncounterSlot
|
2020-11-27 19:51:02 +00:00
|
|
|
{
|
|
|
|
public readonly AreaWeather8 Weather;
|
|
|
|
public override string LongName => Weather == AreaWeather8.All ? wild : $"{wild} - {Weather.ToString().Replace("_", string.Empty)}";
|
|
|
|
public override int Generation => 8;
|
|
|
|
|
2021-01-01 18:53:05 +00:00
|
|
|
public EncounterSlot8(EncounterArea8 area, int species, int form, int min, int max, AreaWeather8 weather) : base(area, species, form, min, max)
|
2020-11-27 19:51:02 +00:00
|
|
|
{
|
|
|
|
Weather = weather;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|