Deukhoofd e5041ec5f0
All checks were successful
Build / Build (push) Successful in 1m11s
Fixes for Pokemon capture
2025-08-08 12:45:27 +02:00

19 lines
411 B
C#

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