public void MergeFrom(UseVipExperienceRes other) { if (other == null) { return; } if (other.Ret != 0) { Ret = other.Ret; } if (other.userMonthCard_ != null) { if (userMonthCard_ == null) { userMonthCard_ = new global::Com.Proto.UserMonthCardPB(); } UserMonthCard.MergeFrom(other.UserMonthCard); } if (other.userItem_ != null) { if (userItem_ == null) { userItem_ = new global::Com.Proto.UserItemPB(); } UserItem.MergeFrom(other.UserItem); } }
public override int GetHashCode() { int hash = 1; if (Ret != 0) { hash ^= Ret.GetHashCode(); } if (userMonthCard_ != null) { hash ^= UserMonthCard.GetHashCode(); } if (userItem_ != null) { hash ^= UserItem.GetHashCode(); } return(hash); }