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

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

                        case 8:
                        {
                            result_ =
                                (
                                    global::PokemonGo.RocketAPI.GeneratedCode.Response.Types.
                                    RecycleInventoryItemResponse.Types.Result)input.ReadEnum();
                            break;
                        }

                        case 16:
                        {
                            NewCount = input.ReadInt32();
                            break;
                        }
                        }
                    }
                }
コード例 #2
0
 public RecycleInventoryItemResponse(RecycleInventoryItemResponse other) : this()
 {
     result_   = other.result_;
     newCount_ = other.newCount_;
 }