示例#1
0
        /// <summary>
        /// 托管时拦截普通消息
        /// </summary>
        public bool Holdup(int op)
        {
            bool flag = true;

            if (op == 0)
            {
                return(flag);
            }
            for (int i = 0; i < FilterOperate.Length; i++)
            {
                if (GameUtils.BinaryCheck(FilterOperate[i], op))
                {
                    flag = false;
                }
            }
            return(flag);
        }