@jsprismarine/prismarine
Version:
Dedicated Minecraft Bedrock Edition server written in TypeScript
17 lines • 380 B
TypeScript
export declare class Event {
/**
* Set to true if a subscriber has cancelled the event.
* @private
*/
private cancelled;
/**
* Is the event cancelled
* @returns {boolean} Whether the event is cancelled
*/
isCancelled(): boolean;
/**
* Cancel the event
*/
preventDefault(): void;
}
//# sourceMappingURL=Event.d.ts.map