Closed frankvHoof93 closed 8 months ago
TODO: Find a way to identify these gifts, so they can default to their streak-end event upon the first message.
This works fine in the python version, doesn't it?
Was this fixed?
This works fine in the python version, doesn't it?
yes infact it does work with python library.
Was this fixed?
if(e.Gift.Type == 1 && e.StreakFinished) { //Add Amount } else if(e.Gift.Type == 2) { //Add Amount } else if(e.Gift.Type == 4) { //Add Amount } else if(e.Gift.Type != 1){ //Unknown Type }
Only Type 1 have a Streak.
@Farliam93 thanks.. Going to update this in the next version. Any idea what the other 'types' would be? (I'd rather implement an enum than keep it as a uint if possible)
Resolved in v1.0.0
Some gifts seem to be non-streakable. These will never call their streak-end event.