Safe Haskell | None |
---|---|
Language | Haskell2010 |
The client UI session state.
- data SessionUI = SessionUI {
- sxhair :: Target
- sactorUI :: ActorDictUI
- sslots :: ItemSlots
- slastSlot :: SlotChar
- slastItemMove :: Maybe (CStore, CStore)
- schanF :: ChanFrontend
- sbinding :: Binding
- sUIOptions :: UIOptions
- 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
- newtype AimMode = AimMode {}
- data RunParams = RunParams {
- runLeader :: ActorId
- runMembers :: [ActorId]
- runInitial :: Bool
- runStopMsg :: Maybe Text
- runWaiting :: Int
- data LastRecord = LastRecord {
- currentKeys :: [KM]
- previousKeys :: [KM]
- freeSpace :: Int
- data KeysHintMode
- sreport :: SessionUI -> Report
- emptySessionUI :: UIOptions -> SessionUI
- 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 the frontend session.
SessionUI | |
|
Current aiming mode of a client.
Parameters of the current run.
RunParams | |
|
data LastRecord Source #
State of last recorded and currently being recorded key sequences.
LastRecord | |
|
data KeysHintMode Source #
emptySessionUI :: UIOptions -> SessionUI Source #
toggleMarkSmell :: SessionUI -> SessionUI Source #