Fixes for Pokemon capture
All checks were successful
Build / Build (push) Successful in 1m11s

This commit is contained in:
2025-08-08 12:45:27 +02:00
parent a5675024a4
commit e5041ec5f0
4 changed files with 30 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
using PkmnLib.Dynamic.Models;
using PkmnLib.Static;
namespace PkmnLib.Dynamic.Events;
public record ItemUseEvent : IEventData
{
public ItemUseEvent(IPokemon pokemon, IItem itemUsed)
{
Pokemon = pokemon;
ItemUsed = itemUsed;
}
public IPokemon Pokemon { get; set; }
public IItem ItemUsed { get; set; }
/// <inheritdoc />
public EventBatchId BatchId { get; init; }
}