using PkmnLib.Dynamic.Libraries;
using PkmnLib.Dynamic.Models;
namespace PkmnLib.Dynamic.Events;
///
/// Represents an event that occurs when a Pokémon capture attempt is made.
///
public class CaptureAttemptEvent : IEventData
{
///
public CaptureAttemptEvent(IPokemon target, CaptureResult result)
{
Target = target;
Result = result;
}
///
/// The Pokémon that is being captured.
///
public IPokemon Target { get; init; }
///
/// The result of the capture attempt.
///
public CaptureResult Result { get; init; }
///
public EventBatchId BatchId { get; init; }
}