mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-21 19:23:51 +00:00
15 lines
417 B
C#
15 lines
417 B
C#
|
|
namespace Minecraft.Server.FourKit.Event;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Interface for events that can be cancelled by a plugin.
|
||
|
|
/// When cancelled, the server will skip the default action.
|
||
|
|
/// </summary>
|
||
|
|
public interface Cancellable
|
||
|
|
{
|
||
|
|
/// <summary>Gets whether this event is cancelled.</summary>
|
||
|
|
bool isCancelled();
|
||
|
|
|
||
|
|
/// <summary>Sets whether this event is cancelled.</summary>
|
||
|
|
void setCancelled(bool cancel);
|
||
|
|
}
|