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

            if (rewards_ != null)
            {
                hash ^= Rewards.GetHashCode();
            }
            if (TimeToBrew != 0L)
            {
                hash ^= TimeToBrew.GetHashCode();
            }
            if (RecipeGmtId.Length != 0)
            {
                hash ^= RecipeGmtId.GetHashCode();
            }
            if (MasterNoteApplied != false)
            {
                hash ^= MasterNoteApplied.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (RecipeGmtId.Length != 0)
            {
                hash ^= RecipeGmtId.GetHashCode();
            }
            if (CauldronId != 0L)
            {
                hash ^= CauldronId.GetHashCode();
            }
            if (ingredientsToPurchase_ != null)
            {
                hash ^= IngredientsToPurchase.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }