public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (opts_ == null) { opts_ = new global::Protos.MsgOpts(); } input.ReadMessage(opts_); break; } case 16: { result_ = (global::Protos.LS2GC_AskRegRet.Types.EResult)input.ReadEnum(); break; } } } }
public void MergeFrom(LS2GC_AskRegRet other) { if (other == null) { return; } if (other.opts_ != null) { if (opts_ == null) { opts_ = new global::Protos.MsgOpts(); } Opts.MergeFrom(other.Opts); } if (other.Result != 0) { Result = other.Result; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }