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

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            hash ^= chargeUpEffect_.GetHashCode();
            if (Pattern.Length != 0)
            {
                hash ^= Pattern.GetHashCode();
            }
            if (GlyphImage.Length != 0)
            {
                hash ^= GlyphImage.GetHashCode();
            }
            if (ProtegoPlayerSucceedTl.Length != 0)
            {
                hash ^= ProtegoPlayerSucceedTl.GetHashCode();
            }
            if (ProtegoPlayerFailedTl.Length != 0)
            {
                hash ^= ProtegoPlayerFailedTl.GetHashCode();
            }
            if (ProtegoPlayerSucceedIntroTl.Length != 0)
            {
                hash ^= ProtegoPlayerSucceedIntroTl.GetHashCode();
            }
            if (EndBurstEffect.Length != 0)
            {
                hash ^= EndBurstEffect.GetHashCode();
            }
            if (RngVfxTl.Length != 0)
            {
                hash ^= RngVfxTl.GetHashCode();
            }
            if (SpellRngLoopTl.Length != 0)
            {
                hash ^= SpellRngLoopTl.GetHashCode();
            }
            if (SpellRngSucceedTl.Length != 0)
            {
                hash ^= SpellRngSucceedTl.GetHashCode();
            }
            if (SpellRngFailTl.Length != 0)
            {
                hash ^= SpellRngFailTl.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }