AttachmentManager

Functions

Link copied to clipboard
fun <A : Attachment, T : AttachmentType<A>> addAttachment(player: Player, type: T): A
Link copied to clipboard
fun hasAttachment(player: Player, type: AttachmentType<*>): Boolean
Link copied to clipboard
fun Listener.registerEvent(eventClass: Class<out Event>)
fun Listener.registerEvent(eventClass: KClass<out Event>)
Link copied to clipboard
fun Listener.registerEventFirst(eventClass: Class<out Event>)
fun Listener.registerEventFirst(eventClass: KClass<out Event>)
Link copied to clipboard
fun Listener.registerEvents()
Link copied to clipboard
fun Listener.registerEventsExcept(vararg eventClasses: Class<out Event>)
fun Listener.registerEventsExcept(vararg eventClasses: KClass<out Event>)
Link copied to clipboard
fun Listener.registerEventsFirst()
Link copied to clipboard
fun removeAttachment(player: Player, type: AttachmentType<*>)
Link copied to clipboard
fun Listener.unregisterEvents()