Implements dataloading

This commit is contained in:
2024-08-18 14:22:50 +02:00
parent 488c717c5a
commit d48889e21a
36 changed files with 105526 additions and 15 deletions

View File

@@ -21,7 +21,7 @@ public record LevelEvolution : IEvolution
/// <summary>
/// The level at which the Pokémon evolves.
/// </summary>
public required uint Level { get; init; }
public required LevelInt Level { get; init; }
/// <inheritdoc />
public required StringKey ToSpecies { get; init; }
@@ -35,7 +35,7 @@ public record LevelGenderEvolution : IEvolution
/// <summary>
/// The level at which the Pokémon evolves.
/// </summary>
public required uint Level { get; init; }
public required LevelInt Level { get; init; }
/// <summary>
/// The gender the Pokémon needs to have to evolve
@@ -227,7 +227,7 @@ public record CustomEvolution : IEvolution
/// <summary>
/// The parameters of the custom evolution method.
/// </summary>
public required IReadOnlyDictionary<StringKey, object> Parameters { get; init; }
public required IReadOnlyDictionary<StringKey, object?> Parameters { get; init; }
/// <inheritdoc />
public required StringKey ToSpecies { get; init; }