Beispiel #1
0
 public void MergeFrom(GetMapObjectsResponse other)
 {
     if (other == null)
     {
         return;
     }
     mapCells_.Add(other.mapCells_);
     if (other.Status != 0)
     {
         Status = other.Status;
     }
 }
Beispiel #2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    mapCells_.AddEntriesFrom(input, _repeated_mapCells_codec);
                    break;
                }

                case 16: {
                    status_ = (global::PokemonGoDesktop.API.Proto.MapObjectsStatus)input.ReadEnum();
                    break;
                }
                }
            }
        }