コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Evolution != 0)
            {
                hash ^= Evolution.GetHashCode();
            }
            if (EvolutionItemRequirement != 0)
            {
                hash ^= EvolutionItemRequirement.GetHashCode();
            }
            if (CandyCost != 0)
            {
                hash ^= CandyCost.GetHashCode();
            }
            if (KmBuddyDistanceRequirement != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(KmBuddyDistanceRequirement);
            }
            if (Form != 0)
            {
                hash ^= Form.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #2
0
ファイル: EvolutionBranch.g.cs プロジェクト: msx752/CoreBot
        public override int GetHashCode()
        {
            int hash = 1;

            if (Evolution != 0)
            {
                hash ^= Evolution.GetHashCode();
            }
            if (EvolutionItemRequirement != 0)
            {
                hash ^= EvolutionItemRequirement.GetHashCode();
            }
            if (CandyCost != 0)
            {
                hash ^= CandyCost.GetHashCode();
            }
            return(hash);
        }
コード例 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (CardId != 0)
            {
                hash ^= CardId.GetHashCode();
            }
            if (Num != 0)
            {
                hash ^= Num.GetHashCode();
            }
            if (Level != 0)
            {
                hash ^= Level.GetHashCode();
            }
            if (Exp != 0)
            {
                hash ^= Exp.GetHashCode();
            }
            if (Star != 0)
            {
                hash ^= Star.GetHashCode();
            }
            if (Evolution != 0)
            {
                hash ^= Evolution.GetHashCode();
            }
            if (UseEvo != 0)
            {
                hash ^= UseEvo.GetHashCode();
            }
            if (MemoriesNum != 0)
            {
                hash ^= MemoriesNum.GetHashCode();
            }
            return(hash);
        }