Exemple #1
0
        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: {
                    if (scores_ == null)
                    {
                        Scores = new global::WUProtos.Data.FlooNetworkSeasonScores();
                    }
                    input.ReadMessage(Scores);
                    break;
                }
                }
            }
        }
Exemple #2
0
 public void MergeFrom(GetFlooNetworkSeasonScoresResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.SeasonId.Length != 0)
     {
         SeasonId = other.SeasonId;
     }
     if (other.scores_ != null)
     {
         if (scores_ == null)
         {
             Scores = new global::WUProtos.Data.FlooNetworkSeasonScores();
         }
         Scores.MergeFrom(other.Scores);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }