public void MergeFrom(RaidInfo other) { if (other == null) { return; } if (other.RaidSeed != 0L) { RaidSeed = other.RaidSeed; } if (other.RaidSpawnMs != 0L) { RaidSpawnMs = other.RaidSpawnMs; } if (other.RaidBattleMs != 0L) { RaidBattleMs = other.RaidBattleMs; } if (other.RaidEndMs != 0L) { RaidEndMs = other.RaidEndMs; } if (other.raidPokemon_ != null) { if (raidPokemon_ == null) { raidPokemon_ = new global::POGOProtos.Data.PokemonData(); } RaidPokemon.MergeFrom(other.RaidPokemon); } if (other.RaidLevel != 0) { RaidLevel = other.RaidLevel; } if (other.Complete != false) { Complete = other.Complete; } if (other.IsExclusive != false) { IsExclusive = other.IsExclusive; } if (other.IsRaidHidden != false) { IsRaidHidden = other.IsRaidHidden; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public override int GetHashCode() { int hash = 1; if (RaidSeed != 0L) { hash ^= RaidSeed.GetHashCode(); } if (RaidSpawnMs != 0L) { hash ^= RaidSpawnMs.GetHashCode(); } if (RaidBattleMs != 0L) { hash ^= RaidBattleMs.GetHashCode(); } if (RaidEndMs != 0L) { hash ^= RaidEndMs.GetHashCode(); } if (raidPokemon_ != null) { hash ^= RaidPokemon.GetHashCode(); } if (RaidLevel != 0) { hash ^= RaidLevel.GetHashCode(); } if (Complete != false) { hash ^= Complete.GetHashCode(); } if (IsExclusive != false) { hash ^= IsExclusive.GetHashCode(); } if (IsRaidHidden != false) { hash ^= IsRaidHidden.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }