mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 00:37:11 +00:00
5d3bc289b6
Mark things as sealed as they shouldn't be inherited from or overriden in a derived class.
29 lines
850 B
C#
29 lines
850 B
C#
namespace PKHeX.Core
|
|
{
|
|
public class EncounterSlot3 : EncounterSlot, IMagnetStatic, INumberedSlot
|
|
{
|
|
public sealed override int Generation => 3;
|
|
|
|
public int StaticIndex { get; set; }
|
|
public int MagnetPullIndex { get; set; }
|
|
public int StaticCount { get; set; }
|
|
public int MagnetPullCount { get; set; }
|
|
|
|
public int SlotNumber { get; set; }
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|