public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { ChannelType = input.ReadInt32(); break; } case 16: { UnitNo = input.ReadInt32(); break; } case 26: { if (data_ == null) { data_ = new global::Common.Protobuf.ChatData(); } input.ReadMessage(data_); break; } } } }
public void MergeFrom(SCPrivateChat other) { if (other == null) { return; } if (other.data_ != null) { if (data_ == null) { data_ = new global::Common.Protobuf.ChatData(); } Data.MergeFrom(other.Data); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(SCPublicChat other) { if (other == null) { return; } if (other.ChannelType != 0) { ChannelType = other.ChannelType; } if (other.UnitNo != 0) { UnitNo = other.UnitNo; } if (other.data_ != null) { if (data_ == null) { data_ = new global::Common.Protobuf.ChatData(); } Data.MergeFrom(other.Data); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }