feat(api): Implemented session closed and kick event via websocket
This commit is contained in:
12
knockoutwhistweb/app/events/UserEvent.scala
Normal file
12
knockoutwhistweb/app/events/UserEvent.scala
Normal file
@@ -0,0 +1,12 @@
|
||||
package events
|
||||
|
||||
import de.knockoutwhist.utils.events.SimpleEvent
|
||||
import model.users.User
|
||||
|
||||
import java.util.UUID
|
||||
|
||||
abstract class UserEvent(user: User) extends SimpleEvent {
|
||||
|
||||
def userId: UUID = user.id
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user