Skip to main content
Corvus Connection

IRpgLootApi

Interface
TheOmenDen.StreamPulse.Scripting.IRpgLootApiRolls loot for a viewer from a script (ctx.Rpg.Loot, spec 062). Dispatches the same seeded, audited roll+grant the chat/node/redeem paths run (parity) against the broadcaster's rpg.db. Failure-safe: a not-joined viewer, an unknown table, a gated-out feature, or any error yields null.

Members

1
  • RollAsync
    method
    ValueTask<RpgLootOutcome> RollAsync(string twitchUserId, string lootTableSlug, CancellationToken cancellationToken = default)
    Rolls the named loot table for the viewer and grants the result, or null on any failure.