Link to ieventcancelable
This interface is extended by all Events that can be cancelled.
That means you can cancel them using CrT or check if they have been canceled.
Note that events that have been canceled before CrT receives them will not be checked by the handlers.
Also, if you register multiple handlers, and one of them cancels the event, the other CrT handlers will still receive it!
Importing the class
Link to importing-the-class
It might be required to import the class to avoid errors.
What can be done with them?
Link to what-can-be-done-with-them
event.cancel();Method, returns void (nothing).
event.canceled;Getter, returns a bool.
event.canceled = true;Setter