Closed IgorAherne closed 8 months ago
@frankvHoof93 Can't do it, it won't let me place it because it's from metadata:
However, here is more info from the watch window, at the breakpoint above
I'm not sure how to find it man :D Are you sure that 'DowbloadGiftInfo' is set to true on the TTLManager
Could it be failing the cast because it confuses it for the TikTokLiveSharp.Models.HTTP.TikTokGift
instead of the TikTokLiveSharp.Events.MessageData.Objects.TikTokGift
?
yes it was because of ambiguity between those two, import it like this using TikTokLiveSharpGift = TikTokLiveSharp.Models.HTTP.TikTokGift; then cast it to TikTokLiveSharpGift
This should be resolved in V1.0.0. There is now also an implicit operator that will cast from the HTTP-TikTokGift to the Event-TikTokGift if needed. Please let me know if the issue persists in V1.0.0 by opening a new Github-Issue
Hello,
TikTokLiveManager.Instance.AvaialbleGifts
always return null, even ifTikTokLiveManager.Exists
is true and it's connected and working otherwise.When checking with breakpoints, it's saying null because the specified cast is not valid