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

            if (Id != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (ActType != 0)
            {
                hash ^= ActType.GetHashCode();
            }
            if (Pro != 0)
            {
                hash ^= Pro.GetHashCode();
            }
            if (Power != 0)
            {
                hash ^= Power.GetHashCode();
            }
            if (DepartmentLevel != 0)
            {
                hash ^= DepartmentLevel.GetHashCode();
            }
            if (Title.Length != 0)
            {
                hash ^= Title.GetHashCode();
            }
            if (NeedTime != 0)
            {
                hash ^= NeedTime.GetHashCode();
            }
            hash ^= Fans.GetHashCode();
            hash ^= Consume.GetHashCode();
            hash ^= awards_.GetHashCode();
            if (RandomeFansNum != 0)
            {
                hash ^= RandomeFansNum.GetHashCode();
            }
            if (Order != 0)
            {
                hash ^= Order.GetHashCode();
            }
            if (MovieId != 0)
            {
                hash ^= MovieId.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (CardId != 0)
            {
                hash ^= CardId.GetHashCode();
            }
            if (Star != 0)
            {
                hash ^= Star.GetHashCode();
            }
            hash ^= Consume.GetHashCode();
            if (Gold != 0)
            {
                hash ^= Gold.GetHashCode();
            }
            hash ^= sceneIds_.GetHashCode();
            return(hash);
        }
Beispiel #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Player != 0)
            {
                hash ^= Player.GetHashCode();
            }
            if (Credit != 0)
            {
                hash ^= Credit.GetHashCode();
            }
            if (Evo != 0)
            {
                hash ^= Evo.GetHashCode();
            }
            if (StarNeed != 0)
            {
                hash ^= StarNeed.GetHashCode();
            }
            if (GoldNeed != 0)
            {
                hash ^= GoldNeed.GetHashCode();
            }
            hash ^= Consume.GetHashCode();
            if (Power != 0)
            {
                hash ^= Power.GetHashCode();
            }
            if (Desc.Length != 0)
            {
                hash ^= Desc.GetHashCode();
            }
            if (UseCardNum != 0)
            {
                hash ^= UseCardNum.GetHashCode();
            }
            return(hash);
        }