Set Max per User Per Stream
Set's the maxmimum number of redeems possible per user per stream
Parameters
Reward
Select required
Select the channel point reward
Redeems
int required
The number of redeems to set, this value can be a variable
Additive
boolean required
Whether or not the redeem value is to be added to the Reward's current max per user per stream
Variables
Name | Type | Description |
---|---|---|
No data |
C# Usage
Updates the total maximum amount of redemptions per stream, per user, for the specified reward
0.2.4
public void UpdateRewardMaxPerUserPerStream(string rewardId, long redeems, bool additive = false)
rewardIdstring required redeemslong required Amount of maximum redemptions per stream
additivebooltrue
- Will add the value of redeems
parameter to the current amount of max redeems per userfalse
- Will set the current amount of max redeems per user to the value of redeems
parameter
CPH.UpdateRewardMaxPerUserPerStream(rewardId, redeems);
CPH.UpdateRewardMaxPerUserPerStream(rewardId, redeems, additive);