Example #1
0
        public static void ShowEmoteList(TwitchChannel channel)
        {
            if (EmoteList == null)
            {
                EmoteList = new Controls.EmoteListPopup();
            }

            EmoteList.SetChannel(channel);

            EmoteList.Show();

            EmoteList.FormClosed += (s, e) =>
            {
                EmoteList = null;
            };
        }
Example #2
0
        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;
            };
        }
Example #3
0
 public static void SetEmoteListChannel(TwitchChannel channel)
 {
     EmoteList?.SetChannel(channel);
 }