| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Game.LambdaHack.Client.UI.HumanCmd
Description
Abstract syntax of human player commands.
Synopsis
- data CmdCategory
- categoryDescription :: CmdCategory -> Text
- data CmdArea
- areaDescription :: CmdArea -> Text
- type CmdTriple = ([CmdCategory], Text, HumanCmd)
- data AimModeCmd = AimModeCmd {}
- 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 {}
Documentation
data CmdCategory Source #
Constructors
| CmdDashboard | |
| CmdItemMenu | |
| CmdMove | |
| CmdItem | |
| CmdAim | |
| CmdMeta | |
| CmdMouse | |
| CmdInternal | |
| CmdDebug | |
| CmdMinimal |
Instances
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
| Binary CmdArea Source # | |||||
| NFData CmdArea Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd | |||||
| Generic CmdArea Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd Associated Types
| |||||
| Read CmdArea Source # | |||||
| Show CmdArea Source # | |||||
| Eq CmdArea Source # | |||||
| Ord CmdArea Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd | |||||
| type Rep CmdArea Source # | |||||
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
| |
Instances
| Binary AimModeCmd Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd Methods put :: AimModeCmd -> Put Source # get :: Get AimModeCmd Source # putList :: [AimModeCmd] -> Put Source # | |||||
| NFData AimModeCmd Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd Methods rnf :: AimModeCmd -> () Source # | |||||
| Generic AimModeCmd Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd Associated Types
| |||||
| Read AimModeCmd Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd | |||||
| Show AimModeCmd Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd | |||||
| Eq AimModeCmd Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd Methods (==) :: AimModeCmd -> AimModeCmd -> Bool Source # (/=) :: AimModeCmd -> AimModeCmd -> Bool Source # | |||||
| Ord AimModeCmd Source # | |||||
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 # | |||||
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))) | |||||
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
| Binary HumanCmd Source # | |||||
| NFData HumanCmd Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd | |||||
| Generic HumanCmd Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd Associated Types
| |||||
| Read HumanCmd Source # | |||||
| Show HumanCmd Source # | |||||
| Eq HumanCmd Source # | |||||
| Ord HumanCmd Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd | |||||
| type Rep HumanCmd Source # | |||||
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 | |
Instances
| Binary TriggerItem Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd Methods put :: TriggerItem -> Put Source # get :: Get TriggerItem Source # putList :: [TriggerItem] -> Put Source # | |||||
| NFData TriggerItem Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd Methods rnf :: TriggerItem -> () Source # | |||||
| Generic TriggerItem Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd Associated Types
Methods from :: TriggerItem -> Rep TriggerItem x Source # to :: Rep TriggerItem x -> TriggerItem Source # | |||||
| Read TriggerItem Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd | |||||
| Show TriggerItem Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd | |||||
| Eq TriggerItem Source # | |||||
Defined in Game.LambdaHack.Client.UI.HumanCmd Methods (==) :: TriggerItem -> TriggerItem -> Bool Source # (/=) :: TriggerItem -> TriggerItem -> Bool Source # | |||||
| Ord TriggerItem Source # | |||||
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 # | |||||
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])))) | |||||