public override int GetHashCode() { int hash = 1; if (Result.Length != 0) { hash ^= Result.GetHashCode(); } if (FortId.Length != 0) { hash ^= FortId.GetHashCode(); } if (FortType != 0) { hash ^= FortType.GetHashCode(); } hash ^= pokestopRewards_.GetHashCode(); if (TotalRewards != 0) { hash ^= TotalRewards.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Result != 0) { hash ^= Result.GetHashCode(); } if (FortId.Length != 0) { hash ^= FortId.GetHashCode(); } hash ^= items_.GetHashCode(); if (Eggs != 0) { hash ^= Eggs.GetHashCode(); } hash ^= pokemonEggs_.GetHashCode(); if (FortType != 0) { hash ^= FortType.GetHashCode(); } hash ^= awardedItems_.GetHashCode(); hash ^= bonusItems_.GetHashCode(); hash ^= teamBonusItems_.GetHashCode(); return(hash); }
public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (Team != 0) { hash ^= Team.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (ImageUrl.Length != 0) { hash ^= ImageUrl.GetHashCode(); } if (Fp != 0) { hash ^= Fp.GetHashCode(); } if (Stamina != 0) { hash ^= Stamina.GetHashCode(); } if (MaxStamina != 0) { hash ^= MaxStamina.GetHashCode(); } if (FortType != 0) { hash ^= FortType.GetHashCode(); } if (Latitude != 0L) { hash ^= Latitude.GetHashCode(); } if (Longitude != 0L) { hash ^= Longitude.GetHashCode(); } if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (Modifier != 0D) { hash ^= Modifier.GetHashCode(); } return(hash); }
public FortCacheItem(FortData fort) { ActiveFortModifier = fort.ActiveFortModifier; CooldownCompleteTimestampMS = fort.CooldownCompleteTimestampMs; Enabled = fort.Enabled; GuardPokemonCp = fort.GuardPokemonCp; GymPoints = fort.GymPoints; Id = fort.Id; GuardPokemonId = fort.GuardPokemonId; IsInBattle = fort.IsInBattle; LastModifiedTimestampMs = fort.LastModifiedTimestampMs; Latitude = fort.Latitude; Longitude = fort.Longitude; LureInfo = fort.LureInfo; Type = fort.Type; Sponsor = fort.Sponsor; BaseFortData = fort; }