コード例 #1
0
                public void MergeFrom(pb::CodedInputStream input)
                {
                    uint tag;

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

                        case 8:
                        {
                            Unknown1 = input.ReadInt32();
                            break;
                        }

                        case 18:
                        {
                            if (unknown2_ == null)
                            {
                                unknown2_ =
                                    new global::PokemonGo.RocketAPI.GeneratedCode.Response.Types.Unknown6.Types.
                                    Unknown2();
                            }
                            input.ReadMessage(unknown2_);
                            break;
                        }
                        }
                    }
                }
コード例 #2
0
 public void MergeFrom(Unknown6 other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Unknown1 != 0)
     {
         Unknown1 = other.Unknown1;
     }
     if (other.unknown2_ != null)
     {
         if (unknown2_ == null)
         {
             unknown2_ = new global::PokemonGo.RocketAPI.GeneratedCode.Response.Types.Unknown6.Types.Unknown2();
         }
         Unknown2.MergeFrom(other.Unknown2);
     }
 }