コード例 #1
0
ファイル: BeanMicroBog.cs プロジェクト: linxscc/LoveGame
        public override int GetHashCode()
        {
            int hash = 1;

            if (SceneId != 0)
            {
                hash ^= SceneId.GetHashCode();
            }
            if (TalkId != 0)
            {
                hash ^= TalkId.GetHashCode();
            }
            if (SceneName.Length != 0)
            {
                hash ^= SceneName.GetHashCode();
            }
            if (HeadId != 0)
            {
                hash ^= HeadId.GetHashCode();
            }
            if (PicId != 0)
            {
                hash ^= PicId.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Blogger.Length != 0)
            {
                hash ^= Blogger.GetHashCode();
            }
            if (BtnTxt.Length != 0)
            {
                hash ^= BtnTxt.GetHashCode();
            }
            if (Content.Length != 0)
            {
                hash ^= Content.GetHashCode();
            }
            if (Reading != 0)
            {
                hash ^= Reading.GetHashCode();
            }
            if (Comments != 0)
            {
                hash ^= Comments.GetHashCode();
            }
            if (Likes != 0)
            {
                hash ^= Likes.GetHashCode();
            }
            hash ^= selectIds_.GetHashCode();
            return(hash);
        }