예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (RaidSeed != 0L)
            {
                hash ^= RaidSeed.GetHashCode();
            }
            if (StartedMs != 0L)
            {
                hash ^= StartedMs.GetHashCode();
            }
            if (CompletedMs != 0L)
            {
                hash ^= CompletedMs.GetHashCode();
            }
            if (EncounterPokemonId != 0)
            {
                hash ^= EncounterPokemonId.GetHashCode();
            }
            if (CompletedBattle != false)
            {
                hash ^= CompletedBattle.GetHashCode();
            }
            if (ReceivedRewards != false)
            {
                hash ^= ReceivedRewards.GetHashCode();
            }
            if (FinishedEncounter != false)
            {
                hash ^= FinishedEncounter.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (RaidSeed != 0L)
            {
                hash ^= RaidSeed.GetHashCode();
            }
            if (StartedMs != 0L)
            {
                hash ^= StartedMs.GetHashCode();
            }
            if (CompletedMs != 0L)
            {
                hash ^= CompletedMs.GetHashCode();
            }
            if (EncounterPokemonId != 0)
            {
                hash ^= EncounterPokemonId.GetHashCode();
            }
            if (CompletedBattle != false)
            {
                hash ^= CompletedBattle.GetHashCode();
            }
            if (ReceivedRewards != false)
            {
                hash ^= ReceivedRewards.GetHashCode();
            }
            if (FinishedEncounter != false)
            {
                hash ^= FinishedEncounter.GetHashCode();
            }
            if (ReceivedDefaultRewards != false)
            {
                hash ^= ReceivedDefaultRewards.GetHashCode();
            }
            if (IncrementedRaidFriends != false)
            {
                hash ^= IncrementedRaidFriends.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }