CANCEL this event to prevent default behaviour!
new()
music:String
Music that is going to be played
options:Array<String>
All option names
recycle(music:String, options:Array<String>):PauseCreationEvent
@:value({ })data:Dynamic = { }
Additional data if used in scripts
destroy():Void
@:value({ c : false })preventDefault(c:Bool = false):Void
Prevents default action from occurring.
Parameters:
c
Whenever the scripts following this one should be called or not. (Defaults to true)
true
recycleBase():Void
toString():String
Returns a string representation of the event, in this format: [CancellableEvent] [CancellableEvent (Cancelled)]
[CancellableEvent]
[CancellableEvent (Cancelled)]
Returns:
String