Document all undocumented methods and properties
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -4,8 +4,14 @@ using PkmnLib.Static.Libraries;
|
||||
|
||||
namespace PkmnLib.Dynamic.Libraries.DataLoaders;
|
||||
|
||||
/// <summary>
|
||||
/// Loads growth rate data from a JSON file.
|
||||
/// </summary>
|
||||
public static class GrowthRateDataLoader
|
||||
{
|
||||
/// <summary>
|
||||
/// Loads the growth rate library from a JSON file.
|
||||
/// </summary>
|
||||
public static GrowthRateLibrary LoadGrowthRates(Stream stream, Action<List<IGrowthRate>>? action = null)
|
||||
{
|
||||
var objects = JsonSerializer.Deserialize<Dictionary<string, uint[]>>(stream, JsonOptions.DefaultOptions)!;
|
||||
|
||||
Reference in New Issue
Block a user