Additional functionality

This commit is contained in:
2024-09-30 19:23:56 +02:00
parent 4c34910a43
commit b01a8fb704
9 changed files with 171 additions and 5 deletions

View File

@@ -0,0 +1,21 @@
using PkmnLib.Dynamic.Models;
namespace PkmnLib.Dynamic.Events;
public class ExperienceGainEvent : IEventData
{
public ExperienceGainEvent(IPokemon pokemon, uint previousExperience, uint newExperience)
{
Pokemon = pokemon;
PreviousExperience = previousExperience;
NewExperience = newExperience;
}
public IPokemon Pokemon { get; set; }
public uint PreviousExperience { get; }
public uint NewExperience { get; }
/// <inheritdoc />
public EventBatchId BatchId { get; init; }
}