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);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

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