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)) )); }
public bool Equals(DestinyCharacterComponent input) { if (input == null) { return(false); } return (( MembershipId == input.MembershipId || (MembershipId.Equals(input.MembershipId)) ) && ( MembershipType == input.MembershipType || (MembershipType != null && MembershipType.Equals(input.MembershipType)) ) && ( CharacterId == input.CharacterId || (CharacterId.Equals(input.CharacterId)) ) && ( DateLastPlayed == input.DateLastPlayed || (DateLastPlayed != null && DateLastPlayed.Equals(input.DateLastPlayed)) ) && ( MinutesPlayedThisSession == input.MinutesPlayedThisSession || (MinutesPlayedThisSession.Equals(input.MinutesPlayedThisSession)) ) && ( MinutesPlayedTotal == input.MinutesPlayedTotal || (MinutesPlayedTotal.Equals(input.MinutesPlayedTotal)) ) && ( Light == input.Light || (Light.Equals(input.Light)) ) && ( Stats == input.Stats || (Stats != null && Stats.SequenceEqual(input.Stats)) ) && ( RaceHash == input.RaceHash || (RaceHash.Equals(input.RaceHash)) ) && ( GenderHash == input.GenderHash || (GenderHash.Equals(input.GenderHash)) ) && ( ClassHash == input.ClassHash || (ClassHash.Equals(input.ClassHash)) ) && ( RaceType == input.RaceType || (RaceType != null && RaceType.Equals(input.RaceType)) ) && ( ClassType == input.ClassType || (ClassType != null && ClassType.Equals(input.ClassType)) ) && ( GenderType == input.GenderType || (GenderType != null && GenderType.Equals(input.GenderType)) ) && ( EmblemPath == input.EmblemPath || (EmblemPath != null && EmblemPath.Equals(input.EmblemPath)) ) && ( EmblemBackgroundPath == input.EmblemBackgroundPath || (EmblemBackgroundPath != null && EmblemBackgroundPath.Equals(input.EmblemBackgroundPath)) ) && ( EmblemHash == input.EmblemHash || (EmblemHash.Equals(input.EmblemHash)) ) && ( EmblemColor == input.EmblemColor || (EmblemColor != null && EmblemColor.Equals(input.EmblemColor)) ) && ( LevelProgression == input.LevelProgression || (LevelProgression != null && LevelProgression.Equals(input.LevelProgression)) ) && ( BaseCharacterLevel == input.BaseCharacterLevel || (BaseCharacterLevel.Equals(input.BaseCharacterLevel)) ) && ( PercentToNextLevel == input.PercentToNextLevel || (PercentToNextLevel.Equals(input.PercentToNextLevel)) ) && ( TitleRecordHash == input.TitleRecordHash || (TitleRecordHash.Equals(input.TitleRecordHash)) )); }