mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
session state decoupled.
This commit is contained in:
@ -20,11 +20,8 @@ type SessionState struct {
|
||||
type Session interface {
|
||||
ID() string
|
||||
Profile() MemberProfile
|
||||
|
||||
// state
|
||||
IsHost() bool
|
||||
IsConnected() bool
|
||||
State() SessionState
|
||||
IsHost() bool
|
||||
|
||||
// websocket
|
||||
SetWebSocketPeer(websocketPeer WebSocketPeer)
|
||||
|
Reference in New Issue
Block a user