2022-11-24 17:42:17 -08:00
|
|
|
namespace PKHeX.Core;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Parameters used to generate data for an encounter.
|
|
|
|
/// </summary>
|
2023-01-26 18:07:27 -08:00
|
|
|
/// <param name="Species">Species to generate.</param>
|
2022-11-24 17:42:17 -08:00
|
|
|
/// <param name="GenderRatio">Gender ratio byte.</param>
|
|
|
|
/// <param name="FlawlessIVs">Count of IVs that are perfect.</param>
|
|
|
|
/// <param name="RollCount">Count of shiny rolls allowed for the PID calculation.</param>
|
|
|
|
/// <param name="Height">Height value to generate. If zero, full random.</param>
|
|
|
|
/// <param name="Weight">Weight value to generate. If zero, full random.</param>
|
|
|
|
/// <param name="Scale">Scale value to generate. If zero, full random.</param>
|
|
|
|
/// <param name="Ability">Ability type to generate.</param>
|
|
|
|
/// <param name="Shiny">PID generation type.</param>
|
2022-12-01 22:40:11 -08:00
|
|
|
/// <param name="Nature">Nature specification.</param>
|
|
|
|
/// <param name="IVs">IV specification.</param>
|
2023-01-26 18:07:27 -08:00
|
|
|
public readonly record struct GenerateParam9(ushort Species, byte GenderRatio, byte FlawlessIVs, byte RollCount, byte Height,
|
2022-12-01 22:40:11 -08:00
|
|
|
byte Weight, byte Scale, AbilityPermission Ability = AbilityPermission.Any12, Shiny Shiny = Shiny.Random,
|
|
|
|
Nature Nature = Nature.Random, IndividualValueSet IVs = default);
|