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

            if (BlessNum != 0)
            {
                hash ^= BlessNum.GetHashCode();
            }
            if (BlessCost != 0)
            {
                hash ^= BlessCost.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (WeatherId != 0)
            {
                hash ^= WeatherId.GetHashCode();
            }
            if (BlessNum != 0)
            {
                hash ^= BlessNum.GetHashCode();
            }
            hash ^= BlessRandomPro.GetHashCode();
            if (BlessShowPro != 0)
            {
                hash ^= BlessShowPro.GetHashCode();
            }
            return(hash);
        }