LogIn is back, but now it's a Server message
This commit is contained in:
parent
ce31683fee
commit
d32e61f927
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ data T =
|
||||||
Relay {from :: PlayerID, message :: FromClient}
|
Relay {from :: PlayerID, message :: FromClient}
|
||||||
| Welcome {room :: Room, key :: PlayerID}
|
| Welcome {room :: Room, key :: PlayerID}
|
||||||
| Okaeri {room :: Room}
|
| Okaeri {room :: Room}
|
||||||
|
| LogIn {from :: PlayerID, as :: Text}
|
||||||
| Game {state :: PublicGame, logs :: [KoiKoi.Action]}
|
| Game {state :: PublicGame, logs :: [KoiKoi.Action]}
|
||||||
| Pong
|
| Pong
|
||||||
| Error {error :: String}
|
| Error {error :: String}
|
||||||
|
|
Loading…
Reference in a new issue