LogIn is back, but now it's a Server message

This commit is contained in:
Tissevert 2019-12-08 22:57:57 +01:00
parent ce31683fee
commit d32e61f927

View file

@ -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}