Safe Haskell | None |
---|---|
Language | Haskell2010 |
Monadic operations on game messages.
Synopsis
- msgAddDuplicate :: MonadClientUI m => Text -> m Bool
- msgAdd :: MonadClientUI m => Text -> m ()
- promptAddDuplicate :: MonadClientUI m => Text -> Int -> m Bool
- promptAdd1 :: MonadClientUI m => Text -> m ()
- promptAdd0 :: MonadClientUI m => Text -> m ()
- promptMainKeys :: MonadClientUI m => m ()
- recordHistory :: MonadClientUI m => m ()
Documentation
msgAddDuplicate :: MonadClientUI m => Text -> m Bool Source #
Add a message to the current report.
msgAdd :: MonadClientUI m => Text -> m () Source #
Add a message to the current report. Do not report if it was a duplicate.
promptAddDuplicate :: MonadClientUI m => Text -> Int -> m Bool Source #
Add a prompt to the current report.
promptAdd1 :: MonadClientUI m => Text -> m () Source #
Add a prompt to the current report. Do not report if it was a duplicate.
promptAdd0 :: MonadClientUI m => Text -> m () Source #
Add a prompt to the current report with 0 copies for the purpose of collating cuplicates. Do not report if it was a duplicate.
promptMainKeys :: MonadClientUI m => m () Source #
Add a prompt with basic keys description.
recordHistory :: MonadClientUI m => m () Source #
Store new report in the history and archive old report.