public override int GetHashCode() { int hash = 1; if (Status.Length != 0) { hash ^= Status.GetHashCode(); } if (encounterPokemonTelemetry_ != null) { hash ^= EncounterPokemonTelemetry.GetHashCode(); } if (Balltype != 0) { hash ^= Balltype.GetHashCode(); } if (HitGrade != 0) { hash ^= HitGrade.GetHashCode(); } if (CurveBall != false) { hash ^= CurveBall.GetHashCode(); } if (MissPercent != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MissPercent); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(CatchPokemonTelemetry other) { if (other == null) { return; } if (other.Status.Length != 0) { Status = other.Status; } if (other.encounterPokemonTelemetry_ != null) { if (encounterPokemonTelemetry_ == null) { encounterPokemonTelemetry_ = new global::POGOProtos.Data.Telemetry.EncounterPokemonTelemetry(); } EncounterPokemonTelemetry.MergeFrom(other.EncounterPokemonTelemetry); } if (other.Balltype != 0) { Balltype = other.Balltype; } if (other.HitGrade != 0) { HitGrade = other.HitGrade; } if (other.CurveBall != false) { CurveBall = other.CurveBall; } if (other.MissPercent != 0D) { MissPercent = other.MissPercent; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }