Safe Haskell | None |
---|---|
Language | Haskell2010 |
The client UI session state.
- data SessionUI = SessionUI {
- sxhair :: !Target
- sactorUI :: !ActorDictUI
- sslots :: !ItemSlots
- slastSlot :: !SlotChar
- schanF :: !ChanFrontend
- sbinding :: !Binding
- sconfig :: !Config
- saimMode :: !(Maybe AimMode)
- sxhairMoused :: !Bool
- sitemSel :: !(Maybe (CStore, ItemId))
- sselected :: !(EnumSet ActorId)
- srunning :: !(Maybe RunParams)
- _sreport :: !Report
- shistory :: !History
- spointer :: !Point
- slastRecord :: !LastRecord
- slastPlay :: ![KM]
- slastLost :: !(EnumSet ActorId)
- swaitTimes :: !Int
- smarkVision :: !Bool
- smarkSmell :: !Bool
- smenuIxMap :: !(Map String Int)
- sdisplayNeeded :: !Bool
- skeysHintMode :: !KeysHintMode
- sstart :: !POSIXTime
- sgstart :: !POSIXTime
- sallTime :: !Time
- snframes :: !Int
- sallNframes :: !Int
- emptySessionUI :: Config -> SessionUI
- newtype AimMode = AimMode {}
- data RunParams = RunParams {
- runLeader :: !ActorId
- runMembers :: ![ActorId]
- runInitial :: !Bool
- runStopMsg :: !(Maybe Text)
- runWaiting :: !Int
- type LastRecord = ([KM], [KM], Int)
- data KeysHintMode
- toggleMarkVision :: SessionUI -> SessionUI
- toggleMarkSmell :: SessionUI -> SessionUI
- getActorUI :: ActorId -> SessionUI -> ActorUI
Documentation
The information that is used across a client playing session, including many consecutive games in a single session. Some of it is saved, some is reset when a new playing session starts. An important component is a frontend session.
SessionUI | |
|
emptySessionUI :: Config -> SessionUI Source #
Initial empty game client state.
Current aiming mode of a client.
Parameters of the current run.
RunParams | |
|
data KeysHintMode Source #
toggleMarkSmell :: SessionUI -> SessionUI Source #