frankvHoof93 / TikTokLiveSharp

Port of TikTok live library for C#
https://vanhoof.dev
Other
139 stars 27 forks source link

[QUESTION] Gift Amount #39

Closed vashe96 closed 9 months ago

vashe96 commented 9 months ago

Now when OnGift() method is run, it occurs only once, when first gift is sended. If user send another one (uses gift stack), method is not running, Gift.Amount is always 1. How to figure it out?

vashe96 commented 9 months ago

Expored property gift.Gift.Type and gift.StreakFinished. Only gift.Gift.Type == 1 has streaks.