public static void ShowEmoteList(TwitchChannel channel) { if (EmoteList == null) { EmoteList = new Controls.EmoteListPopup(); } EmoteList.SetChannel(channel); EmoteList.Show(); EmoteList.FormClosed += (s, e) => { EmoteList = null; }; }
public static void ShowEmoteList(TwitchChannel channel, bool show_only_channel_emotes) { if (EmoteList == null) { EmoteList = new Controls.EmoteListPopup(); } EmoteList.setShowOnlyChannelEmotes(show_only_channel_emotes); EmoteList.SetChannel(channel); EmoteList.Show(); EmoteList.FormClosed += (s, e) => { EmoteList = null; }; }
public static void SetEmoteListChannel(TwitchChannel channel) { EmoteList?.SetChannel(channel); }