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

            if (typeCase_ == TypeOneofCase.Swish)
            {
                hash ^= Swish.GetHashCode();
            }
            if (typeCase_ == TypeOneofCase.Combat)
            {
                hash ^= Combat.GetHashCode();
            }
            if (typeCase_ == TypeOneofCase.Portkey)
            {
                hash ^= Portkey.GetHashCode();
            }
            if (typeCase_ == TypeOneofCase.Picture)
            {
                hash ^= Picture.GetHashCode();
            }
            if (SpellGmtId.Length != 0)
            {
                hash ^= SpellGmtId.GetHashCode();
            }
            hash ^= (int)typeCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (typeCase_ == TypeOneofCase.Swish)
            {
                hash ^= Swish.GetHashCode();
            }
            if (typeCase_ == TypeOneofCase.Combat)
            {
                hash ^= Combat.GetHashCode();
            }
            if (typeCase_ == TypeOneofCase.Portkey)
            {
                hash ^= Portkey.GetHashCode();
            }
            if (typeCase_ == TypeOneofCase.Picture)
            {
                hash ^= Picture.GetHashCode();
            }
            if (DisappearDelay != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DisappearDelay);
            }
            if (IntroText.Length != 0)
            {
                hash ^= IntroText.GetHashCode();
            }
            hash ^= stageSetupSequence_.GetHashCode();
            hash ^= stageCompletionSequence_.GetHashCode();
            if (SpellAimLayout.Length != 0)
            {
                hash ^= SpellAimLayout.GetHashCode();
            }
            hash ^= idleLoopTimelines_.GetHashCode();
            if (RngIntroTimeline.Length != 0)
            {
                hash ^= RngIntroTimeline.GetHashCode();
            }
            if (RngLoopTimeline.Length != 0)
            {
                hash ^= RngLoopTimeline.GetHashCode();
            }
            if (SpellFailedTimeline.Length != 0)
            {
                hash ^= SpellFailedTimeline.GetHashCode();
            }
            hash ^= combatSpellList_.GetHashCode();
            hash ^= (int)typeCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (typeCase_ == TypeOneofCase.Swish)
            {
                hash ^= Swish.GetHashCode();
            }
            if (typeCase_ == TypeOneofCase.Combat)
            {
                hash ^= Combat.GetHashCode();
            }
            hash ^= (int)typeCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }