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

            if (Uid != 0UL)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Recharge != 0)
            {
                hash ^= Recharge.GetHashCode();
            }
            if (Diamonds != 0)
            {
                hash ^= Diamonds.GetHashCode();
            }
            if (VipLevel != 0)
            {
                hash ^= VipLevel.GetHashCode();
            }
            if (Username.Length != 0)
            {
                hash ^= Username.GetHashCode();
            }
            return(hash);
        }