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

18 lines
560 B
C#
Raw Normal View History

2024-07-20 14:12:39 +00:00
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; }
2025-03-02 16:19:57 +00:00
2024-07-20 14:12:39 +00:00
/// <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; }
}