This commit is contained in:
19
PkmnLib.Dynamic/Events/ItemUseEvent.cs
Normal file
19
PkmnLib.Dynamic/Events/ItemUseEvent.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user