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

            if (TargetEmail.Length != 0)
            {
                hash ^= TargetEmail.GetHashCode();
            }
            if (TargetBattleTag.Length != 0)
            {
                hash ^= TargetBattleTag.GetHashCode();
            }
            if (InviterBattleTag.Length != 0)
            {
                hash ^= InviterBattleTag.GetHashCode();
            }
            if (InviterFullName.Length != 0)
            {
                hash ^= InviterFullName.GetHashCode();
            }
            if (InviteeDisplayName.Length != 0)
            {
                hash ^= InviteeDisplayName.GetHashCode();
            }
            hash ^= role_.GetHashCode();
            hash ^= previousRoleDeprecated_.GetHashCode();
            if (friendParams_ != null)
            {
                hash ^= FriendParams.GetHashCode();
            }
            return(hash);
        }