public override int GetHashCode() { int hash = 1; if (Result != 0) { hash ^= Result.GetHashCode(); } if (pokemonData_ != null) { hash ^= PokemonData.GetHashCode(); } if (captureProbability_ != null) { hash ^= CaptureProbability.GetHashCode(); } if (ActiveItem != 0) { hash ^= ActiveItem.GetHashCode(); } if (ArplusAttemptsUntilFlee != 0) { hash ^= ArplusAttemptsUntilFlee.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (wildPokemon_ != null) { hash ^= WildPokemon.GetHashCode(); } if (Background != 0) { hash ^= Background.GetHashCode(); } if (Status != 0) { hash ^= Status.GetHashCode(); } if (captureProbability_ != null) { hash ^= CaptureProbability.GetHashCode(); } if (ActiveItem != 0) { hash ^= ActiveItem.GetHashCode(); } if (ArplusAttemptsUntilFlee != 0) { hash ^= ArplusAttemptsUntilFlee.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
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; } }
public override int GetHashCode() { int hash = 1; if (wildPokemon_ != null) { hash ^= WildPokemon.GetHashCode(); } if (Background != 0) { hash ^= Background.GetHashCode(); } if (Status != 0) { hash ^= Status.GetHashCode(); } if (captureProbability_ != null) { hash ^= CaptureProbability.GetHashCode(); } if (ActiveItem != 0) { hash ^= ActiveItem.GetHashCode(); } return(hash); }
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 override int GetHashCode() { int hash = 1; if (Status != 0) { hash ^= Status.GetHashCode(); } if (captureProbability_ != null) { hash ^= CaptureProbability.GetHashCode(); } if (ActiveItem != 0) { hash ^= ActiveItem.GetHashCode(); } return(hash); }
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 override int GetHashCode() { int hash = 1; if (Result != 0) { hash ^= Result.GetHashCode(); } if (pokemonData_ != null) { hash ^= PokemonData.GetHashCode(); } if (captureProbability_ != null) { hash ^= CaptureProbability.GetHashCode(); } if (ActiveItem != 0) { hash ^= ActiveItem.GetHashCode(); } return(hash); }
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; } }