PkmnLib.NET/PkmnLib.Dynamic/Events/EvolutionEvent.cs
Deukhoofd f061ba2455
All checks were successful
Build / Build (push) Successful in 1m7s
Work on item use/evolutions
2025-08-18 11:57:03 +02:00

28 lines
783 B
C#

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; }
}