public void Update(GroupPotentialMember?other)
 {
     if (other is null)
     {
         return;
     }
     if (PotentialStatus != other.PotentialStatus)
     {
         PotentialStatus = other.PotentialStatus;
         OnPropertyChanged(nameof(PotentialStatus));
     }
     if (GroupId != other.GroupId)
     {
         GroupId = other.GroupId;
         OnPropertyChanged(nameof(GroupId));
     }
     if (!DestinyUserInfo.DeepEquals(other.DestinyUserInfo))
     {
         DestinyUserInfo.Update(other.DestinyUserInfo);
         OnPropertyChanged(nameof(DestinyUserInfo));
     }
     if (!BungieNetUserInfo.DeepEquals(other.BungieNetUserInfo))
     {
         BungieNetUserInfo.Update(other.BungieNetUserInfo);
         OnPropertyChanged(nameof(BungieNetUserInfo));
     }
     if (JoinDate != other.JoinDate)
     {
         JoinDate = other.JoinDate;
         OnPropertyChanged(nameof(JoinDate));
     }
 }
 public void Update(GroupUserBase?other)
 {
     if (other is null)
     {
         return;
     }
     if (GroupId != other.GroupId)
     {
         GroupId = other.GroupId;
         OnPropertyChanged(nameof(GroupId));
     }
     if (!DestinyUserInfo.DeepEquals(other.DestinyUserInfo))
     {
         DestinyUserInfo.Update(other.DestinyUserInfo);
         OnPropertyChanged(nameof(DestinyUserInfo));
     }
     if (!BungieNetUserInfo.DeepEquals(other.BungieNetUserInfo))
     {
         BungieNetUserInfo.Update(other.BungieNetUserInfo);
         OnPropertyChanged(nameof(BungieNetUserInfo));
     }
     if (JoinDate != other.JoinDate)
     {
         JoinDate = other.JoinDate;
         OnPropertyChanged(nameof(JoinDate));
     }
 }
 public bool DeepEquals(GroupUserBase?other)
 {
     return(other is not null &&
            GroupId == other.GroupId &&
            (DestinyUserInfo is not null ? DestinyUserInfo.DeepEquals(other.DestinyUserInfo) : other.DestinyUserInfo is null) &&
            (BungieNetUserInfo is not null ? BungieNetUserInfo.DeepEquals(other.BungieNetUserInfo) : other.BungieNetUserInfo is null) &&
            JoinDate == other.JoinDate);
 }
 public bool DeepEquals(GroupPotentialMember?other)
 {
     return(other is not null &&
            PotentialStatus == other.PotentialStatus &&
            GroupId == other.GroupId &&
            (DestinyUserInfo is not null ? DestinyUserInfo.DeepEquals(other.DestinyUserInfo) : other.DestinyUserInfo is null) &&
            (BungieNetUserInfo is not null ? BungieNetUserInfo.DeepEquals(other.BungieNetUserInfo) : other.BungieNetUserInfo is null) &&
            JoinDate == other.JoinDate);
 }
Beispiel #5
0
 public bool DeepEquals(GroupMember?other)
 {
     return(other is not null &&
            MemberType == other.MemberType &&
            IsOnline == other.IsOnline &&
            LastOnlineStatusChange == other.LastOnlineStatusChange &&
            GroupId == other.GroupId &&
            (DestinyUserInfo is not null ? DestinyUserInfo.DeepEquals(other.DestinyUserInfo) : other.DestinyUserInfo is null) &&
            (BungieNetUserInfo is not null ? BungieNetUserInfo.DeepEquals(other.BungieNetUserInfo) : other.BungieNetUserInfo is null) &&
            JoinDate == other.JoinDate);
 }
Beispiel #6
0
 public bool DeepEquals(FireteamMember?other)
 {
     return(other is not null &&
            (DestinyUserInfo is not null ? DestinyUserInfo.DeepEquals(other.DestinyUserInfo) : other.DestinyUserInfo is null) &&
            (BungieNetUserInfo is not null ? BungieNetUserInfo.DeepEquals(other.BungieNetUserInfo) : other.BungieNetUserInfo is null) &&
            CharacterId == other.CharacterId &&
            DateJoined == other.DateJoined &&
            HasMicrophone == other.HasMicrophone &&
            LastPlatformInviteAttemptDate == other.LastPlatformInviteAttemptDate &&
            LastPlatformInviteAttemptResult == other.LastPlatformInviteAttemptResult);
 }
Beispiel #7
0
 public bool DeepEquals(GroupBan?other)
 {
     return(other is not null &&
            GroupId == other.GroupId &&
            (LastModifiedBy is not null ? LastModifiedBy.DeepEquals(other.LastModifiedBy) : other.LastModifiedBy is null) &&
            (CreatedBy is not null ? CreatedBy.DeepEquals(other.CreatedBy) : other.CreatedBy is null) &&
            DateBanned == other.DateBanned &&
            DateExpires == other.DateExpires &&
            Comment == other.Comment &&
            (BungieNetUserInfo is not null ? BungieNetUserInfo.DeepEquals(other.BungieNetUserInfo) : other.BungieNetUserInfo is null) &&
            (DestinyUserInfo is not null ? DestinyUserInfo.DeepEquals(other.DestinyUserInfo) : other.DestinyUserInfo is null));
 }
 public bool DeepEquals(DestinyPlayer?other)
 {
     return(other is not null &&
            (DestinyUserInfo is not null ? DestinyUserInfo.DeepEquals(other.DestinyUserInfo) : other.DestinyUserInfo is null) &&
            CharacterClass == other.CharacterClass &&
            ClassHash == other.ClassHash &&
            RaceHash == other.RaceHash &&
            GenderHash == other.GenderHash &&
            CharacterLevel == other.CharacterLevel &&
            LightLevel == other.LightLevel &&
            (BungieNetUserInfo is not null ? BungieNetUserInfo.DeepEquals(other.BungieNetUserInfo) : other.BungieNetUserInfo is null) &&
            ClanName == other.ClanName &&
            ClanTag == other.ClanTag &&
            EmblemHash == other.EmblemHash);
 }
Beispiel #9
0
 public void Update(GroupBan?other)
 {
     if (other is null)
     {
         return;
     }
     if (GroupId != other.GroupId)
     {
         GroupId = other.GroupId;
         OnPropertyChanged(nameof(GroupId));
     }
     if (!LastModifiedBy.DeepEquals(other.LastModifiedBy))
     {
         LastModifiedBy.Update(other.LastModifiedBy);
         OnPropertyChanged(nameof(LastModifiedBy));
     }
     if (!CreatedBy.DeepEquals(other.CreatedBy))
     {
         CreatedBy.Update(other.CreatedBy);
         OnPropertyChanged(nameof(CreatedBy));
     }
     if (DateBanned != other.DateBanned)
     {
         DateBanned = other.DateBanned;
         OnPropertyChanged(nameof(DateBanned));
     }
     if (DateExpires != other.DateExpires)
     {
         DateExpires = other.DateExpires;
         OnPropertyChanged(nameof(DateExpires));
     }
     if (Comment != other.Comment)
     {
         Comment = other.Comment;
         OnPropertyChanged(nameof(Comment));
     }
     if (!BungieNetUserInfo.DeepEquals(other.BungieNetUserInfo))
     {
         BungieNetUserInfo.Update(other.BungieNetUserInfo);
         OnPropertyChanged(nameof(BungieNetUserInfo));
     }
     if (!DestinyUserInfo.DeepEquals(other.DestinyUserInfo))
     {
         DestinyUserInfo.Update(other.DestinyUserInfo);
         OnPropertyChanged(nameof(DestinyUserInfo));
     }
 }
Beispiel #10
0
 public void Update(GroupMember?other)
 {
     if (other is null)
     {
         return;
     }
     if (MemberType != other.MemberType)
     {
         MemberType = other.MemberType;
         OnPropertyChanged(nameof(MemberType));
     }
     if (IsOnline != other.IsOnline)
     {
         IsOnline = other.IsOnline;
         OnPropertyChanged(nameof(IsOnline));
     }
     if (LastOnlineStatusChange != other.LastOnlineStatusChange)
     {
         LastOnlineStatusChange = other.LastOnlineStatusChange;
         OnPropertyChanged(nameof(LastOnlineStatusChange));
     }
     if (GroupId != other.GroupId)
     {
         GroupId = other.GroupId;
         OnPropertyChanged(nameof(GroupId));
     }
     if (!DestinyUserInfo.DeepEquals(other.DestinyUserInfo))
     {
         DestinyUserInfo.Update(other.DestinyUserInfo);
         OnPropertyChanged(nameof(DestinyUserInfo));
     }
     if (!BungieNetUserInfo.DeepEquals(other.BungieNetUserInfo))
     {
         BungieNetUserInfo.Update(other.BungieNetUserInfo);
         OnPropertyChanged(nameof(BungieNetUserInfo));
     }
     if (JoinDate != other.JoinDate)
     {
         JoinDate = other.JoinDate;
         OnPropertyChanged(nameof(JoinDate));
     }
 }
Beispiel #11
0
 public void Update(FireteamMember?other)
 {
     if (other is null)
     {
         return;
     }
     if (!DestinyUserInfo.DeepEquals(other.DestinyUserInfo))
     {
         DestinyUserInfo.Update(other.DestinyUserInfo);
         OnPropertyChanged(nameof(DestinyUserInfo));
     }
     if (!BungieNetUserInfo.DeepEquals(other.BungieNetUserInfo))
     {
         BungieNetUserInfo.Update(other.BungieNetUserInfo);
         OnPropertyChanged(nameof(BungieNetUserInfo));
     }
     if (CharacterId != other.CharacterId)
     {
         CharacterId = other.CharacterId;
         OnPropertyChanged(nameof(CharacterId));
     }
     if (DateJoined != other.DateJoined)
     {
         DateJoined = other.DateJoined;
         OnPropertyChanged(nameof(DateJoined));
     }
     if (HasMicrophone != other.HasMicrophone)
     {
         HasMicrophone = other.HasMicrophone;
         OnPropertyChanged(nameof(HasMicrophone));
     }
     if (LastPlatformInviteAttemptDate != other.LastPlatformInviteAttemptDate)
     {
         LastPlatformInviteAttemptDate = other.LastPlatformInviteAttemptDate;
         OnPropertyChanged(nameof(LastPlatformInviteAttemptDate));
     }
     if (LastPlatformInviteAttemptResult != other.LastPlatformInviteAttemptResult)
     {
         LastPlatformInviteAttemptResult = other.LastPlatformInviteAttemptResult;
         OnPropertyChanged(nameof(LastPlatformInviteAttemptResult));
     }
 }
 public void Update(DestinyPlayer?other)
 {
     if (other is null)
     {
         return;
     }
     if (!DestinyUserInfo.DeepEquals(other.DestinyUserInfo))
     {
         DestinyUserInfo.Update(other.DestinyUserInfo);
         OnPropertyChanged(nameof(DestinyUserInfo));
     }
     if (CharacterClass != other.CharacterClass)
     {
         CharacterClass = other.CharacterClass;
         OnPropertyChanged(nameof(CharacterClass));
     }
     if (ClassHash != other.ClassHash)
     {
         ClassHash = other.ClassHash;
         OnPropertyChanged(nameof(ClassHash));
     }
     if (RaceHash != other.RaceHash)
     {
         RaceHash = other.RaceHash;
         OnPropertyChanged(nameof(RaceHash));
     }
     if (GenderHash != other.GenderHash)
     {
         GenderHash = other.GenderHash;
         OnPropertyChanged(nameof(GenderHash));
     }
     if (CharacterLevel != other.CharacterLevel)
     {
         CharacterLevel = other.CharacterLevel;
         OnPropertyChanged(nameof(CharacterLevel));
     }
     if (LightLevel != other.LightLevel)
     {
         LightLevel = other.LightLevel;
         OnPropertyChanged(nameof(LightLevel));
     }
     if (!BungieNetUserInfo.DeepEquals(other.BungieNetUserInfo))
     {
         BungieNetUserInfo.Update(other.BungieNetUserInfo);
         OnPropertyChanged(nameof(BungieNetUserInfo));
     }
     if (ClanName != other.ClanName)
     {
         ClanName = other.ClanName;
         OnPropertyChanged(nameof(ClanName));
     }
     if (ClanTag != other.ClanTag)
     {
         ClanTag = other.ClanTag;
         OnPropertyChanged(nameof(ClanTag));
     }
     if (EmblemHash != other.EmblemHash)
     {
         EmblemHash = other.EmblemHash;
         OnPropertyChanged(nameof(EmblemHash));
     }
 }