Files
PkmnLib.NET/PkmnLib.Dynamic/Events/ItemUseEvent.cs

19 lines
423 B
C#

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