Esempio n. 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);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (lobby_ != null)
            {
                hash ^= Lobby.GetHashCode();
            }
            if (raidBattle_ != null)
            {
                hash ^= RaidBattle.GetHashCode();
            }
            if (PlayerCanJoinLobby != false)
            {
                hash ^= PlayerCanJoinLobby.GetHashCode();
            }
            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (raidInfo_ != null)
            {
                hash ^= RaidInfo.GetHashCode();
            }
            if (TicketUsed != false)
            {
                hash ^= TicketUsed.GetHashCode();
            }
            if (FreeTicketAvailable != false)
            {
                hash ^= FreeTicketAvailable.GetHashCode();
            }
            if (ThrowsRemaining != 0)
            {
                hash ^= ThrowsRemaining.GetHashCode();
            }
            if (ReceivedRewards != false)
            {
                hash ^= ReceivedRewards.GetHashCode();
            }
            if (NumPlayersInLobby != 0)
            {
                hash ^= NumPlayersInLobby.GetHashCode();
            }
            if (ServerMs != 0L)
            {
                hash ^= ServerMs.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        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);
        }
Esempio n. 4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (receivedRewards_ != null)
            {
                hash ^= ReceivedRewards.GetHashCode();
            }
            if (remainingRewards_ != null)
            {
                hash ^= RemainingRewards.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }