using PkmnLib.Dynamic.Libraries; using PkmnLib.Dynamic.Models; using PkmnLib.Static; 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, IItem captureItem) { Target = target; Result = result; CaptureItem = captureItem; } /// /// The Pokémon that is being captured. /// public IPokemon Target { get; init; } /// /// The result of the capture attempt. /// public CaptureResult Result { get; init; } /// /// The item used to attempt the capture (e.g., a Poké Ball). /// public IItem CaptureItem { get; init; } /// public EventBatchId BatchId { get; init; } }