Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ItemType != 0)
            {
                hash ^= ItemType.GetHashCode();
            }
            if (ReourceId != 0)
            {
                hash ^= ReourceId.GetHashCode();
            }
            if (Reource != 0)
            {
                hash ^= Reource.GetHashCode();
            }
            if (EffectValue != 0)
            {
                hash ^= EffectValue.GetHashCode();
            }
            if (appearInfo_ != null)
            {
                hash ^= AppearInfo.GetHashCode();
            }
            if (Speed != 0)
            {
                hash ^= Speed.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ItemType != 0)
            {
                hash ^= ItemType.GetHashCode();
            }
            if (ReourceId != 0)
            {
                hash ^= ReourceId.GetHashCode();
            }
            if (Reource != 0)
            {
                hash ^= Reource.GetHashCode();
            }
            if (Count != 0)
            {
                hash ^= Count.GetHashCode();
            }
            if (Group != 0)
            {
                hash ^= Group.GetHashCode();
            }
            return(hash);
        }