PkmnLib.NET/PkmnLib.Static/Libraries/LibrarySettings.cs

18 lines
564 B
C#

namespace PkmnLib.Static.Libraries;
/// <summary>
/// General settings for the library.
/// </summary>
public record LibrarySettings
{
/// <summary>
/// The maximum level a Pokémon can reach.
/// </summary>
public required LevelInt MaxLevel { get; init; }
/// <summary>
/// The chance of a Pokémon being shiny, as the denominator of a fraction, where the nominator
/// is 1. For example, if this is 1000, then the chance of a Pokémon being shiny is 1/1000.
/// </summary>
public required uint ShinyRate { get; init; }
}