public void MergeFrom(GetFlooNetworkRegionScoresResponse other) { if (other == null) { return; } if (other.SeasonId.Length != 0) { SeasonId = other.SeasonId; } if (other.RegionId.Length != 0) { RegionId = other.RegionId; } if (other.scores_ != null) { if (scores_ == null) { Scores = new global::WUProtos.Data.FlooNetworkRegionScores(); } Scores.MergeFrom(other.Scores); } if (other.RegionName.Length != 0) { RegionName = other.RegionName; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
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: { SeasonId = input.ReadString(); break; } case 18: { RegionId = input.ReadString(); break; } case 26: { if (scores_ == null) { Scores = new global::WUProtos.Data.FlooNetworkRegionScores(); } input.ReadMessage(Scores); break; } case 34: { RegionName = input.ReadString(); break; } } } }