All Downloads are FREE. Search and download functionalities are using the official Maven repository.

walkmc.event.Cancellable.kt Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package walkmc.event

/**
 * Represents a cancellable state of a event.
 *
 * Events with this interface can be cancelled in any time and not be executed
 * if the current cancellable state of the event is true.
 */
interface Cancellable {
	
	/**
	 * The current state of cancellation of the event.
	 *
	 * A cancelled event will not be executed in the server,
	 * but will still pass to other plugins
	 */
	var isCancelled: Boolean
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy