Details

Last Updated
3 years ago
First Uploaded
3 years ago
Downloads
54K
Likes
1
Size
762KB
Dependency string
willis81808-RoundsWithViewers-0.0.5
Dependants

Categories

Rounds With Viewers

Adds some new Twitch integrations to ROUNDS!

By default you'll get:

  • Automatic polls when selecting a card, letting viewers pick for you.
    • Uses native Twitch polls for card draws of 5 or less, and chat-based polls for larger hands
    • Poll length and bit voting can be configured
  • Three Channel Point rewards (also can be triggered by bits!):
    • Table Flip
    • Mass Curse
    • Shuffle Map

Modding API

You can easily create your own Channel Point Rewards using the RWV API.

Creating a custom Channel Point Reward

class TestReward: TwitchReward
{
    public override string GetTitle() => "Your Cool Reward";
    public override string GetPrompt() => "A super cool test reward for cool kids only";
    public override Color GetColor() => Color.red;

    public override IEnumerator OnRedeem()
    {
        yield return base.OnRedeem();
        Debug.Log($"A viewer redeemed {GetTitle()}!")
    }
}

Registering your custom reward with RWV:

void Start()
{
    RWV.RegisterReward<TestReward>();
}
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.