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); }
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); }
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); }
public void Update(GroupMemberApplication?other) { if (other is null) { return; } if (GroupId != other.GroupId) { GroupId = other.GroupId; OnPropertyChanged(nameof(GroupId)); } if (CreationDate != other.CreationDate) { CreationDate = other.CreationDate; OnPropertyChanged(nameof(CreationDate)); } if (ResolveState != other.ResolveState) { ResolveState = other.ResolveState; OnPropertyChanged(nameof(ResolveState)); } if (ResolveDate != other.ResolveDate) { ResolveDate = other.ResolveDate; OnPropertyChanged(nameof(ResolveDate)); } if (ResolvedByMembershipId != other.ResolvedByMembershipId) { ResolvedByMembershipId = other.ResolvedByMembershipId; OnPropertyChanged(nameof(ResolvedByMembershipId)); } if (RequestMessage != other.RequestMessage) { RequestMessage = other.RequestMessage; OnPropertyChanged(nameof(RequestMessage)); } if (ResolveMessage != other.ResolveMessage) { ResolveMessage = other.ResolveMessage; OnPropertyChanged(nameof(ResolveMessage)); } if (!DestinyUserInfo.DeepEquals(other.DestinyUserInfo)) { DestinyUserInfo.Update(other.DestinyUserInfo); OnPropertyChanged(nameof(DestinyUserInfo)); } if (!BungieNetUserInfo.DeepEquals(other.BungieNetUserInfo)) { BungieNetUserInfo.Update(other.BungieNetUserInfo); OnPropertyChanged(nameof(BungieNetUserInfo)); } }
public bool DeepEquals(GroupMemberApplication?other) { return(other is not null && GroupId == other.GroupId && CreationDate == other.CreationDate && ResolveState == other.ResolveState && ResolveDate == other.ResolveDate && ResolvedByMembershipId == other.ResolvedByMembershipId && RequestMessage == other.RequestMessage && ResolveMessage == other.ResolveMessage && (DestinyUserInfo is not null ? DestinyUserInfo.DeepEquals(other.DestinyUserInfo) : other.DestinyUserInfo is null) && (BungieNetUserInfo is not null ? BungieNetUserInfo.DeepEquals(other.BungieNetUserInfo) : other.BungieNetUserInfo 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); }
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)); } }
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)); } }