mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
978bcfa56f
Skip string fetch for Trade1 Set gender for Trade8 Add record to wrap Gen8 raid generate params, return & use bool for filtering results, fallback to unrestricted if none succeed Fix gender comparison for Entree5 slot Simplify gen2 ResetKey fetch (byte sum of Money/ID/OT(used) Closes #3970 by filtering gender inside the method like Encounter9RNG with an early return Adds IV filtering inside the method with an early return like Encounter9RNG
15 lines
756 B
C#
15 lines
756 B
C#
namespace PKHeX.Core;
|
|
|
|
/// <summary>
|
|
/// Parameters used to generate data for an encounter.
|
|
/// </summary>
|
|
/// <param name="Species">Species to generate.</param>
|
|
/// <param name="GenderRatio">Gender ratio byte.</param>
|
|
/// <param name="FlawlessIVs">Count of IVs that are perfect.</param>
|
|
/// <param name="Ability">Ability type to generate.</param>
|
|
/// <param name="Shiny">PID generation type.</param>
|
|
/// <param name="Nature">Nature specification.</param>
|
|
/// <param name="IVs">IV specification.</param>
|
|
public readonly record struct GenerateParam8(ushort Species, byte GenderRatio, byte FlawlessIVs,
|
|
AbilityPermission Ability = AbilityPermission.Any12, Shiny Shiny = Shiny.Random,
|
|
Nature Nature = Nature.Random, IndividualValueSet IVs = default);
|