Esempio n. 1
0
        public bool Match(Decal.Adapter.ChatTextInterceptEventArgs e)
        {
            if (Pattern.IsMatch(e.Text) && (Color == -1 ? true : e.Color == Color))
            {
                return(true);
            }

            return(false);
        }
Esempio n. 2
0
        public bool Match(Decal.Adapter.ChatTextInterceptEventArgs e)
        {
            // Match the message and the color (but only match color if
            // we set a Color to match)
            if (Pattern.IsMatch(e.Text) && (Color == -1 ? true : e.Color == Color))
            {
                return(true);
            }

            return(false);
        }