Example #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::POGOProtos.Networking.Responses.AddFortModifierResponse.Types.Result)input.ReadEnum();
                    break;
                }

                case 18:
                {
                    if (fortDetails_ == null)
                    {
                        fortDetails_ = new global::POGOProtos.Networking.Responses.FortDetailsResponse();
                    }
                    input.ReadMessage(fortDetails_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(FortDeployPokemonResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.fortDetails_ != null)
     {
         if (fortDetails_ == null)
         {
             fortDetails_ = new global::POGOProtos.Networking.Responses.FortDetailsResponse();
         }
         FortDetails.MergeFrom(other.FortDetails);
     }
     if (other.pokemonData_ != null)
     {
         if (pokemonData_ == null)
         {
             pokemonData_ = new global::POGOProtos.Data.PokemonData();
         }
         PokemonData.MergeFrom(other.PokemonData);
     }
     if (other.gymState_ != null)
     {
         if (gymState_ == null)
         {
             gymState_ = new global::POGOProtos.Data.Gym.GymState();
         }
         GymState.MergeFrom(other.GymState);
     }
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    result_ = (global::POGOProtos.Networking.Responses.FortRecallPokemonResponse.Types.Result)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (fortDetails_ == null)
                    {
                        fortDetails_ = new global::POGOProtos.Networking.Responses.FortDetailsResponse();
                    }
                    input.ReadMessage(fortDetails_);
                    break;
                }
                }
            }
        }
Example #4
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 8:
                {
                    result_ = (global::POGOProtos.Networking.Responses.FortDeployPokemonResponse.Types.Result)input.ReadEnum();
                    break;
                }

                case 18:
                {
                    if (fortDetails_ == null)
                    {
                        fortDetails_ = new global::POGOProtos.Networking.Responses.FortDetailsResponse();
                    }
                    input.ReadMessage(fortDetails_);
                    break;
                }

                case 26:
                {
                    if (pokemonData_ == null)
                    {
                        pokemonData_ = new global::POGOProtos.Data.PokemonData();
                    }
                    input.ReadMessage(pokemonData_);
                    break;
                }

                case 34:
                {
                    if (gymState_ == null)
                    {
                        gymState_ = new global::POGOProtos.Data.Gym.GymState();
                    }
                    input.ReadMessage(gymState_);
                    break;
                }
                }
            }
        }
Example #5
0
 public void MergeFrom(AddFortModifierResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Result != global::POGOProtos.Networking.Responses.AddFortModifierResponse.Types.Result.NO_RESULT_SET)
     {
         Result = other.Result;
     }
     if (other.fortDetails_ != null)
     {
         if (fortDetails_ == null)
         {
             fortDetails_ = new global::POGOProtos.Networking.Responses.FortDetailsResponse();
         }
         FortDetails.MergeFrom(other.FortDetails);
     }
 }
 public void MergeFrom(FortRecallPokemonResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.fortDetails_ != null)
     {
         if (fortDetails_ == null)
         {
             fortDetails_ = new global::POGOProtos.Networking.Responses.FortDetailsResponse();
         }
         FortDetails.MergeFrom(other.FortDetails);
     }
 }
Example #7
0
 public void MergeFrom(AddFortModifierResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.fortDetails_ != null)
     {
         if (fortDetails_ == null)
         {
             fortDetails_ = new global::POGOProtos.Networking.Responses.FortDetailsResponse();
         }
         FortDetails.MergeFrom(other.FortDetails);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }