This commit is contained in:
21
PkmnLib.Dynamic/Events/DisplaySpeciesChangeEvent.cs
Normal file
21
PkmnLib.Dynamic/Events/DisplaySpeciesChangeEvent.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using PkmnLib.Dynamic.Events;
|
||||
using PkmnLib.Static.Species;
|
||||
|
||||
namespace PkmnLib.Dynamic.Models;
|
||||
|
||||
public class DisplaySpeciesChangeEvent : IEventData
|
||||
{
|
||||
public IPokemon Pokemon { get; }
|
||||
public ISpecies? Species { get; }
|
||||
public IForm? Form { get; }
|
||||
|
||||
public DisplaySpeciesChangeEvent(IPokemon pokemon, ISpecies? species, IForm? form)
|
||||
{
|
||||
Pokemon = pokemon;
|
||||
Species = species;
|
||||
Form = form;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public EventBatchId BatchId { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user