public EncounterSlot7GO(EncounterArea7g area, int species, int form, Shiny shiny, PogoType type) : base(area) { Species = species; Form = form; LevelMin = type.GetMinLevel(); LevelMax = EncountersGO.MAX_LEVEL; Shiny = shiny; Type = type; }
protected EncounterSlotGO(EncounterArea area, int start, int end, Shiny shiny, PogoType type) : base(area) { LevelMin = type.GetMinLevel(); LevelMax = EncountersGO.MAX_LEVEL; Start = start; End = end; Shiny = shiny; Type = type; }
public EncounterSlot8GO(EncounterArea8g area, int species, int form, GameVersion gameVersion, PogoType type, Shiny shiny, int start, int end) : base(area) { Species = species; Form = form; LevelMin = type.GetMinLevel(); LevelMax = 40; Start = start; End = end; Shiny = shiny; Type = type; OriginGroup = gameVersion; }
public EncounterSlot8GO(EncounterArea8g area, int species, int form, int start, int end, Shiny shiny, PogoType type, GameVersion originGroup) : base(area, start, end, shiny, type) { Species = species; Form = form; OriginGroup = originGroup; }
/// <summary> /// Gets the minimum level (relative to GO's 1-<see cref="EncountersGO.MAX_LEVEL"/>) the <see cref="encounterType"/> must have. /// </summary> /// <param name="encounterType">Descriptor indicating how the Pokémon was encountered in GO.</param> public static int GetMinLevel(this PogoType encounterType) => encounterType switch {
public EncounterSlot7GO(EncounterArea7g area, int species, int form, int start, int end, Shiny shiny, PogoType type) : base(area, start, end, shiny, type) { Species = species; Form = form; }
public static bool IsShadow(this PogoType t) => t == PogoType.Shadow;
public static int GetMinLevel(this PogoType t) => t switch {