예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (user_ != null)
            {
                hash ^= User.GetHashCode();
            }
            if (SendTimeMs != 0L)
            {
                hash ^= SendTimeMs.GetHashCode();
            }
            if (GiftId != 0L)
            {
                hash ^= GiftId.GetHashCode();
            }
            if (Count != 0)
            {
                hash ^= Count.GetHashCode();
            }
            if (Combo != 0)
            {
                hash ^= Combo.GetHashCode();
            }
            if (Value != 0L)
            {
                hash ^= Value.GetHashCode();
            }
            if (ComboId.Length != 0)
            {
                hash ^= ComboId.GetHashCode();
            }
            if (SlotDisplayDurationMs != 0L)
            {
                hash ^= SlotDisplayDurationMs.GetHashCode();
            }
            if (ExpireDurationMs != 0L)
            {
                hash ^= ExpireDurationMs.GetHashCode();
            }
            if (drawGiftInfo_ != null)
            {
                hash ^= DrawGiftInfo.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Content.Length != 0)
            {
                hash ^= Content.GetHashCode();
            }
            if (SendTimeMs != 0L)
            {
                hash ^= SendTimeMs.GetHashCode();
            }
            if (userInfo_ != null)
            {
                hash ^= UserInfo.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }