Changed DeleteEvent
This commit is contained in:
parent
bab434a834
commit
9d943b2df3
@ -39,9 +39,10 @@ inline fun <reified T> Event.requireAs(): T {
|
|||||||
return this as? T ?: throw IllegalArgumentException("Expected ${T::class.java.name}, got ${this::class.java.name}")
|
return this as? T ?: throw IllegalArgumentException("Expected ${T::class.java.name}, got ${this::class.java.name}")
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract class DeleteEvent: Event() {
|
abstract class DeleteEvent(
|
||||||
open lateinit var deletedEventId: UUID
|
open val deletedEventId: UUID
|
||||||
}
|
) : Event()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user