public void MergeFrom(DL_UserCheck other) { if (other == null) { return; } if (other.Ret != 0) { Ret = other.Ret; } if (other.ConId != 0L) { ConId = other.ConId; } if (other.loginMsg_ != null) { if (loginMsg_ == null) { loginMsg_ = new global::PLoginClient.CL_Login(); } LoginMsg.MergeFrom(other.LoginMsg); } if (other.dBAccount_ != null) { if (dBAccount_ == null) { dBAccount_ = new global::PDBBase.DBAccount(); } DBAccount.MergeFrom(other.DBAccount); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { Ret = input.ReadInt32(); break; } case 16: { ConId = input.ReadInt64(); break; } case 26: { if (loginMsg_ == null) { loginMsg_ = new global::PLoginClient.CL_Login(); } input.ReadMessage(loginMsg_); break; } case 34: { if (dBAccount_ == null) { dBAccount_ = new global::PDBBase.DBAccount(); } input.ReadMessage(dBAccount_); break; } } } }