LambdaHack-0.11.0.1: A game engine library for tactical squad ASCII roguelike dungeon crawlers

Safe Haskell | None
Language | Haskell2010

Game.LambdaHack.Client.UI.HumanCmd

Description

Abstract syntax of human player commands.

Synopsis

- data CmdCategory
  - = CmdDashboard
  - | CmdItemMenu
  - | CmdMove
  - | CmdItem
  - | CmdAim
  - | CmdMeta
  - | CmdMouse
  - | CmdInternal
  - | CmdDebug
  - | CmdMinimal
- categoryDescription :: CmdCategory -> Text
- data CmdArea
  - = CaMessage
  - | CaMapLeader
  - | CaMapParty
  - | CaMap
  - | CaLevelNumber
  - | CaArenaName
  - | CaPercentSeen
  - | CaXhairDesc
  - | CaSelected
  - | CaCalmGauge
  - | CaCalmValue
  - | CaHPGauge
  - | CaHPValue
  - | CaLeaderDesc
- areaDescription :: CmdArea -> Text
- type CmdTriple = ([CmdCategory], Text, HumanCmd)
- data AimModeCmd = AimModeCmd {
  - exploration :: HumanCmd
  - aiming :: HumanCmd
  }
- data HumanCmd
  - = Macro [String]
  - | ByArea [(CmdArea, HumanCmd)]
  - | ByAimMode AimModeCmd
  - | ComposeIfLocal HumanCmd HumanCmd
  - | ComposeUnlessError HumanCmd HumanCmd
  - | Compose2ndLocal HumanCmd HumanCmd
  - | LoopOnNothing HumanCmd
  - | ExecuteIfClear HumanCmd
  - | Wait
  - | Wait10
  - | Yell
  - | MoveDir Vector
  - | RunDir Vector
  - | RunOnceAhead
  - | MoveOnceToXhair
  - | RunOnceToXhair
  - | ContinueToXhair
  - | MoveItem [CStore] CStore (Maybe Text) Bool
  - | Project
  - | Apply
  - | AlterDir
  - | AlterWithPointer
  - | CloseDir
  - | Help
  - | Hint
  - | ItemMenu
  - | MainMenu
  - | MainMenuAutoOn
  - | MainMenuAutoOff
  - | Dashboard
  - | GameDifficultyIncr Int
  - | GameFishToggle
  - | GameGoodsToggle
  - | GameWolfToggle
  - | GameKeeperToggle
  - | GameScenarioIncr Int
  - | GameRestart
  - | GameQuit
  - | GameDrop
  - | GameExit
  - | GameSave
  - | Doctrine
  - | Automate
  - | AutomateToggle
  - | AutomateBack
  - | ChooseItem ItemDialogMode
  - | ChooseItemMenu ItemDialogMode
  - | ChooseItemProject [TriggerItem]
  - | ChooseItemApply [TriggerItem]
  - | PickLeader Int
  - | PickLeaderWithPointer
  - | PointmanCycle Direction
  - | PointmanCycleLevel Direction
  - | SelectActor
  - | SelectNone
  - | SelectWithPointer
  - | Repeat Int
  - | RepeatLast Int
  - | Record
  - | AllHistory
  - | MarkVision Int
  - | MarkSmell
  - | MarkSuspect Int
  - | MarkAnim
  - | OverrideTut Int
  - | SettingsMenu
  - | ChallengeMenu
  - | PrintScreen
  - | Cancel
  - | Accept
  - | DetailCycle
  - | ClearTargetIfItemClear
  - | ItemClear
  - | MoveXhair Vector Int
  - | AimTgt
  - | AimFloor
  - | AimEnemy
  - | AimItem
  - | AimAscend Int
  - | EpsIncr Direction
  - | XhairUnknown
  - | XhairItem
  - | XhairStair Bool
  - | XhairPointerFloor
  - | XhairPointerMute
  - | XhairPointerEnemy
  - | AimPointerFloor
  - | AimPointerEnemy
- data TriggerItem = TriggerItem {
  - tiverb :: Part
  - tiobject :: Part
  - tisymbols :: [ContentSymbol ItemKind]
  }

# Documentation

data CmdCategory Source #

Constructors

CmdDashboard |
CmdItemMenu |
CmdMove |
CmdItem |
CmdAim |
CmdMeta |
CmdMouse |
CmdInternal |
CmdDebug |
CmdMinimal |

#### Instances

Instances details

Binary CmdCategory Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods put :: CmdCategory -> Put Source # get :: Get CmdCategory Source # putList :: [CmdCategory] -> Put Source #
NFData CmdCategory Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods rnf :: CmdCategory -> () Source #
Generic CmdCategory Source # |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Associated Types

type Rep CmdCategory |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep CmdCategory = D1 ('MetaData "CmdCategory" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.11.0.1-BLuOaw8nuizISmzkanqI8h" 'False) (((C1 ('MetaCons "CmdDashboard" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CmdItemMenu" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CmdMove" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CmdItem" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CmdAim" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "CmdMeta" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CmdMouse" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CmdInternal" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CmdDebug" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CmdMinimal" 'PrefixI 'False) (U1 :: Type -> Type)))))

Methods

from :: CmdCategory -> Rep CmdCategory x Source #

to :: Rep CmdCategory x -> CmdCategory Source #

Read CmdCategory Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods readsPrec :: Int -> ReadS CmdCategory Source # readList :: ReadS [CmdCategory] Source # readPrec :: ReadPrec CmdCategory Source # readListPrec :: ReadPrec [CmdCategory] Source #
Show CmdCategory Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods showsPrec :: Int -> CmdCategory -> ShowS Source # show :: CmdCategory -> String Source # showList :: [CmdCategory] -> ShowS Source #
Eq CmdCategory Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods (==) :: CmdCategory -> CmdCategory -> Bool Source # (/=) :: CmdCategory -> CmdCategory -> Bool Source #
type Rep CmdCategory Source # |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep CmdCategory = D1 ('MetaData "CmdCategory" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.11.0.1-BLuOaw8nuizISmzkanqI8h" 'False) (((C1 ('MetaCons "CmdDashboard" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CmdItemMenu" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CmdMove" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CmdItem" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CmdAim" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "CmdMeta" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CmdMouse" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CmdInternal" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CmdDebug" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CmdMinimal" 'PrefixI 'False) (U1 :: Type -> Type)))))

categoryDescription :: CmdCategory -> Text Source #

data CmdArea Source #

Symbolic representation of areas of the screen used to define the meaning of mouse button presses relative to where the mouse points to.

Constructors

CaMessage |
CaMapLeader |
CaMapParty |
CaMap |
CaLevelNumber |
CaArenaName |
CaPercentSeen |
CaXhairDesc |
CaSelected |
CaCalmGauge |
CaCalmValue |
CaHPGauge |
CaHPValue |
CaLeaderDesc |

#### Instances

Instances details

Binary CmdArea Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods put :: CmdArea -> Put Source # get :: Get CmdArea Source # putList :: [CmdArea] -> Put Source #
NFData CmdArea Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods rnf :: CmdArea -> () Source #
Generic CmdArea Source # |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Associated Types

type Rep CmdArea |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep CmdArea = D1 ('MetaData "CmdArea" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.11.0.1-BLuOaw8nuizISmzkanqI8h" 'False) (((C1 ('MetaCons "CaMessage" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CaMapLeader" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaMapParty" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "CaMap" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaLevelNumber" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CaArenaName" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaPercentSeen" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "CaXhairDesc" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CaSelected" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaCalmGauge" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "CaCalmValue" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaHPGauge" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CaHPValue" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaLeaderDesc" 'PrefixI 'False) (U1 :: Type -> Type)))))

Methods

from :: CmdArea -> Rep CmdArea x Source #

to :: Rep CmdArea x -> CmdArea Source #

Read CmdArea Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods readsPrec :: Int -> ReadS CmdArea Source # readList :: ReadS [CmdArea] Source # readPrec :: ReadPrec CmdArea Source # readListPrec :: ReadPrec [CmdArea] Source #
Show CmdArea Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods showsPrec :: Int -> CmdArea -> ShowS Source # show :: CmdArea -> String Source # showList :: [CmdArea] -> ShowS Source #
Eq CmdArea Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods (==) :: CmdArea -> CmdArea -> Bool Source # (/=) :: CmdArea -> CmdArea -> Bool Source #
Ord CmdArea Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods compare :: CmdArea -> CmdArea -> Ordering Source # (<) :: CmdArea -> CmdArea -> Bool Source # (<=) :: CmdArea -> CmdArea -> Bool Source # (>) :: CmdArea -> CmdArea -> Bool Source # (>=) :: CmdArea -> CmdArea -> Bool Source # max :: CmdArea -> CmdArea -> CmdArea Source # min :: CmdArea -> CmdArea -> CmdArea Source #
type Rep CmdArea Source # |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep CmdArea = D1 ('MetaData "CmdArea" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.11.0.1-BLuOaw8nuizISmzkanqI8h" 'False) (((C1 ('MetaCons "CaMessage" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CaMapLeader" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaMapParty" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "CaMap" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaLevelNumber" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CaArenaName" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaPercentSeen" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "CaXhairDesc" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CaSelected" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaCalmGauge" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "CaCalmValue" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaHPGauge" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CaHPValue" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaLeaderDesc" 'PrefixI 'False) (U1 :: Type -> Type)))))

areaDescription :: CmdArea -> Text Source #

type CmdTriple = ([CmdCategory], Text, HumanCmd) Source #

This triple of command categories, description and the command term itself defines the meaning of a human command as entered via a keypress, mouse click or chosen from a menu.

data AimModeCmd Source #

Constructors

AimModeCmd |

Fields

- exploration :: HumanCmd
- aiming :: HumanCmd

#### Instances

Instances details

Binary AimModeCmd Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods put :: AimModeCmd -> Put Source # get :: Get AimModeCmd Source # putList :: [AimModeCmd] -> Put Source #
NFData AimModeCmd Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods rnf :: AimModeCmd -> () Source #
Generic AimModeCmd Source # |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Associated Types

type Rep AimModeCmd |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep AimModeCmd = D1 ('MetaData "AimModeCmd" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.11.0.1-BLuOaw8nuizISmzkanqI8h" 'False) (C1 ('MetaCons "AimModeCmd" 'PrefixI 'True) (S1 ('MetaSel ('Just "exploration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd) :*: S1 ('MetaSel ('Just "aiming") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd)))

Methods

from :: AimModeCmd -> Rep AimModeCmd x Source #

to :: Rep AimModeCmd x -> AimModeCmd Source #

Read AimModeCmd Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods readsPrec :: Int -> ReadS AimModeCmd Source # readList :: ReadS [AimModeCmd] Source # readPrec :: ReadPrec AimModeCmd Source # readListPrec :: ReadPrec [AimModeCmd] Source #
Show AimModeCmd Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods showsPrec :: Int -> AimModeCmd -> ShowS Source # show :: AimModeCmd -> String Source # showList :: [AimModeCmd] -> ShowS Source #
Eq AimModeCmd Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods (==) :: AimModeCmd -> AimModeCmd -> Bool Source # (/=) :: AimModeCmd -> AimModeCmd -> Bool Source #
Ord AimModeCmd Source # |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Methods

compare :: AimModeCmd -> AimModeCmd -> Ordering Source #

(<) :: AimModeCmd -> AimModeCmd -> Bool Source #

(<=) :: AimModeCmd -> AimModeCmd -> Bool Source #

(>) :: AimModeCmd -> AimModeCmd -> Bool Source #

(>=) :: AimModeCmd -> AimModeCmd -> Bool Source #

max :: AimModeCmd -> AimModeCmd -> AimModeCmd Source #

min :: AimModeCmd -> AimModeCmd -> AimModeCmd Source #

type Rep AimModeCmd Source # |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep AimModeCmd = D1 ('MetaData "AimModeCmd" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.11.0.1-BLuOaw8nuizISmzkanqI8h" 'False) (C1 ('MetaCons "AimModeCmd" 'PrefixI 'True) (S1 ('MetaSel ('Just "exploration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd) :*: S1 ('MetaSel ('Just "aiming") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd)))

data HumanCmd Source #

Abstract syntax of human player commands.

Constructors

Macro [String] |
ByArea [(CmdArea, HumanCmd)] |
ByAimMode AimModeCmd |
ComposeIfLocal HumanCmd HumanCmd |
ComposeUnlessError HumanCmd HumanCmd |
Compose2ndLocal HumanCmd HumanCmd |
LoopOnNothing HumanCmd |
ExecuteIfClear HumanCmd |
Wait |
Wait10 |
Yell |
MoveDir Vector |
RunDir Vector |
RunOnceAhead |
MoveOnceToXhair |
RunOnceToXhair |
ContinueToXhair |
MoveItem [CStore] CStore (Maybe Text) Bool |
Project |
Apply |
AlterDir |
AlterWithPointer |
CloseDir |
Help |
Hint |
ItemMenu |
MainMenu |
MainMenuAutoOn |
MainMenuAutoOff |
Dashboard |
GameDifficultyIncr Int |
GameFishToggle |
GameGoodsToggle |
GameWolfToggle |
GameKeeperToggle |
GameScenarioIncr Int |
GameRestart |
GameQuit |
GameDrop |
GameExit |
GameSave |
Doctrine |
Automate |
AutomateToggle |
AutomateBack |
ChooseItem ItemDialogMode |
ChooseItemMenu ItemDialogMode |
ChooseItemProject [TriggerItem] |
ChooseItemApply [TriggerItem] |
PickLeader Int |
PickLeaderWithPointer |
PointmanCycle Direction |
PointmanCycleLevel Direction |
SelectActor |
SelectNone |
SelectWithPointer |
Repeat Int |
RepeatLast Int |
Record |
AllHistory |
MarkVision Int |
MarkSmell |
MarkSuspect Int |
MarkAnim |
OverrideTut Int |
SettingsMenu |
ChallengeMenu |
PrintScreen |
Cancel |
Accept |
DetailCycle |
ClearTargetIfItemClear |
ItemClear |
MoveXhair Vector Int |
AimTgt |
AimFloor |
AimEnemy |
AimItem |
AimAscend Int |
EpsIncr Direction |
XhairUnknown |
XhairItem |
XhairStair Bool |
XhairPointerFloor |
XhairPointerMute |
XhairPointerEnemy |
AimPointerFloor |
AimPointerEnemy |

#### Instances

Instances details

Binary HumanCmd Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods put :: HumanCmd -> Put Source # get :: Get HumanCmd Source # putList :: [HumanCmd] -> Put Source #
NFData HumanCmd Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods rnf :: HumanCmd -> () Source #
Generic HumanCmd Source # |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Associated Types

type Rep HumanCmd |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep HumanCmd = D1 ('MetaData "HumanCmd" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.11.0.1-BLuOaw8nuizISmzkanqI8h" 'False) ((((((C1 ('MetaCons "Macro" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [String])) :+: C1 ('MetaCons "ByArea" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [(CmdArea, HumanCmd)]))) :+: (C1 ('MetaCons "ByAimMode" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AimModeCmd)) :+: (C1 ('MetaCons "ComposeIfLocal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd)) :+: C1 ('MetaCons "ComposeUnlessError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd))))) :+: ((C1 ('MetaCons "Compose2ndLocal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd)) :+: (C1 ('MetaCons "LoopOnNothing" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd)) :+: C1 ('MetaCons "ExecuteIfClear" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd)))) :+: (C1 ('MetaCons "Wait" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Wait10" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Yell" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "MoveDir" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Vector)) :+: C1 ('MetaCons "RunDir" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Vector))) :+: (C1 ('MetaCons "RunOnceAhead" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MoveOnceToXhair" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RunOnceToXhair" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ContinueToXhair" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MoveItem" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CStore]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CStore)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))) :+: C1 ('MetaCons "Project" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Apply" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AlterDir" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlterWithPointer" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "CloseDir" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Help" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Hint" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ItemMenu" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MainMenu" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "MainMenuAutoOn" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MainMenuAutoOff" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Dashboard" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "GameDifficultyIncr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: (C1 ('MetaCons "GameFishToggle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GameGoodsToggle" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "GameWolfToggle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GameKeeperToggle" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GameScenarioIncr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: (C1 ('MetaCons "GameRestart" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GameQuit" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "GameDrop" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GameExit" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GameSave" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Doctrine" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Automate" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AutomateToggle" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "AutomateBack" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ChooseItem" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ItemDialogMode))) :+: (C1 ('MetaCons "ChooseItemMenu" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ItemDialogMode)) :+: (C1 ('MetaCons "ChooseItemProject" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TriggerItem])) :+: C1 ('MetaCons "ChooseItemApply" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TriggerItem]))))) :+: ((C1 ('MetaCons "PickLeader" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: (C1 ('MetaCons "PickLeaderWithPointer" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PointmanCycle" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Direction)))) :+: (C1 ('MetaCons "PointmanCycleLevel" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Direction)) :+: (C1 ('MetaCons "SelectActor" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SelectNone" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "SelectWithPointer" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Repeat" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :+: (C1 ('MetaCons "RepeatLast" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: (C1 ('MetaCons "Record" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AllHistory" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "MarkVision" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: (C1 ('MetaCons "MarkSmell" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MarkSuspect" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) :+: (C1 ('MetaCons "MarkAnim" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OverrideTut" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: C1 ('MetaCons "SettingsMenu" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "ChallengeMenu" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PrintScreen" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Cancel" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Accept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DetailCycle" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ClearTargetIfItemClear" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ItemClear" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MoveXhair" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Vector) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) :+: (C1 ('MetaCons "AimTgt" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AimFloor" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AimEnemy" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "AimItem" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AimAscend" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :+: (C1 ('MetaCons "EpsIncr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Direction)) :+: (C1 ('MetaCons "XhairUnknown" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XhairItem" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "XhairStair" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :+: (C1 ('MetaCons "XhairPointerFloor" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XhairPointerMute" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "XhairPointerEnemy" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AimPointerFloor" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AimPointerEnemy" 'PrefixI 'False) (U1 :: Type -> Type))))))))

Methods

from :: HumanCmd -> Rep HumanCmd x Source #

to :: Rep HumanCmd x -> HumanCmd Source #

Read HumanCmd Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods readsPrec :: Int -> ReadS HumanCmd Source # readList :: ReadS [HumanCmd] Source # readPrec :: ReadPrec HumanCmd Source # readListPrec :: ReadPrec [HumanCmd] Source #
Show HumanCmd Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods showsPrec :: Int -> HumanCmd -> ShowS Source # show :: HumanCmd -> String Source # showList :: [HumanCmd] -> ShowS Source #
Eq HumanCmd Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods (==) :: HumanCmd -> HumanCmd -> Bool Source # (/=) :: HumanCmd -> HumanCmd -> Bool Source #
Ord HumanCmd Source # |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Methods

compare :: HumanCmd -> HumanCmd -> Ordering Source #

(<) :: HumanCmd -> HumanCmd -> Bool Source #

(<=) :: HumanCmd -> HumanCmd -> Bool Source #

(>) :: HumanCmd -> HumanCmd -> Bool Source #

(>=) :: HumanCmd -> HumanCmd -> Bool Source #

max :: HumanCmd -> HumanCmd -> HumanCmd Source #

min :: HumanCmd -> HumanCmd -> HumanCmd Source #

type Rep HumanCmd Source # |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep HumanCmd = D1 ('MetaData "HumanCmd" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.11.0.1-BLuOaw8nuizISmzkanqI8h" 'False) ((((((C1 ('MetaCons "Macro" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [String])) :+: C1 ('MetaCons "ByArea" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [(CmdArea, HumanCmd)]))) :+: (C1 ('MetaCons "ByAimMode" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AimModeCmd)) :+: (C1 ('MetaCons "ComposeIfLocal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd)) :+: C1 ('MetaCons "ComposeUnlessError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd))))) :+: ((C1 ('MetaCons "Compose2ndLocal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd)) :+: (C1 ('MetaCons "LoopOnNothing" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd)) :+: C1 ('MetaCons "ExecuteIfClear" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanCmd)))) :+: (C1 ('MetaCons "Wait" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Wait10" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Yell" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "MoveDir" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Vector)) :+: C1 ('MetaCons "RunDir" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Vector))) :+: (C1 ('MetaCons "RunOnceAhead" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MoveOnceToXhair" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RunOnceToXhair" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ContinueToXhair" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MoveItem" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CStore]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CStore)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))) :+: C1 ('MetaCons "Project" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Apply" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AlterDir" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlterWithPointer" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "CloseDir" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Help" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Hint" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ItemMenu" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MainMenu" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "MainMenuAutoOn" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MainMenuAutoOff" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Dashboard" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "GameDifficultyIncr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: (C1 ('MetaCons "GameFishToggle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GameGoodsToggle" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "GameWolfToggle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GameKeeperToggle" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GameScenarioIncr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: (C1 ('MetaCons "GameRestart" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GameQuit" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "GameDrop" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GameExit" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GameSave" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Doctrine" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Automate" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AutomateToggle" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "AutomateBack" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ChooseItem" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ItemDialogMode))) :+: (C1 ('MetaCons "ChooseItemMenu" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ItemDialogMode)) :+: (C1 ('MetaCons "ChooseItemProject" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TriggerItem])) :+: C1 ('MetaCons "ChooseItemApply" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TriggerItem]))))) :+: ((C1 ('MetaCons "PickLeader" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: (C1 ('MetaCons "PickLeaderWithPointer" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PointmanCycle" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Direction)))) :+: (C1 ('MetaCons "PointmanCycleLevel" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Direction)) :+: (C1 ('MetaCons "SelectActor" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SelectNone" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "SelectWithPointer" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Repeat" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :+: (C1 ('MetaCons "RepeatLast" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: (C1 ('MetaCons "Record" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AllHistory" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "MarkVision" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: (C1 ('MetaCons "MarkSmell" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MarkSuspect" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) :+: (C1 ('MetaCons "MarkAnim" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OverrideTut" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: C1 ('MetaCons "SettingsMenu" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "ChallengeMenu" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PrintScreen" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Cancel" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Accept" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DetailCycle" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ClearTargetIfItemClear" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ItemClear" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MoveXhair" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Vector) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) :+: (C1 ('MetaCons "AimTgt" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AimFloor" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AimEnemy" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "AimItem" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AimAscend" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :+: (C1 ('MetaCons "EpsIncr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Direction)) :+: (C1 ('MetaCons "XhairUnknown" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XhairItem" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "XhairStair" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :+: (C1 ('MetaCons "XhairPointerFloor" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XhairPointerMute" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "XhairPointerEnemy" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AimPointerFloor" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AimPointerEnemy" 'PrefixI 'False) (U1 :: Type -> Type))))))))

data TriggerItem Source #

Description of how item manipulation is triggered and communicated to the player.

Constructors

TriggerItem |

Fields

- tiverb :: Part
- tiobject :: Part
- tisymbols :: [ContentSymbol ItemKind]

#### Instances

Instances details

Binary TriggerItem Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods put :: TriggerItem -> Put Source # get :: Get TriggerItem Source # putList :: [TriggerItem] -> Put Source #
NFData TriggerItem Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods rnf :: TriggerItem -> () Source #
Generic TriggerItem Source # |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Associated Types

type Rep TriggerItem |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep TriggerItem = D1 ('MetaData "TriggerItem" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.11.0.1-BLuOaw8nuizISmzkanqI8h" 'False) (C1 ('MetaCons "TriggerItem" 'PrefixI 'True) (S1 ('MetaSel ('Just "tiverb") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Part) :*: (S1 ('MetaSel ('Just "tiobject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Part) :*: S1 ('MetaSel ('Just "tisymbols") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ContentSymbol ItemKind]))))

Methods

from :: TriggerItem -> Rep TriggerItem x Source #

to :: Rep TriggerItem x -> TriggerItem Source #

Read TriggerItem Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods readsPrec :: Int -> ReadS TriggerItem Source # readList :: ReadS [TriggerItem] Source # readPrec :: ReadPrec TriggerItem Source # readListPrec :: ReadPrec [TriggerItem] Source #
Show TriggerItem Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods showsPrec :: Int -> TriggerItem -> ShowS Source # show :: TriggerItem -> String Source # showList :: [TriggerItem] -> ShowS Source #
Eq TriggerItem Source # |
Instance details Defined in Game.LambdaHack.Client.UI.HumanCmd Methods (==) :: TriggerItem -> TriggerItem -> Bool Source # (/=) :: TriggerItem -> TriggerItem -> Bool Source #
Ord TriggerItem Source # |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Methods

compare :: TriggerItem -> TriggerItem -> Ordering Source #

(<) :: TriggerItem -> TriggerItem -> Bool Source #

(<=) :: TriggerItem -> TriggerItem -> Bool Source #

(>) :: TriggerItem -> TriggerItem -> Bool Source #

(>=) :: TriggerItem -> TriggerItem -> Bool Source #

max :: TriggerItem -> TriggerItem -> TriggerItem Source #

min :: TriggerItem -> TriggerItem -> TriggerItem Source #

type Rep TriggerItem Source # |

Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep TriggerItem = D1 ('MetaData "TriggerItem" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.11.0.1-BLuOaw8nuizISmzkanqI8h" 'False) (C1 ('MetaCons "TriggerItem" 'PrefixI 'True) (S1 ('MetaSel ('Just "tiverb") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Part) :*: (S1 ('MetaSel ('Just "tiobject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Part) :*: S1 ('MetaSel ('Just "tisymbols") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ContentSymbol ItemKind]))))