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

            if (CanWatch != false)
            {
                hash ^= CanWatch.GetHashCode();
            }
            if (MaxAudiences != 0)
            {
                hash ^= MaxAudiences.GetHashCode();
            }
            if (DelayMS != 0)
            {
                hash ^= DelayMS.GetHashCode();
            }
            if (CacheMS != 0)
            {
                hash ^= CacheMS.GetHashCode();
            }
            if (BufferBytes != 0)
            {
                hash ^= BufferBytes.GetHashCode();
            }
            if (LastSize != 0)
            {
                hash ^= LastSize.GetHashCode();
            }
            if (NeedReplay != false)
            {
                hash ^= NeedReplay.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (RoomID != 0UL)
            {
                hash ^= RoomID.GetHashCode();
            }
            if (StartTS != 0UL)
            {
                hash ^= StartTS.GetHashCode();
            }
            if (DelayMS != 0)
            {
                hash ^= DelayMS.GetHashCode();
            }
            if (CacheMS != 0)
            {
                hash ^= CacheMS.GetHashCode();
            }
            if (MaxAudiences != 0)
            {
                hash ^= MaxAudiences.GetHashCode();
            }
            if (CurAudiences != 0)
            {
                hash ^= CurAudiences.GetHashCode();
            }
            if (PeakAudiences != 0)
            {
                hash ^= PeakAudiences.GetHashCode();
            }
            hash ^= lastAudiences_.GetHashCode();
            return(hash);
        }