Ejemplo n.º 1
0
 public bool Equals(UserPB other)
 {
     if (ReferenceEquals(other, null))
     {
         return(false);
     }
     if (ReferenceEquals(other, this))
     {
         return(true);
     }
     if (UserId != other.UserId)
     {
         return(false);
     }
     if (AccountId != other.AccountId)
     {
         return(false);
     }
     if (ChannelAccountId != other.ChannelAccountId)
     {
         return(false);
     }
     if (UserName != other.UserName)
     {
         return(false);
     }
     if (Logo != other.Logo)
     {
         return(false);
     }
     if (Index != other.Index)
     {
         return(false);
     }
     if (CardGatherNum != other.CardGatherNum)
     {
         return(false);
     }
     if (!Apparel.Equals(other.Apparel))
     {
         return(false);
     }
     if (CreateTime != other.CreateTime)
     {
         return(false);
     }
     if (!Birthday.Equals(other.Birthday))
     {
         return(false);
     }
     if (!object.Equals(UserOther, other.UserOther))
     {
         return(false);
     }
     return(true);
 }
Ejemplo n.º 2
0
 public bool Equals(UserFavorabilityPB other)
 {
     if (ReferenceEquals(other, null))
     {
         return(false);
     }
     if (ReferenceEquals(other, this))
     {
         return(true);
     }
     if (UserId != other.UserId)
     {
         return(false);
     }
     if (Player != other.Player)
     {
         return(false);
     }
     if (Level != other.Level)
     {
         return(false);
     }
     if (Exp != other.Exp)
     {
         return(false);
     }
     if (!Apparel.Equals(other.Apparel))
     {
         return(false);
     }
     if (!voiceKeep_.Equals(other.voiceKeep_))
     {
         return(false);
     }
     return(true);
 }