Work on item use/evolutions
All checks were successful
Build / Build (push) Successful in 1m7s

This commit is contained in:
2025-08-18 11:57:03 +02:00
parent e5041ec5f0
commit f061ba2455
7 changed files with 157 additions and 12 deletions

View File

@@ -0,0 +1,28 @@
using PkmnLib.Dynamic.Models;
using PkmnLib.Static.Species;
namespace PkmnLib.Dynamic.Events;
public record EvolutionEvent : IEventData
{
public IPokemon Pokemon { get; }
public ISpecies Species { get; }
public IForm OriginalForm { get; }
public ISpecies NewSpecies { get; }
public IForm NewForm { get; }
public IEvolution Evolution { get; }
public EvolutionEvent(IPokemon pokemon, ISpecies species, IForm originalForm, ISpecies newSpecies, IForm newForm,
IEvolution evolution)
{
Pokemon = pokemon;
Species = species;
NewSpecies = newSpecies;
Evolution = evolution;
OriginalForm = originalForm;
NewForm = newForm;
}
/// <inheritdoc />
public EventBatchId BatchId { get; init; }
}