Implementation of Pokeballs
This commit is contained in:
19
PkmnLib.Dynamic/Events/CaptureAttemptEvent.cs
Normal file
19
PkmnLib.Dynamic/Events/CaptureAttemptEvent.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using PkmnLib.Dynamic.Libraries;
|
||||
using PkmnLib.Dynamic.Models;
|
||||
|
||||
namespace PkmnLib.Dynamic.Events;
|
||||
|
||||
public class CaptureAttemptEvent : IEventData
|
||||
{
|
||||
public CaptureAttemptEvent(IPokemon target, CaptureResult result)
|
||||
{
|
||||
Target = target;
|
||||
Result = result;
|
||||
}
|
||||
|
||||
public IPokemon Target { get; init; }
|
||||
public CaptureResult Result { get; init; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public EventBatchId BatchId { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user