Skip to main content
Corvus Connection

ITitsApi

Interface
TheOmenDen.StreamPulse.Scripting.ITitsApiTITS (Twitch Integrated Throwing System) control + read operations available inside a script handler (spec 042), bound to the local TITS connection. Every method is failure-safe: a disconnected TITS, an unknown item/trigger name, a request error, or an unexpected throw is logged (a stable message only, never confidential data) and surfaced as a benign no-op (actions) or an Empty result (queries). A failing call can never propagate out of a node. Query results are the failure-safe records below, so callers bind fields without guards.

Members

5
  • ActivateTriggerAsync
    method
    Task ActivateTriggerAsync(string trigger, CancellationToken cancellationToken = default)
    Activates a named trigger (a bundle of items, sound, and count). A blank name no-ops.
  • GetItemInfoAsync
    method
    Task<TitsItemLookup> GetItemInfoAsync(string item, CancellationToken cancellationToken = default)
    Resolves an item by name; Exists is false when not found or offline.
  • ListItemsAsync
    method
    Task<TitsNameIdList> ListItemsAsync(CancellationToken cancellationToken = default)
    Lists the available items as parallel id / name lists.
  • ListTriggersAsync
    method
    Task<TitsNameIdList> ListTriggersAsync(CancellationToken cancellationToken = default)
    Lists the configured triggers as parallel id / name lists.
  • ThrowItemsAsync
    method
    Task ThrowItemsAsync(string item, int count = default, double delaySeconds = default, CancellationToken cancellationToken = default)
    Throws a named item count times, with delaySeconds between throws. A blank name no-ops.