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

            if (HasId)
            {
                hash ^= Id.GetHashCode();
            }
            if (HasBattleTag)
            {
                hash ^= BattleTag.GetHashCode();
            }
            if (HasCreator)
            {
                hash ^= Creator.GetHashCode();
            }
            hash ^= attribute_.GetHashCode();
            if (HasReason)
            {
                hash ^= Reason.GetHashCode();
            }
            if (HasCreationTime)
            {
                hash ^= CreationTime.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AccountPaid != false)
            {
                hash ^= AccountPaid.GetHashCode();
            }
            if (CountryId != 0)
            {
                hash ^= CountryId.GetHashCode();
            }
            if (BattleTag.Length != 0)
            {
                hash ^= BattleTag.GetHashCode();
            }
            if (ManualReview != false)
            {
                hash ^= ManualReview.GetHashCode();
            }
            if (identity_ != null)
            {
                hash ^= Identity.GetHashCode();
            }
            if (AccountMuted != false)
            {
                hash ^= AccountMuted.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HasAccountId)
            {
                hash ^= AccountId.GetHashCode();
            }
            if (HasBattleTag)
            {
                hash ^= BattleTag.GetHashCode();
            }
            hash ^= role_.GetHashCode();
            if (HasPrivileges)
            {
                hash ^= Privileges.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }