Further work on static side
This commit is contained in:
18
PkmnLib.Static/Libraries/LibrarySettings.cs
Normal file
18
PkmnLib.Static/Libraries/LibrarySettings.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user