示例#1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (NoticeCode != 0)
            {
                hash ^= NoticeCode.GetHashCode();
            }
            hash ^= param_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (NoticeCode != 0)
            {
                hash ^= NoticeCode.GetHashCode();
            }
            if (Param.Length != 0)
            {
                hash ^= Param.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#3
0
    public void Notice(int code, params string[] param)
    {
        string str = string.Format(NoticeCode.GetStr(code), param);

        Debug.Log(NoticeCode.GetStr(code));
    }