19 lines
411 B
C#
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; }
|
|
} |