feat(websocket)!: Implement WebSocket connection and event handling
This commit is contained in:
@@ -5,9 +5,11 @@ import de.knockoutwhist.utils.events.SimpleEvent
|
||||
import java.util.UUID
|
||||
|
||||
trait PlayerSession {
|
||||
|
||||
|
||||
def id: UUID
|
||||
|
||||
def name: String
|
||||
|
||||
def updatePlayer(event: SimpleEvent): Unit
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user