Safe Haskell | None |
---|---|
Language | Haskell2010 |
Possible causes of failure of request.
- data ReqFailure
- = MoveNothing
- | MeleeSelf
- | MeleeDistant
- | DisplaceDistant
- | DisplaceAccess
- | DisplaceProjectiles
- | DisplaceDying
- | DisplaceBraced
- | DisplaceImmobile
- | DisplaceSupported
- | AlterUnskilled
- | AlterUnwalked
- | AlterDistant
- | AlterBlockActor
- | AlterBlockItem
- | AlterNothing
- | EqpOverfull
- | EqpStackFull
- | ApplyUnskilled
- | ApplyRead
- | ApplyOutOfReach
- | ApplyCharging
- | ApplyNoEffects
- | ItemNothing
- | ItemNotCalm
- | NotCalmPrecious
- | ProjectUnskilled
- | ProjectAimOnself
- | ProjectBlockTerrain
- | ProjectBlockActor
- | ProjectLobable
- | ProjectOutOfReach
- | TriggerNothing
- | NoChangeDunLeader
- impossibleReqFailure :: ReqFailure -> Bool
- showReqFailure :: ReqFailure -> Text
- permittedPrecious :: Bool -> Bool -> ItemFull -> Either ReqFailure Bool
- permittedProject :: Bool -> Int -> Bool -> [Char] -> ItemFull -> Either ReqFailure Bool
- permittedProjectAI :: Int -> Bool -> ItemFull -> Bool
- permittedApply :: Time -> Int -> Bool -> [Char] -> ItemFull -> Either ReqFailure Bool
- permittedPreciousAI :: Bool -> ItemFull -> Bool
Documentation
data ReqFailure Source #
Possible causes of failure of request.
showReqFailure :: ReqFailure -> Text Source #
permittedPrecious :: Bool -> Bool -> ItemFull -> Either ReqFailure Bool Source #