| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Game.LambdaHack.Client.Request
Description
Abstract syntax of requests.
See https://github.com/LambdaHack/LambdaHack/wiki/Client-server-architecture.
Documentation
type RequestAI = (ReqAI, Maybe ActorId) Source #
Requests sent by AI clients to the server. If faction leader is to be changed, it's included as the second component.
Possible forms of requests sent by AI clients.
Constructors
| ReqAINop | |
| ReqAITimed RequestTimed |
type RequestUI = (ReqUI, Maybe ActorId) Source #
Requests sent by UI clients to the server. If faction leader is to be changed, it's included as the second component.
Possible forms of requests sent by UI clients.
data RequestTimed Source #
Requests that take game time.
Constructors
Instances
| Show RequestTimed Source # | |
Defined in Game.LambdaHack.Client.Request Methods showsPrec :: Int -> RequestTimed -> ShowS # show :: RequestTimed -> String # showList :: [RequestTimed] -> ShowS # | |