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: { status_ = (global::POGOProtos.Networking.Responses.UseItemEncounterResponse.Types.Status)input.ReadEnum(); break; } case 18: { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } input.ReadMessage(captureProbability_); break; } case 24: { activeItem_ = (global::POGOProtos.Inventory.Item.ItemId)input.ReadEnum(); break; } } } }
public void MergeFrom(EncounterResponse other) { if (other == null) { return; } if (other.wildPokemon_ != null) { if (wildPokemon_ == null) { wildPokemon_ = new global::POGOProtos.Map.Pokemon.WildPokemon(); } WildPokemon.MergeFrom(other.WildPokemon); } if (other.Background != 0) { Background = other.Background; } if (other.Status != 0) { Status = other.Status; } if (other.captureProbability_ != null) { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } CaptureProbability.MergeFrom(other.CaptureProbability); } }
public void MergeFrom(DiskEncounterResponse other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.pokemonData_ != null) { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } PokemonData.MergeFrom(other.PokemonData); } if (other.captureProbability_ != null) { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } CaptureProbability.MergeFrom(other.CaptureProbability); } if (other.ActiveItem != 0) { ActiveItem = other.ActiveItem; } if (other.ArplusAttemptsUntilFlee != 0) { ArplusAttemptsUntilFlee = other.ArplusAttemptsUntilFlee; } }
public void MergeFrom(QuestEncounterResponse other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.pokemon_ != null) { if (pokemon_ == null) { pokemon_ = new global::POGOProtos.Map.Pokemon.WildPokemon(); } Pokemon.MergeFrom(other.Pokemon); } if (other.captureProbability_ != null) { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } CaptureProbability.MergeFrom(other.CaptureProbability); } if (other.ActiveItem != 0) { ActiveItem = other.ActiveItem; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(IncenseEncounterResponse other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.pokemonData_ != null) { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } PokemonData.MergeFrom(other.PokemonData); } if (other.captureProbability_ != null) { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } CaptureProbability.MergeFrom(other.CaptureProbability); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (pokemon_ == null) { pokemon_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(pokemon_); break; } case 16: { EncounterId = input.ReadInt64(); break; } case 26: { SpawnpointId = input.ReadString(); break; } case 34: { if (captureProbabilities_ == null) { captureProbabilities_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } input.ReadMessage(captureProbabilities_); break; } case 40: { ThrowsRemaining = input.ReadInt32(); break; } case 48: { raidLevel_ = (global::POGOProtos.Enums.RaidLevel)input.ReadEnum(); break; } case 58: { FortId = input.ReadString(); break; } } } }
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: { if (wildPokemon_ == null) { wildPokemon_ = new global::POGOProtos.Map.Pokemon.WildPokemon(); } input.ReadMessage(wildPokemon_); break; } case 16: { background_ = (global::POGOProtos.Networking.Responses.EncounterResponse.Types.Background)input.ReadEnum(); break; } case 24: { status_ = (global::POGOProtos.Networking.Responses.EncounterResponse.Types.Status)input.ReadEnum(); break; } case 34: { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } input.ReadMessage(captureProbability_); break; } case 40: { activeItem_ = (global::POGOProtos.Inventory.Item.ItemId)input.ReadEnum(); break; } case 48: { ArplusAttemptsUntilFlee = input.ReadInt32(); break; } } } }
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.IncenseEncounterResponse.Types.Result)input.ReadEnum(); break; } case 18: { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(pokemonData_); break; } case 26: { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } input.ReadMessage(captureProbability_); break; } case 32: { activeItem_ = (global::POGOProtos.Inventory.Item.ItemId)input.ReadEnum(); break; } case 40: { ArplusAttemptsUntilFlee = input.ReadInt32(); break; } } } }
public void MergeFrom(RaidEncounter other) { if (other == null) { return; } if (other.pokemon_ != null) { if (pokemon_ == null) { pokemon_ = new global::POGOProtos.Data.PokemonData(); } Pokemon.MergeFrom(other.Pokemon); } if (other.EncounterId != 0L) { EncounterId = other.EncounterId; } if (other.SpawnpointId.Length != 0) { SpawnpointId = other.SpawnpointId; } if (other.captureProbabilities_ != null) { if (captureProbabilities_ == null) { captureProbabilities_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } CaptureProbabilities.MergeFrom(other.CaptureProbabilities); } if (other.ThrowsRemaining != 0) { ThrowsRemaining = other.ThrowsRemaining; } if (other.RaidLevel != 0) { RaidLevel = other.RaidLevel; } if (other.FortId.Length != 0) { FortId = other.FortId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (wildPokemon_ == null) { wildPokemon_ = new global::POGOProtos.Map.Pokemon.WildPokemon(); } input.ReadMessage(wildPokemon_); break; } case 16: { background_ = (global::POGOProtos.Networking.Responses.EncounterResponse.Types.Background)input.ReadEnum(); break; } case 24: { status_ = (global::POGOProtos.Networking.Responses.EncounterResponse.Types.Status)input.ReadEnum(); break; } case 34: { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } input.ReadMessage(captureProbability_); break; } } } }
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.IncenseEncounterResponse.Types.Result)input.ReadEnum(); break; } case 18: { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(pokemonData_); break; } case 26: { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } input.ReadMessage(captureProbability_); break; } case 32: { activeItem_ = (global::POGOProtos.Inventory.Item.ItemId)input.ReadEnum(); break; } } } }
public void MergeFrom(EncounterResponse other) { if (other == null) { return; } if (other.wildPokemon_ != null) { if (wildPokemon_ == null) { wildPokemon_ = new global::POGOProtos.Map.Pokemon.WildPokemon(); } WildPokemon.MergeFrom(other.WildPokemon); } if (other.Background != 0) { Background = other.Background; } if (other.Status != 0) { Status = other.Status; } if (other.captureProbability_ != null) { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } CaptureProbability.MergeFrom(other.CaptureProbability); } if (other.ActiveItem != 0) { ActiveItem = other.ActiveItem; } if (other.ArplusAttemptsUntilFlee != 0) { ArplusAttemptsUntilFlee = other.ArplusAttemptsUntilFlee; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(UseItemEncounterResponse other) { if (other == null) { return; } if (other.Status != 0) { Status = other.Status; } if (other.captureProbability_ != null) { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } CaptureProbability.MergeFrom(other.CaptureProbability); } if (other.ActiveItem != 0) { ActiveItem = other.ActiveItem; } }