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 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)); } }
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)); } }