Implements dataloading
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user