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 18: { if (gsInfo_ == null) { gsInfo_ = new global::Protos.GSInfo(); } input.ReadMessage(gsInfo_); break; } } } }
public void MergeFrom(GS2CS_ReportState other) { if (other == null) { return; } if (other.opts_ != null) { if (opts_ == null) { opts_ = new global::Protos.MsgOpts(); } Opts.MergeFrom(other.Opts); } if (other.gsInfo_ != null) { if (gsInfo_ == null) { gsInfo_ = new global::Protos.GSInfo(); } GsInfo.MergeFrom(other.GsInfo); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }