Skip to content

UIFramework v1.6.0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Nov 20:26
· 14 commits to main since this release

Added

  • Custom triggers and methods are declared once. UiWindow.Trigger, Triggers (several that share their
    arguments) and Method say what a game offers the streamer's own actions. UiTriggers.Register in Init()
    registers the triggers from that list, and the Help page ends with Custom triggers and Methods for your own
    actions
    , each with its arguments, in English, German and Spanish.
  • Fire with sample values. A button under each trigger on the Help page has the game fire it once with its
    sample values, so an action that listens to it can be tried without playing a round.
  • UiLive: whether you are live. Twitch through its API with Streamer.bot's token, YouTube by the monitored
    broadcasts, Kick through its channel page; Live, Offline or Unknown, never an exception. Twitch and Kick
    are asked by the DLL, since the host block must compile in an action without System.dll. Trivia's own check
    moved here, and Hangman's automatic rounds use it.
  • tools\copy-host-block.ps1, and -Into / -HostName on update-host-block.ps1: the block a game carries
    goes into its other action and into hosts\<host>\HostBlock.cs in one step, with -Check to compare.

Changed

  • A conventions key hands on its requires, so the timer's intervals are greyed out with their switch in a
    game that declares them with key and default alone (already in 1.5.0, not listed there).
  • Trivia, Hangman, Blackjack and Battleship declare their triggers and methods this way.

SHA-256 of UIFramework.dll: e65a5cea249886e4e828572a4c9f8c0b471ad4670c2b0a6a27eb7be5313d3188