Example #1
0
        public bool Equals(GroupUserBase input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     GroupId == input.GroupId ||
                     (GroupId.Equals(input.GroupId))
                     ) &&
                 (
                     DestinyUserInfo == input.DestinyUserInfo ||
                     (DestinyUserInfo != null && DestinyUserInfo.Equals(input.DestinyUserInfo))
                 ) &&
                 (
                     BungieNetUserInfo == input.BungieNetUserInfo ||
                     (BungieNetUserInfo != null && BungieNetUserInfo.Equals(input.BungieNetUserInfo))
                 ) &&
                 (
                     JoinDate == input.JoinDate ||
                     (JoinDate != null && JoinDate.Equals(input.JoinDate))
                 ));
        }
        public bool Equals(GroupPotentialMember input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     PotentialStatus == input.PotentialStatus ||
                     (PotentialStatus != null && PotentialStatus.Equals(input.PotentialStatus))
                     ) &&
                 (
                     GroupId == input.GroupId ||
                     (GroupId.Equals(input.GroupId))
                 ) &&
                 (
                     DestinyUserInfo == input.DestinyUserInfo ||
                     (DestinyUserInfo != null && DestinyUserInfo.Equals(input.DestinyUserInfo))
                 ) &&
                 (
                     BungieNetUserInfo == input.BungieNetUserInfo ||
                     (BungieNetUserInfo != null && BungieNetUserInfo.Equals(input.BungieNetUserInfo))
                 ) &&
                 (
                     JoinDate == input.JoinDate ||
                     (JoinDate != null && JoinDate.Equals(input.JoinDate))
                 ));
        }
Example #3
0
        public bool Equals(DestinyPlayer input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DestinyUserInfo == input.DestinyUserInfo ||
                     (DestinyUserInfo != null && DestinyUserInfo.Equals(input.DestinyUserInfo))
                     ) &&
                 (
                     CharacterClass == input.CharacterClass ||
                     (CharacterClass != null && CharacterClass.Equals(input.CharacterClass))
                 ) &&
                 (
                     ClassHash == input.ClassHash ||
                     (ClassHash.Equals(input.ClassHash))
                 ) &&
                 (
                     RaceHash == input.RaceHash ||
                     (RaceHash.Equals(input.RaceHash))
                 ) &&
                 (
                     GenderHash == input.GenderHash ||
                     (GenderHash.Equals(input.GenderHash))
                 ) &&
                 (
                     CharacterLevel == input.CharacterLevel ||
                     (CharacterLevel.Equals(input.CharacterLevel))
                 ) &&
                 (
                     LightLevel == input.LightLevel ||
                     (LightLevel.Equals(input.LightLevel))
                 ) &&
                 (
                     BungieNetUserInfo == input.BungieNetUserInfo ||
                     (BungieNetUserInfo != null && BungieNetUserInfo.Equals(input.BungieNetUserInfo))
                 ) &&
                 (
                     ClanName == input.ClanName ||
                     (ClanName != null && ClanName.Equals(input.ClanName))
                 ) &&
                 (
                     ClanTag == input.ClanTag ||
                     (ClanTag != null && ClanTag.Equals(input.ClanTag))
                 ) &&
                 (
                     EmblemHash == input.EmblemHash ||
                     (EmblemHash.Equals(input.EmblemHash))
                 ));
        }
Example #4
0
        public bool Equals(GroupMemberApplication input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     GroupId == input.GroupId ||
                     (GroupId.Equals(input.GroupId))
                     ) &&
                 (
                     CreationDate == input.CreationDate ||
                     (CreationDate != null && CreationDate.Equals(input.CreationDate))
                 ) &&
                 (
                     ResolveState == input.ResolveState ||
                     (ResolveState != null && ResolveState.Equals(input.ResolveState))
                 ) &&
                 (
                     ResolveDate == input.ResolveDate ||
                     (ResolveDate != null && ResolveDate.Equals(input.ResolveDate))
                 ) &&
                 (
                     ResolvedByMembershipId == input.ResolvedByMembershipId ||
                     (ResolvedByMembershipId.Equals(input.ResolvedByMembershipId))
                 ) &&
                 (
                     RequestMessage == input.RequestMessage ||
                     (RequestMessage != null && RequestMessage.Equals(input.RequestMessage))
                 ) &&
                 (
                     ResolveMessage == input.ResolveMessage ||
                     (ResolveMessage != null && ResolveMessage.Equals(input.ResolveMessage))
                 ) &&
                 (
                     DestinyUserInfo == input.DestinyUserInfo ||
                     (DestinyUserInfo != null && DestinyUserInfo.Equals(input.DestinyUserInfo))
                 ) &&
                 (
                     BungieNetUserInfo == input.BungieNetUserInfo ||
                     (BungieNetUserInfo != null && BungieNetUserInfo.Equals(input.BungieNetUserInfo))
                 ));
        }
Example #5
0
        public bool Equals(GroupMember input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     MemberType == input.MemberType ||
                     (MemberType != null && MemberType.Equals(input.MemberType))
                     ) &&
                 (
                     IsOnline == input.IsOnline ||
                     (IsOnline != null && IsOnline.Equals(input.IsOnline))
                 ) &&
                 (
                     LastOnlineStatusChange == input.LastOnlineStatusChange ||
                     (LastOnlineStatusChange.Equals(input.LastOnlineStatusChange))
                 ) &&
                 (
                     GroupId == input.GroupId ||
                     (GroupId.Equals(input.GroupId))
                 ) &&
                 (
                     DestinyUserInfo == input.DestinyUserInfo ||
                     (DestinyUserInfo != null && DestinyUserInfo.Equals(input.DestinyUserInfo))
                 ) &&
                 (
                     BungieNetUserInfo == input.BungieNetUserInfo ||
                     (BungieNetUserInfo != null && BungieNetUserInfo.Equals(input.BungieNetUserInfo))
                 ) &&
                 (
                     JoinDate == input.JoinDate ||
                     (JoinDate != null && JoinDate.Equals(input.JoinDate))
                 ));
        }
Example #6
0
        public bool Equals(FireteamMember input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DestinyUserInfo == input.DestinyUserInfo ||
                     (DestinyUserInfo != null && DestinyUserInfo.Equals(input.DestinyUserInfo))
                     ) &&
                 (
                     BungieNetUserInfo == input.BungieNetUserInfo ||
                     (BungieNetUserInfo != null && BungieNetUserInfo.Equals(input.BungieNetUserInfo))
                 ) &&
                 (
                     CharacterId == input.CharacterId ||
                     (CharacterId.Equals(input.CharacterId))
                 ) &&
                 (
                     DateJoined == input.DateJoined ||
                     (DateJoined != null && DateJoined.Equals(input.DateJoined))
                 ) &&
                 (
                     HasMicrophone == input.HasMicrophone ||
                     (HasMicrophone != null && HasMicrophone.Equals(input.HasMicrophone))
                 ) &&
                 (
                     LastPlatformInviteAttemptDate == input.LastPlatformInviteAttemptDate ||
                     (LastPlatformInviteAttemptDate != null && LastPlatformInviteAttemptDate.Equals(input.LastPlatformInviteAttemptDate))
                 ) &&
                 (
                     LastPlatformInviteAttemptResult == input.LastPlatformInviteAttemptResult ||
                     (LastPlatformInviteAttemptResult != null && LastPlatformInviteAttemptResult.Equals(input.LastPlatformInviteAttemptResult))
                 ));
        }