Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 3
0
        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;
        }
Ejemplo n.º 4
0
        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;
        }
Ejemplo n.º 5
0
 /// <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
 {
Ejemplo n.º 6
0
 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;
 }
Ejemplo n.º 7
0
 public static bool IsShadow(this PogoType t) => t == PogoType.Shadow;
Ejemplo n.º 8
0
 public static int GetMinLevel(this PogoType t) => t switch
 {