public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { Result = input.ReadInt32(); break; } case 18: { if (layerData_ == null) { layerData_ = new global::BigHead.protocol.PBMapLayerData(); } input.ReadMessage(layerData_); break; } } } }
public void MergeFrom(GCGetMapLayerData other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.layerData_ != null) { if (layerData_ == null) { layerData_ = new global::BigHead.protocol.PBMapLayerData(); } LayerData.MergeFrom(other.LayerData); } }