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 void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { Ret = input.ReadSInt32(); break; } case 18: { if (userMonthCard_ == null) { userMonthCard_ = new global::Com.Proto.UserMonthCardPB(); } input.ReadMessage(userMonthCard_); break; } case 26: { if (userItem_ == null) { userItem_ = new global::Com.Proto.UserItemPB(); } input.ReadMessage(userItem_); break; } } } }