mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +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.
33 lines
969 B
C#
33 lines
969 B
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Encounter Slot found in <see cref="GameVersion.Gen3"/>.
|
|
/// </summary>
|
|
/// <inheritdoc cref="EncounterSlot"/>
|
|
public class EncounterSlot3 : EncounterSlot, IMagnetStatic, INumberedSlot
|
|
{
|
|
public sealed override int Generation => 3;
|
|
|
|
public int StaticIndex { get; }
|
|
public int MagnetPullIndex { get; }
|
|
public int StaticCount { get; }
|
|
public int MagnetPullCount { get; }
|
|
|
|
public int SlotNumber { get; }
|
|
|
|
public EncounterSlot3(EncounterArea3 area, int species, int form, int min, int max, int slot, int mpi, int mpc, int sti, int stc) : base(area)
|
|
{
|
|
Species = species;
|
|
Form = form;
|
|
LevelMin = min;
|
|
LevelMax = max;
|
|
SlotNumber = slot;
|
|
|
|
MagnetPullIndex = mpi;
|
|
MagnetPullCount = mpc;
|
|
|
|
StaticIndex = sti;
|
|
StaticCount = stc;
|
|
}
|
|
}
|
|
}
|