Skip to main content
Corvus Connection

IRpgItemsApi

Interface
TheOmenDen.StreamPulse.Scripting.IRpgItemsApiRead access to the streamer's item catalog from a script (ctx.Rpg.Items, spec 062). Dispatches the same Mediator query the chat !item command and desktop authoring use (parity). Failure-safe: a retired/unknown slug or an unavailable RPG store yields null, never a throw.

Members

1
  • GetAsync
    method
    ValueTask<RpgItemInfo> GetAsync(string itemSlug, CancellationToken cancellationToken = default)
    The live item with this slug, or null when it's retired/absent (or RPG is unavailable).