mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
9b178fefe2
Move form-info logic from FormConverter to AltFormInfo; now FormConverter is entirely form=>string[] Add a bunch of xmldoc Make pogo no-end-date cmp agaisnt UTCnow rather than local now.
23 lines
770 B
C#
23 lines
770 B
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Encounter Slot found in <see cref="GameVersion.SWSH"/>.
|
|
/// </summary>
|
|
/// <inheritdoc cref="EncounterSlot"/>
|
|
public sealed class EncounterSlot8 : EncounterSlot
|
|
{
|
|
public readonly AreaWeather8 Weather;
|
|
public override string LongName => Weather == AreaWeather8.All ? wild : $"{wild} - {Weather.ToString().Replace("_", string.Empty)}";
|
|
public override int Generation => 8;
|
|
|
|
public EncounterSlot8(EncounterArea8 area, int specForm, int min, int max, AreaWeather8 weather) : base(area)
|
|
{
|
|
Species = specForm & 0x7FF;
|
|
Form = specForm >> 11;
|
|
LevelMin = min;
|
|
LevelMax = max;
|
|
|
|
Weather = weather;
|
|
}
|
|
}
|
|
}
|