Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ItemLotId != 0)
            {
                hash ^= ItemLotId.GetHashCode();
            }
            if (ItemLotGroupId != 0)
            {
                hash ^= ItemLotGroupId.GetHashCode();
            }
            if (TrainerId != 0L)
            {
                hash ^= TrainerId.GetHashCode();
            }
            if (U4 != 0)
            {
                hash ^= U4.GetHashCode();
            }
            if (LuaPath.Length != 0)
            {
                hash ^= LuaPath.GetHashCode();
            }
            if (ItemLotItemId != 0)
            {
                hash ^= ItemLotItemId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ItemLotGroupId != 0)
            {
                hash ^= ItemLotGroupId.GetHashCode();
            }
            if (RepeatTime != 0)
            {
                hash ^= RepeatTime.GetHashCode();
            }
            hash ^= conditions_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }